{ "type": "File", "start": 0, "end": 20576, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 784, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 20576, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 784, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 36, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 36 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } }, "imported": { "type": "Identifier", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 }, "identifierName": "T" }, "name": "T" } } ], "source": { "type": "StringLiteral", "start": 18, "end": 35, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 35 } }, "extra": { "rawValue": "../translations", "raw": "\"../translations\"" }, "value": "../translations" } }, { "type": "VariableDeclaration", "start": 40, "end": 130, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 46, "end": 129, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 89 } }, "id": { "type": "Identifier", "start": 46, "end": 76, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 36 }, "identifierName": "bigNumberSuffixTranslationKeys" }, "name": "bigNumberSuffixTranslationKeys" }, "init": { "type": "ArrayExpression", "start": 79, "end": 129, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "column": 89 } }, "elements": [ { "type": "StringLiteral", "start": 80, "end": 91, "loc": { "start": { "line": 3, "column": 40 }, "end": { "line": 3, "column": 51 } }, "extra": { "rawValue": "thousands", "raw": "\"thousands\"" }, "value": "thousands" }, { "type": "StringLiteral", "start": 93, "end": 103, "loc": { "start": { "line": 3, "column": 53 }, "end": { "line": 3, "column": 63 } }, "extra": { "rawValue": "millions", "raw": "\"millions\"" }, "value": "millions" }, { "type": "StringLiteral", "start": 105, "end": 115, "loc": { "start": { "line": 3, "column": 65 }, "end": { "line": 3, "column": 75 } }, "extra": { "rawValue": "billions", "raw": "\"billions\"" }, "value": "billions" }, { "type": "StringLiteral", "start": 117, "end": 128, "loc": { "start": { "line": 3, "column": 77 }, "end": { "line": 3, "column": 88 } }, "extra": { "rawValue": "trillions", "raw": "\"trillions\"" }, "value": "trillions" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is android\r\n * @returns {boolean}\r\n ", "start": 134, "end": 205, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 8, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 207, "end": 412, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 15, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 214, "end": 412, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 15, "column": 1 } }, "id": { "type": "Identifier", "start": 223, "end": 232, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 25 }, "identifierName": "isAndroid" }, "name": "isAndroid", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 235, "end": 412, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 15, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 242, "end": 295, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 12, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 246, "end": 262, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 247, "end": 262, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 264, "end": 295, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 12, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 275, "end": 288, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 282, "end": 287, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 301, "end": 341, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 307, "end": 340, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 43 } }, "id": { "type": "Identifier", "start": 307, "end": 315, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 18 }, "identifierName": "platform" }, "name": "platform" }, "init": { "type": "MemberExpression", "start": 318, "end": 340, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 43 } }, "object": { "type": "MemberExpression", "start": 318, "end": 331, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 34 } }, "object": { "type": "Identifier", "start": 318, "end": 324, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 27 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 325, "end": 331, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 34 }, "identifierName": "device" }, "name": "device" }, "computed": false }, "property": { "type": "Identifier", "start": 332, "end": 340, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 13, "column": 43 }, "identifierName": "platform" }, "name": "platform" }, "computed": false } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 347, "end": 409, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 66 } }, "argument": { "type": "LogicalExpression", "start": 354, "end": 408, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 354, "end": 376, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 33 } }, "left": { "type": "Identifier", "start": 354, "end": 362, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 19 }, "identifierName": "platform" }, "name": "platform" }, "operator": "===", "right": { "type": "StringLiteral", "start": 367, "end": 376, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 14, "column": 33 } }, "extra": { "rawValue": "Android", "raw": "\"Android\"" }, "value": "Android" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 380, "end": 408, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 65 } }, "left": { "type": "Identifier", "start": 380, "end": 388, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 45 }, "identifierName": "platform" }, "name": "platform" }, "operator": "===", "right": { "type": "StringLiteral", "start": 393, "end": 408, "loc": { "start": { "line": 14, "column": 50 }, "end": { "line": 14, "column": 65 } }, "extra": { "rawValue": "amazon-fireos", "raw": "\"amazon-fireos\"" }, "value": "amazon-fireos" } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is android\r\n * @returns {boolean}\r\n ", "start": 134, "end": 205, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 8, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is android\r\n * @returns {boolean}\r\n ", "start": 134, "end": 205, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 8, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 485, "end": 618, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 26, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 492, "end": 618, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 26, "column": 1 } }, "id": { "type": "Identifier", "start": 501, "end": 506, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 21 }, "identifierName": "isIos" }, "name": "isIos", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 509, "end": 618, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 26, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 516, "end": 569, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 24, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 520, "end": 536, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 521, "end": 536, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 24 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 538, "end": 569, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 24, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 549, "end": 562, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 556, "end": 561, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 575, "end": 615, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 44 } }, "argument": { "type": "BinaryExpression", "start": 582, "end": 614, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 43 } }, "left": { "type": "MemberExpression", "start": 582, "end": 604, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 33 } }, "object": { "type": "MemberExpression", "start": 582, "end": 595, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 24 } }, "object": { "type": "Identifier", "start": 582, "end": 588, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 17 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 589, "end": 595, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 24 }, "identifierName": "device" }, "name": "device" }, "computed": false }, "property": { "type": "Identifier", "start": 596, "end": 604, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 33 }, "identifierName": "platform" }, "name": "platform" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 609, "end": 614, "loc": { "start": { "line": 25, "column": 38 }, "end": { "line": 25, "column": 43 } }, "extra": { "rawValue": "iOS", "raw": "\"iOS\"" }, "value": "iOS" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 732, "end": 1063, "loc": { "start": { "line": 32, "column": 0 }, "end": { "line": 43, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 739, "end": 1063, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 43, "column": 1 } }, "id": { "type": "Identifier", "start": 748, "end": 763, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 31 }, "identifierName": "getPlatformName" }, "name": "getPlatformName", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 766, "end": 1063, "loc": { "start": { "line": 32, "column": 34 }, "end": { "line": 43, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 773, "end": 1037, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 41, "column": 5 } }, "test": { "type": "Identifier", "start": 777, "end": 792, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 23 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "consequent": { "type": "BlockStatement", "start": 794, "end": 832, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 35, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 805, "end": 825, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 28 } }, "argument": { "type": "StringLiteral", "start": 812, "end": 824, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 27 } }, "extra": { "rawValue": "standalone", "raw": "\"standalone\"" }, "value": "standalone" } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 838, "end": 1037, "loc": { "start": { "line": 35, "column": 11 }, "end": { "line": 41, "column": 5 } }, "test": { "type": "Identifier", "start": 842, "end": 854, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 27 }, "identifierName": "G_IS_BROWSER" }, "name": "G_IS_BROWSER" }, "consequent": { "type": "BlockStatement", "start": 856, "end": 891, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 37, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 867, "end": 884, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 25 } }, "argument": { "type": "StringLiteral", "start": 874, "end": 883, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 24 } }, "extra": { "rawValue": "browser", "raw": "\"browser\"" }, "value": "browser" } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 897, "end": 1037, "loc": { "start": { "line": 37, "column": 11 }, "end": { "line": 41, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 901, "end": 931, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 45 } }, "left": { "type": "Identifier", "start": 901, "end": 916, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 30 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP" }, "operator": "&&", "right": { "type": "CallExpression", "start": 920, "end": 931, "loc": { "start": { "line": 37, "column": 34 }, "end": { "line": 37, "column": 45 } }, "callee": { "type": "Identifier", "start": 920, "end": 929, "loc": { "start": { "line": 37, "column": 34 }, "end": { "line": 37, "column": 43 }, "identifierName": "isAndroid" }, "name": "isAndroid" }, "arguments": [] } }, "consequent": { "type": "BlockStatement", "start": 933, "end": 968, "loc": { "start": { "line": 37, "column": 47 }, "end": { "line": 39, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 944, "end": 961, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 25 } }, "argument": { "type": "StringLiteral", "start": 951, "end": 960, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 38, "column": 24 } }, "extra": { "rawValue": "android", "raw": "\"android\"" }, "value": "android" } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 974, "end": 1037, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 41, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 978, "end": 1004, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 41 } }, "left": { "type": "Identifier", "start": 978, "end": 993, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 30 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP" }, "operator": "&&", "right": { "type": "CallExpression", "start": 997, "end": 1004, "loc": { "start": { "line": 39, "column": 34 }, "end": { "line": 39, "column": 41 } }, "callee": { "type": "Identifier", "start": 997, "end": 1002, "loc": { "start": { "line": 39, "column": 34 }, "end": { "line": 39, "column": 39 }, "identifierName": "isIos" }, "name": "isIos" }, "arguments": [] } }, "consequent": { "type": "BlockStatement", "start": 1006, "end": 1037, "loc": { "start": { "line": 39, "column": 43 }, "end": { "line": 41, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1017, "end": 1030, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 21 } }, "argument": { "type": "StringLiteral", "start": 1024, "end": 1029, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 20 } }, "extra": { "rawValue": "ios", "raw": "\"ios\"" }, "value": "ios" } } ], "directives": [] }, "alternate": null } } } }, { "type": "ReturnStatement", "start": 1043, "end": 1060, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 21 } }, "argument": { "type": "StringLiteral", "start": 1050, "end": 1059, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 20 } }, "extra": { "rawValue": "unknown", "raw": "\"unknown\"" }, "value": "unknown" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the IPC renderer, or null if not within the standalone\r\n * @returns {object|null}\r\n ", "start": 1067, "end": 1169, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 48, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the IPC renderer, or null if not within the standalone\r\n * @returns {object|null}\r\n ", "start": 1067, "end": 1169, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 48, "column": 3 } } } ] }, { "type": "VariableDeclaration", "start": 1171, "end": 1194, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1175, "end": 1193, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 22 } }, "id": { "type": "Identifier", "start": 1175, "end": 1186, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 15 }, "identifierName": "ipcRenderer" }, "name": "ipcRenderer", "leadingComments": null }, "init": { "type": "NullLiteral", "start": 1189, "end": 1193, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 22 } } }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the IPC renderer, or null if not within the standalone\r\n * @returns {object|null}\r\n ", "start": 1067, "end": 1169, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 48, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1196, "end": 1412, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 58, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1203, "end": 1412, "loc": { "start": { "line": 50, "column": 7 }, "end": { "line": 58, "column": 1 } }, "id": { "type": "Identifier", "start": 1212, "end": 1226, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 30 }, "identifierName": "getIPCRenderer" }, "name": "getIPCRenderer" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1229, "end": 1412, "loc": { "start": { "line": 50, "column": 33 }, "end": { "line": 58, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1236, "end": 1288, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 53, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 1240, "end": 1256, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 1241, "end": 1256, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 24 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1258, "end": 1288, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 53, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1269, "end": 1281, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 20 } }, "argument": { "type": "NullLiteral", "start": 1276, "end": 1280, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 19 } } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1294, "end": 1384, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 56, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 1298, "end": 1310, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 20 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 1299, "end": 1310, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 20 }, "identifierName": "ipcRenderer" }, "name": "ipcRenderer" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 1312, "end": 1384, "loc": { "start": { "line": 54, "column": 22 }, "end": { "line": 56, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1323, "end": 1377, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 1323, "end": 1376, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", "start": 1323, "end": 1334, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 19 }, "identifierName": "ipcRenderer" }, "name": "ipcRenderer" }, "right": { "type": "MemberExpression", "start": 1337, "end": 1376, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 61 } }, "object": { "type": "CallExpression", "start": 1337, "end": 1364, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 49 } }, "callee": { "type": "CallExpression", "start": 1337, "end": 1352, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 37 } }, "callee": { "type": "Identifier", "start": 1337, "end": 1341, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 26 }, "identifierName": "eval" }, "name": "eval" }, "arguments": [ { "type": "StringLiteral", "start": 1342, "end": 1351, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 36 } }, "extra": { "rawValue": "require", "raw": "\"require\"" }, "value": "require" } ] }, "arguments": [ { "type": "StringLiteral", "start": 1353, "end": 1363, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 48 } }, "extra": { "rawValue": "electron", "raw": "\"electron\"" }, "value": "electron" } ] }, "property": { "type": "Identifier", "start": 1365, "end": 1376, "loc": { "start": { "line": 55, "column": 50 }, "end": { "line": 55, "column": 61 }, "identifierName": "ipcRenderer" }, "name": "ipcRenderer" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 1390, "end": 1409, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 23 } }, "argument": { "type": "Identifier", "start": 1397, "end": 1408, "loc": { "start": { "line": 57, "column": 11 }, "end": { "line": 57, "column": 22 }, "identifierName": "ipcRenderer" }, "name": "ipcRenderer" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } } ], "leadingComments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1552, "end": 1730, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 72, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1559, "end": 1730, "loc": { "start": { "line": 66, "column": 7 }, "end": { "line": 72, "column": 1 } }, "id": { "type": "Identifier", "start": 1568, "end": 1588, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 36 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1589, "end": 1590, "loc": { "start": { "line": 66, "column": 37 }, "end": { "line": 66, "column": 38 }, "identifierName": "w" }, "name": "w" }, { "type": "Identifier", "start": 1592, "end": 1593, "loc": { "start": { "line": 66, "column": 40 }, "end": { "line": 66, "column": 41 }, "identifierName": "h" }, "name": "h" } ], "body": { "type": "BlockStatement", "start": 1595, "end": 1730, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 72, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 1602, "end": 1630, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1608, "end": 1629, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 31 } }, "id": { "type": "Identifier", "start": 1608, "end": 1614, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 16 }, "identifierName": "result" }, "name": "result" }, "init": { "type": "NewExpression", "start": 1617, "end": 1629, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 31 } }, "callee": { "type": "Identifier", "start": 1621, "end": 1626, "loc": { "start": { "line": 67, "column": 23 }, "end": { "line": 67, "column": 28 }, "identifierName": "Array" }, "name": "Array" }, "arguments": [ { "type": "Identifier", "start": 1627, "end": 1628, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 30 }, "identifierName": "w" }, "name": "w" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 1636, "end": 1707, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 5 } }, "init": { "type": "VariableDeclaration", "start": 1641, "end": 1650, "loc": { "start": { "line": 68, "column": 9 }, "end": { "line": 68, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1645, "end": 1650, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 18 } }, "id": { "type": "Identifier", "start": 1645, "end": 1646, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 14 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "NumericLiteral", "start": 1649, "end": 1650, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1652, "end": 1657, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 25 } }, "left": { "type": "Identifier", "start": 1652, "end": 1653, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 21 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "Identifier", "start": 1656, "end": 1657, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 }, "identifierName": "w" }, "name": "w" } }, "update": { "type": "UpdateExpression", "start": 1659, "end": 1662, "loc": { "start": { "line": 68, "column": 27 }, "end": { "line": 68, "column": 30 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1661, "end": 1662, "loc": { "start": { "line": 68, "column": 29 }, "end": { "line": 68, "column": 30 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1664, "end": 1707, "loc": { "start": { "line": 68, "column": 32 }, "end": { "line": 70, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1675, "end": 1700, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1675, "end": 1699, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1675, "end": 1684, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 17 } }, "object": { "type": "Identifier", "start": 1675, "end": 1681, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 14 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 1682, "end": 1683, "loc": { "start": { "line": 69, "column": 15 }, "end": { "line": 69, "column": 16 }, "identifierName": "x" }, "name": "x" }, "computed": true }, "right": { "type": "NewExpression", "start": 1687, "end": 1699, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 32 } }, "callee": { "type": "Identifier", "start": 1691, "end": 1696, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 29 }, "identifierName": "Array" }, "name": "Array" }, "arguments": [ { "type": "Identifier", "start": 1697, "end": 1698, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 31 }, "identifierName": "h" }, "name": "h" } ] } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 1713, "end": 1727, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 18 } }, "argument": { "type": "Identifier", "start": 1720, "end": 1726, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 17 }, "identifierName": "result" }, "name": "result" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1802, "end": 1869, "loc": { "start": { "line": 77, "column": 0 }, "end": { "line": 79, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1809, "end": 1869, "loc": { "start": { "line": 77, "column": 7 }, "end": { "line": 79, "column": 1 } }, "id": { "type": "Identifier", "start": 1818, "end": 1829, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 27 }, "identifierName": "newEmptyMap" }, "name": "newEmptyMap", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1832, "end": 1869, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 79, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 1839, "end": 1866, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 31 } }, "argument": { "type": "CallExpression", "start": 1846, "end": 1865, "loc": { "start": { "line": 78, "column": 11 }, "end": { "line": 78, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 1846, "end": 1859, "loc": { "start": { "line": 78, "column": 11 }, "end": { "line": 78, "column": 24 } }, "object": { "type": "Identifier", "start": 1846, "end": 1852, "loc": { "start": { "line": 78, "column": 11 }, "end": { "line": 78, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 1853, "end": 1859, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 24 }, "identifierName": "create" }, "name": "create" }, "computed": false }, "arguments": [ { "type": "NullLiteral", "start": 1860, "end": 1864, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 29 } } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1987, "end": 2092, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 88, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1994, "end": 2092, "loc": { "start": { "line": 86, "column": 7 }, "end": { "line": 88, "column": 1 } }, "id": { "type": "Identifier", "start": 2003, "end": 2012, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 25 }, "identifierName": "randomInt" }, "name": "randomInt", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2013, "end": 2018, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 31 }, "identifierName": "start" }, "name": "start" }, { "type": "Identifier", "start": 2020, "end": 2023, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 36 }, "identifierName": "end" }, "name": "end" } ], "body": { "type": "BlockStatement", "start": 2025, "end": 2092, "loc": { "start": { "line": 86, "column": 38 }, "end": { "line": 88, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 2032, "end": 2089, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 61 } }, "argument": { "type": "BinaryExpression", "start": 2039, "end": 2088, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 60 } }, "left": { "type": "Identifier", "start": 2039, "end": 2044, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 16 }, "identifierName": "start" }, "name": "start" }, "operator": "+", "right": { "type": "CallExpression", "start": 2047, "end": 2088, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 2047, "end": 2057, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 29 } }, "object": { "type": "Identifier", "start": 2047, "end": 2051, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 23 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2052, "end": 2057, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 29 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 2058, "end": 2087, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 59 } }, "left": { "type": "CallExpression", "start": 2058, "end": 2071, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 2058, "end": 2069, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 41 } }, "object": { "type": "Identifier", "start": 2058, "end": 2062, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2063, "end": 2069, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 41 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "BinaryExpression", "start": 2075, "end": 2086, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 87, "column": 58 } }, "left": { "type": "Identifier", "start": 2075, "end": 2078, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 87, "column": 50 }, "identifierName": "end" }, "name": "end" }, "operator": "-", "right": { "type": "Identifier", "start": 2081, "end": 2086, "loc": { "start": { "line": 87, "column": 53 }, "end": { "line": 87, "column": 58 }, "identifierName": "start" }, "name": "start" }, "extra": { "parenthesized": true, "parenStart": 2074 } } } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2227, "end": 2421, "loc": { "start": { "line": 95, "column": 0 }, "end": { "line": 101, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2234, "end": 2421, "loc": { "start": { "line": 95, "column": 7 }, "end": { "line": 101, "column": 1 } }, "id": { "type": "Identifier", "start": 2243, "end": 2270, "loc": { "start": { "line": 95, "column": 16 }, "end": { "line": 95, "column": 43 }, "identifierName": "accessNestedPropertyReverse" }, "name": "accessNestedPropertyReverse", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2271, "end": 2274, "loc": { "start": { "line": 95, "column": 44 }, "end": { "line": 95, "column": 47 }, "identifierName": "obj" }, "name": "obj" }, { "type": "Identifier", "start": 2276, "end": 2280, "loc": { "start": { "line": 95, "column": 49 }, "end": { "line": 95, "column": 53 }, "identifierName": "keys" }, "name": "keys" } ], "body": { "type": "BlockStatement", "start": 2282, "end": 2421, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 101, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 2289, "end": 2306, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2293, "end": 2305, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 20 } }, "id": { "type": "Identifier", "start": 2293, "end": 2299, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 14 }, "identifierName": "result" }, "name": "result" }, "init": { "type": "Identifier", "start": 2302, "end": 2305, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 20 }, "identifierName": "obj" }, "name": "obj" } } ], "kind": "let" }, { "type": "ForStatement", "start": 2312, "end": 2398, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 99, "column": 5 } }, "init": { "type": "VariableDeclaration", "start": 2317, "end": 2340, "loc": { "start": { "line": 97, "column": 9 }, "end": { "line": 97, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2321, "end": 2340, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 32 } }, "id": { "type": "Identifier", "start": 2321, "end": 2322, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 14 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "BinaryExpression", "start": 2325, "end": 2340, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 32 } }, "left": { "type": "MemberExpression", "start": 2325, "end": 2336, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 28 } }, "object": { "type": "Identifier", "start": 2325, "end": 2329, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 21 }, "identifierName": "keys" }, "name": "keys" }, "property": { "type": "Identifier", "start": 2330, "end": 2336, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 97, "column": 28 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 2339, "end": 2340, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 32 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2342, "end": 2348, "loc": { "start": { "line": 97, "column": 34 }, "end": { "line": 97, "column": 40 } }, "left": { "type": "Identifier", "start": 2342, "end": 2343, "loc": { "start": { "line": 97, "column": 34 }, "end": { "line": 97, "column": 35 }, "identifierName": "i" }, "name": "i" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 2347, "end": 2348, "loc": { "start": { "line": 97, "column": 39 }, "end": { "line": 97, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "update": { "type": "UpdateExpression", "start": 2350, "end": 2353, "loc": { "start": { "line": 97, "column": 42 }, "end": { "line": 97, "column": 45 } }, "operator": "--", "prefix": true, "argument": { "type": "Identifier", "start": 2352, "end": 2353, "loc": { "start": { "line": 97, "column": 44 }, "end": { "line": 97, "column": 45 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2355, "end": 2398, "loc": { "start": { "line": 97, "column": 47 }, "end": { "line": 99, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2366, "end": 2391, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 2366, "end": 2390, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 2366, "end": 2372, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 14 }, "identifierName": "result" }, "name": "result" }, "right": { "type": "MemberExpression", "start": 2375, "end": 2390, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 32 } }, "object": { "type": "Identifier", "start": 2375, "end": 2381, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 23 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "MemberExpression", "start": 2382, "end": 2389, "loc": { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 31 } }, "object": { "type": "Identifier", "start": 2382, "end": 2386, "loc": { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 28 }, "identifierName": "keys" }, "name": "keys" }, "property": { "type": "Identifier", "start": 2387, "end": 2388, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 98, "column": 30 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "computed": true } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 2404, "end": 2418, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 18 } }, "argument": { "type": "Identifier", "start": 2411, "end": 2417, "loc": { "start": { "line": 100, "column": 11 }, "end": { "line": 100, "column": 17 }, "identifierName": "result" }, "name": "result" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2528, "end": 2623, "loc": { "start": { "line": 109, "column": 0 }, "end": { "line": 111, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2535, "end": 2623, "loc": { "start": { "line": 109, "column": 7 }, "end": { "line": 111, "column": 1 } }, "id": { "type": "Identifier", "start": 2544, "end": 2556, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 28 }, "identifierName": "randomChoice" }, "name": "randomChoice", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2557, "end": 2560, "loc": { "start": { "line": 109, "column": 29 }, "end": { "line": 109, "column": 32 }, "identifierName": "arr" }, "name": "arr" } ], "body": { "type": "BlockStatement", "start": 2562, "end": 2623, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 111, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 2569, "end": 2620, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 55 } }, "argument": { "type": "MemberExpression", "start": 2576, "end": 2619, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 54 } }, "object": { "type": "Identifier", "start": 2576, "end": 2579, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 14 }, "identifierName": "arr" }, "name": "arr" }, "property": { "type": "CallExpression", "start": 2580, "end": 2618, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 2580, "end": 2590, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 25 } }, "object": { "type": "Identifier", "start": 2580, "end": 2584, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 19 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2585, "end": 2590, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 25 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 2591, "end": 2617, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 52 } }, "left": { "type": "CallExpression", "start": 2591, "end": 2604, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 2591, "end": 2602, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 37 } }, "object": { "type": "Identifier", "start": 2591, "end": 2595, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 30 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2596, "end": 2602, "loc": { "start": { "line": 110, "column": 31 }, "end": { "line": 110, "column": 37 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "MemberExpression", "start": 2607, "end": 2617, "loc": { "start": { "line": 110, "column": 42 }, "end": { "line": 110, "column": 52 } }, "object": { "type": "Identifier", "start": 2607, "end": 2610, "loc": { "start": { "line": 110, "column": 42 }, "end": { "line": 110, "column": 45 }, "identifierName": "arr" }, "name": "arr" }, "property": { "type": "Identifier", "start": 2611, "end": 2617, "loc": { "start": { "line": 110, "column": 46 }, "end": { "line": 110, "column": 52 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ] }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2753, "end": 3215, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 131, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2760, "end": 3215, "loc": { "start": { "line": 118, "column": 7 }, "end": { "line": 131, "column": 1 } }, "id": { "type": "Identifier", "start": 2769, "end": 2784, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 31 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2785, "end": 2790, "loc": { "start": { "line": 118, "column": 32 }, "end": { "line": 118, "column": 37 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 2792, "end": 2797, "loc": { "start": { "line": 118, "column": 39 }, "end": { "line": 118, "column": 44 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 2799, "end": 3215, "loc": { "start": { "line": 118, "column": 46 }, "end": { "line": 131, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 2806, "end": 2897, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 121, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 2810, "end": 2844, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 2810, "end": 2819, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 17 } }, "left": { "type": "Identifier", "start": 2810, "end": 2815, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 13 }, "identifierName": "index" }, "name": "index" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 2818, "end": 2819, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 2823, "end": 2844, "loc": { "start": { "line": 119, "column": 21 }, "end": { "line": 119, "column": 42 } }, "left": { "type": "Identifier", "start": 2823, "end": 2828, "loc": { "start": { "line": 119, "column": 21 }, "end": { "line": 119, "column": 26 }, "identifierName": "index" }, "name": "index" }, "operator": ">=", "right": { "type": "MemberExpression", "start": 2832, "end": 2844, "loc": { "start": { "line": 119, "column": 30 }, "end": { "line": 119, "column": 42 } }, "object": { "type": "Identifier", "start": 2832, "end": 2837, "loc": { "start": { "line": 119, "column": 30 }, "end": { "line": 119, "column": 35 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 2838, "end": 2844, "loc": { "start": { "line": 119, "column": 36 }, "end": { "line": 119, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 2846, "end": 2897, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 121, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 2857, "end": 2890, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 41 } }, "argument": { "type": "NewExpression", "start": 2863, "end": 2889, "loc": { "start": { "line": 120, "column": 14 }, "end": { "line": 120, "column": 40 } }, "callee": { "type": "Identifier", "start": 2867, "end": 2872, "loc": { "start": { "line": 120, "column": 18 }, "end": { "line": 120, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 2873, "end": 2888, "loc": { "start": { "line": 120, "column": 24 }, "end": { "line": 120, "column": 39 } }, "extra": { "rawValue": "Out of bounds", "raw": "\"Out of bounds\"" }, "value": "Out of bounds" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " When the element is not the last element", "start": 2903, "end": 2946, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 47 } } } ] }, { "type": "IfStatement", "start": 2952, "end": 3146, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 127, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2956, "end": 2982, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 34 } }, "left": { "type": "Identifier", "start": 2956, "end": 2961, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 13 }, "identifierName": "index" }, "name": "index", "leadingComments": null }, "operator": "!==", "right": { "type": "BinaryExpression", "start": 2966, "end": 2982, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 34 } }, "left": { "type": "MemberExpression", "start": 2966, "end": 2978, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 30 } }, "object": { "type": "Identifier", "start": 2966, "end": 2971, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 23 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 2972, "end": 2978, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 30 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 2981, "end": 2982, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 34 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2984, "end": 3146, "loc": { "start": { "line": 123, "column": 36 }, "end": { "line": 127, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3072, "end": 3109, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3078, "end": 3108, "loc": { "start": { "line": 125, "column": 14 }, "end": { "line": 125, "column": 44 } }, "id": { "type": "Identifier", "start": 3078, "end": 3082, "loc": { "start": { "line": 125, "column": 14 }, "end": { "line": 125, "column": 18 }, "identifierName": "last" }, "name": "last", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 3085, "end": 3108, "loc": { "start": { "line": 125, "column": 21 }, "end": { "line": 125, "column": 44 } }, "object": { "type": "Identifier", "start": 3085, "end": 3090, "loc": { "start": { "line": 125, "column": 21 }, "end": { "line": 125, "column": 26 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "BinaryExpression", "start": 3091, "end": 3107, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 43 } }, "left": { "type": "MemberExpression", "start": 3091, "end": 3103, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 39 } }, "object": { "type": "Identifier", "start": 3091, "end": 3096, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 32 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 3097, "end": 3103, "loc": { "start": { "line": 125, "column": 33 }, "end": { "line": 125, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 3106, "end": 3107, "loc": { "start": { "line": 125, "column": 42 }, "end": { "line": 125, "column": 43 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Get the last element, and swap it with the one we want to delete", "start": 2995, "end": 3062, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 75 } } } ] }, { "type": "ExpressionStatement", "start": 3119, "end": 3139, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 3119, "end": 3138, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3119, "end": 3131, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 20 } }, "object": { "type": "Identifier", "start": 3119, "end": 3124, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 13 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 3125, "end": 3130, "loc": { "start": { "line": 126, "column": 14 }, "end": { "line": 126, "column": 19 }, "identifierName": "index" }, "name": "index" }, "computed": true }, "right": { "type": "Identifier", "start": 3134, "end": 3138, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 27 }, "identifierName": "last" }, "name": "last" } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " When the element is not the last element", "start": 2903, "end": 2946, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 47 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Finally remove the last element", "start": 3154, "end": 3188, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 38 } } } ] }, { "type": "ExpressionStatement", "start": 3194, "end": 3212, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 3194, "end": 3211, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 21 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 3194, "end": 3206, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 16 } }, "object": { "type": "Identifier", "start": 3194, "end": 3199, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 9 }, "identifierName": "array" }, "name": "array", "leadingComments": null }, "property": { "type": "Identifier", "start": 3200, "end": 3206, "loc": { "start": { "line": 130, "column": 10 }, "end": { "line": 130, "column": 16 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 3210, "end": 3211, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 21 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Finally remove the last element", "start": 3154, "end": 3188, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 38 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 3389, "end": 3753, "loc": { "start": { "line": 139, "column": 0 }, "end": { "line": 149, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 3396, "end": 3753, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 149, "column": 1 } }, "id": { "type": "Identifier", "start": 3405, "end": 3425, "loc": { "start": { "line": 139, "column": 16 }, "end": { "line": 139, "column": 36 }, "identifierName": "fastArrayDeleteValue" }, "name": "fastArrayDeleteValue", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3426, "end": 3431, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 42 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 3433, "end": 3438, "loc": { "start": { "line": 139, "column": 44 }, "end": { "line": 139, "column": 49 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 3440, "end": 3753, "loc": { "start": { "line": 139, "column": 51 }, "end": { "line": 149, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 3447, "end": 3535, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 142, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3451, "end": 3464, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 21 } }, "left": { "type": "Identifier", "start": 3451, "end": 3456, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 13 }, "identifierName": "array" }, "name": "array" }, "operator": "==", "right": { "type": "NullLiteral", "start": 3460, "end": 3464, "loc": { "start": { "line": 140, "column": 17 }, "end": { "line": 140, "column": 21 } } } }, "consequent": { "type": "BlockStatement", "start": 3466, "end": 3535, "loc": { "start": { "line": 140, "column": 23 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 3477, "end": 3528, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 59 } }, "argument": { "type": "NewExpression", "start": 3483, "end": 3527, "loc": { "start": { "line": 141, "column": 14 }, "end": { "line": 141, "column": 58 } }, "callee": { "type": "Identifier", "start": 3487, "end": 3492, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 3493, "end": 3526, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 57 } }, "extra": { "rawValue": "Tried to delete from non array!", "raw": "\"Tried to delete from non array!\"" }, "value": "Tried to delete from non array!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3541, "end": 3576, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3547, "end": 3575, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 38 } }, "id": { "type": "Identifier", "start": 3547, "end": 3552, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 15 }, "identifierName": "index" }, "name": "index" }, "init": { "type": "CallExpression", "start": 3555, "end": 3575, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 3555, "end": 3568, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 31 } }, "object": { "type": "Identifier", "start": 3555, "end": 3560, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 23 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 3561, "end": 3568, "loc": { "start": { "line": 143, "column": 24 }, "end": { "line": 143, "column": 31 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3569, "end": 3574, "loc": { "start": { "line": 143, "column": 32 }, "end": { "line": 143, "column": 37 }, "identifierName": "value" }, "name": "value" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3582, "end": 3707, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3586, "end": 3595, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 17 } }, "left": { "type": "Identifier", "start": 3586, "end": 3591, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 13 }, "identifierName": "index" }, "name": "index" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 3594, "end": 3595, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 3597, "end": 3707, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 147, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3608, "end": 3677, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 77 } }, "expression": { "type": "CallExpression", "start": 3608, "end": 3676, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 3608, "end": 3621, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 21 } }, "object": { "type": "Identifier", "start": 3608, "end": 3615, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 3616, "end": 3621, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 21 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3622, "end": 3629, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 29 } }, "extra": { "rawValue": "Value", "raw": "\"Value\"" }, "value": "Value" }, { "type": "Identifier", "start": 3631, "end": 3636, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 36 }, "identifierName": "value" }, "name": "value" }, { "type": "StringLiteral", "start": 3638, "end": 3663, "loc": { "start": { "line": 145, "column": 38 }, "end": { "line": 145, "column": 63 } }, "extra": { "rawValue": "not contained in array:", "raw": "\"not contained in array:\"" }, "value": "not contained in array:" }, { "type": "Identifier", "start": 3665, "end": 3670, "loc": { "start": { "line": 145, "column": 65 }, "end": { "line": 145, "column": 70 }, "identifierName": "array" }, "name": "array" }, { "type": "StringLiteral", "start": 3672, "end": 3675, "loc": { "start": { "line": 145, "column": 72 }, "end": { "line": 145, "column": 75 } }, "extra": { "rawValue": "!", "raw": "\"!\"" }, "value": "!" } ] } }, { "type": "ReturnStatement", "start": 3687, "end": 3700, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 21 } }, "argument": { "type": "Identifier", "start": 3694, "end": 3699, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 }, "identifierName": "value" }, "name": "value" } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 3713, "end": 3750, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 41 } }, "argument": { "type": "CallExpression", "start": 3720, "end": 3749, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 40 } }, "callee": { "type": "Identifier", "start": 3720, "end": 3735, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 26 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete" }, "arguments": [ { "type": "Identifier", "start": 3736, "end": 3741, "loc": { "start": { "line": 148, "column": 27 }, "end": { "line": 148, "column": 32 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 3743, "end": 3748, "loc": { "start": { "line": 148, "column": 34 }, "end": { "line": 148, "column": 39 }, "identifierName": "index" }, "name": "index" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 3850, "end": 4146, "loc": { "start": { "line": 156, "column": 0 }, "end": { "line": 165, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 3857, "end": 4146, "loc": { "start": { "line": 156, "column": 7 }, "end": { "line": 165, "column": 1 } }, "id": { "type": "Identifier", "start": 3866, "end": 3897, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 47 }, "identifierName": "fastArrayDeleteValueIfContained" }, "name": "fastArrayDeleteValueIfContained", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3898, "end": 3903, "loc": { "start": { "line": 156, "column": 48 }, "end": { "line": 156, "column": 53 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 3905, "end": 3910, "loc": { "start": { "line": 156, "column": 55 }, "end": { "line": 156, "column": 60 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 3912, "end": 4146, "loc": { "start": { "line": 156, "column": 62 }, "end": { "line": 165, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 3919, "end": 4007, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 159, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 3923, "end": 3936, "loc": { "start": { "line": 157, "column": 8 }, "end": { "line": 157, "column": 21 } }, "left": { "type": "Identifier", "start": 3923, "end": 3928, "loc": { "start": { "line": 157, "column": 8 }, "end": { "line": 157, "column": 13 }, "identifierName": "array" }, "name": "array" }, "operator": "==", "right": { "type": "NullLiteral", "start": 3932, "end": 3936, "loc": { "start": { "line": 157, "column": 17 }, "end": { "line": 157, "column": 21 } } } }, "consequent": { "type": "BlockStatement", "start": 3938, "end": 4007, "loc": { "start": { "line": 157, "column": 23 }, "end": { "line": 159, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 3949, "end": 4000, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 59 } }, "argument": { "type": "NewExpression", "start": 3955, "end": 3999, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 58 } }, "callee": { "type": "Identifier", "start": 3959, "end": 3964, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 3965, "end": 3998, "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 57 } }, "extra": { "rawValue": "Tried to delete from non array!", "raw": "\"Tried to delete from non array!\"" }, "value": "Tried to delete from non array!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4013, "end": 4048, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4019, "end": 4047, "loc": { "start": { "line": 160, "column": 10 }, "end": { "line": 160, "column": 38 } }, "id": { "type": "Identifier", "start": 4019, "end": 4024, "loc": { "start": { "line": 160, "column": 10 }, "end": { "line": 160, "column": 15 }, "identifierName": "index" }, "name": "index" }, "init": { "type": "CallExpression", "start": 4027, "end": 4047, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4027, "end": 4040, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 31 } }, "object": { "type": "Identifier", "start": 4027, "end": 4032, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 23 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 4033, "end": 4040, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 31 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4041, "end": 4046, "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 37 }, "identifierName": "value" }, "name": "value" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 4054, "end": 4100, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 163, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 4058, "end": 4067, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 17 } }, "left": { "type": "Identifier", "start": 4058, "end": 4063, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 }, "identifierName": "index" }, "name": "index" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 4066, "end": 4067, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 4069, "end": 4100, "loc": { "start": { "line": 161, "column": 19 }, "end": { "line": 163, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4080, "end": 4093, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 21 } }, "argument": { "type": "Identifier", "start": 4087, "end": 4092, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 20 }, "identifierName": "value" }, "name": "value" } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4106, "end": 4143, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 41 } }, "argument": { "type": "CallExpression", "start": 4113, "end": 4142, "loc": { "start": { "line": 164, "column": 11 }, "end": { "line": 164, "column": 40 } }, "callee": { "type": "Identifier", "start": 4113, "end": 4128, "loc": { "start": { "line": 164, "column": 11 }, "end": { "line": 164, "column": 26 }, "identifierName": "fastArrayDelete" }, "name": "fastArrayDelete" }, "arguments": [ { "type": "Identifier", "start": 4129, "end": 4134, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 32 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 4136, "end": 4141, "loc": { "start": { "line": 164, "column": 34 }, "end": { "line": 164, "column": 39 }, "identifierName": "index" }, "name": "index" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 4261, "end": 4433, "loc": { "start": { "line": 172, "column": 0 }, "end": { "line": 177, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 4268, "end": 4433, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 177, "column": 1 } }, "id": { "type": "Identifier", "start": 4277, "end": 4288, "loc": { "start": { "line": 172, "column": 16 }, "end": { "line": 172, "column": 27 }, "identifierName": "arrayDelete" }, "name": "arrayDelete", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4289, "end": 4294, "loc": { "start": { "line": 172, "column": 28 }, "end": { "line": 172, "column": 33 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 4296, "end": 4301, "loc": { "start": { "line": 172, "column": 35 }, "end": { "line": 172, "column": 40 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 4303, "end": 4433, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 177, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 4310, "end": 4401, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 4314, "end": 4348, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 4314, "end": 4323, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 17 } }, "left": { "type": "Identifier", "start": 4314, "end": 4319, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 13 }, "identifierName": "index" }, "name": "index" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 4322, "end": 4323, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 4327, "end": 4348, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 42 } }, "left": { "type": "Identifier", "start": 4327, "end": 4332, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 26 }, "identifierName": "index" }, "name": "index" }, "operator": ">=", "right": { "type": "MemberExpression", "start": 4336, "end": 4348, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 42 } }, "object": { "type": "Identifier", "start": 4336, "end": 4341, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 35 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 4342, "end": 4348, "loc": { "start": { "line": 173, "column": 36 }, "end": { "line": 173, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 4350, "end": 4401, "loc": { "start": { "line": 173, "column": 44 }, "end": { "line": 175, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 4361, "end": 4394, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 41 } }, "argument": { "type": "NewExpression", "start": 4367, "end": 4393, "loc": { "start": { "line": 174, "column": 14 }, "end": { "line": 174, "column": 40 } }, "callee": { "type": "Identifier", "start": 4371, "end": 4376, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 174, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 4377, "end": 4392, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 39 } }, "extra": { "rawValue": "Out of bounds", "raw": "\"Out of bounds\"" }, "value": "Out of bounds" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 4407, "end": 4430, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 27 } }, "expression": { "type": "CallExpression", "start": 4407, "end": 4429, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 4407, "end": 4419, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 16 } }, "object": { "type": "Identifier", "start": 4407, "end": 4412, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 9 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 4413, "end": 4419, "loc": { "start": { "line": 176, "column": 10 }, "end": { "line": 176, "column": 16 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4420, "end": 4425, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 22 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 4427, "end": 4428, "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 4542, "end": 4898, "loc": { "start": { "line": 184, "column": 0 }, "end": { "line": 194, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 4549, "end": 4898, "loc": { "start": { "line": 184, "column": 7 }, "end": { "line": 194, "column": 1 } }, "id": { "type": "Identifier", "start": 4558, "end": 4574, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 32 }, "identifierName": "arrayDeleteValue" }, "name": "arrayDeleteValue", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4575, "end": 4580, "loc": { "start": { "line": 184, "column": 33 }, "end": { "line": 184, "column": 38 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 4582, "end": 4587, "loc": { "start": { "line": 184, "column": 40 }, "end": { "line": 184, "column": 45 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 4589, "end": 4898, "loc": { "start": { "line": 184, "column": 47 }, "end": { "line": 194, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 4596, "end": 4684, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 187, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 4600, "end": 4613, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 21 } }, "left": { "type": "Identifier", "start": 4600, "end": 4605, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 13 }, "identifierName": "array" }, "name": "array" }, "operator": "==", "right": { "type": "NullLiteral", "start": 4609, "end": 4613, "loc": { "start": { "line": 185, "column": 17 }, "end": { "line": 185, "column": 21 } } } }, "consequent": { "type": "BlockStatement", "start": 4615, "end": 4684, "loc": { "start": { "line": 185, "column": 23 }, "end": { "line": 187, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 4626, "end": 4677, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 59 } }, "argument": { "type": "NewExpression", "start": 4632, "end": 4676, "loc": { "start": { "line": 186, "column": 14 }, "end": { "line": 186, "column": 58 } }, "callee": { "type": "Identifier", "start": 4636, "end": 4641, "loc": { "start": { "line": 186, "column": 18 }, "end": { "line": 186, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 4642, "end": 4675, "loc": { "start": { "line": 186, "column": 24 }, "end": { "line": 186, "column": 57 } }, "extra": { "rawValue": "Tried to delete from non array!", "raw": "\"Tried to delete from non array!\"" }, "value": "Tried to delete from non array!" } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4690, "end": 4725, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4696, "end": 4724, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 38 } }, "id": { "type": "Identifier", "start": 4696, "end": 4701, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 15 }, "identifierName": "index" }, "name": "index" }, "init": { "type": "CallExpression", "start": 4704, "end": 4724, "loc": { "start": { "line": 188, "column": 18 }, "end": { "line": 188, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4704, "end": 4717, "loc": { "start": { "line": 188, "column": 18 }, "end": { "line": 188, "column": 31 } }, "object": { "type": "Identifier", "start": 4704, "end": 4709, "loc": { "start": { "line": 188, "column": 18 }, "end": { "line": 188, "column": 23 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 4710, "end": 4717, "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 188, "column": 31 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4718, "end": 4723, "loc": { "start": { "line": 188, "column": 32 }, "end": { "line": 188, "column": 37 }, "identifierName": "value" }, "name": "value" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 4731, "end": 4856, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 192, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 4735, "end": 4744, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 17 } }, "left": { "type": "Identifier", "start": 4735, "end": 4740, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 13 }, "identifierName": "index" }, "name": "index" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 4743, "end": 4744, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 4746, "end": 4856, "loc": { "start": { "line": 189, "column": 19 }, "end": { "line": 192, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4757, "end": 4826, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 77 } }, "expression": { "type": "CallExpression", "start": 4757, "end": 4825, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 4757, "end": 4770, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 21 } }, "object": { "type": "Identifier", "start": 4757, "end": 4764, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 4765, "end": 4770, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 21 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4771, "end": 4778, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 29 } }, "extra": { "rawValue": "Value", "raw": "\"Value\"" }, "value": "Value" }, { "type": "Identifier", "start": 4780, "end": 4785, "loc": { "start": { "line": 190, "column": 31 }, "end": { "line": 190, "column": 36 }, "identifierName": "value" }, "name": "value" }, { "type": "StringLiteral", "start": 4787, "end": 4812, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 63 } }, "extra": { "rawValue": "not contained in array:", "raw": "\"not contained in array:\"" }, "value": "not contained in array:" }, { "type": "Identifier", "start": 4814, "end": 4819, "loc": { "start": { "line": 190, "column": 65 }, "end": { "line": 190, "column": 70 }, "identifierName": "array" }, "name": "array" }, { "type": "StringLiteral", "start": 4821, "end": 4824, "loc": { "start": { "line": 190, "column": 72 }, "end": { "line": 190, "column": 75 } }, "extra": { "rawValue": "!", "raw": "\"!\"" }, "value": "!" } ] } }, { "type": "ReturnStatement", "start": 4836, "end": 4849, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 21 } }, "argument": { "type": "Identifier", "start": 4843, "end": 4848, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 20 }, "identifierName": "value" }, "name": "value" } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 4862, "end": 4895, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 37 } }, "argument": { "type": "CallExpression", "start": 4869, "end": 4894, "loc": { "start": { "line": 193, "column": 11 }, "end": { "line": 193, "column": 36 } }, "callee": { "type": "Identifier", "start": 4869, "end": 4880, "loc": { "start": { "line": 193, "column": 11 }, "end": { "line": 193, "column": 22 }, "identifierName": "arrayDelete" }, "name": "arrayDelete" }, "arguments": [ { "type": "Identifier", "start": 4881, "end": 4886, "loc": { "start": { "line": 193, "column": 23 }, "end": { "line": 193, "column": 28 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 4888, "end": 4893, "loc": { "start": { "line": 193, "column": 30 }, "end": { "line": 193, "column": 35 }, "identifierName": "index" }, "name": "index" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 5023, "end": 5119, "loc": { "start": { "line": 202, "column": 0 }, "end": { "line": 204, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 5030, "end": 5119, "loc": { "start": { "line": 202, "column": 7 }, "end": { "line": 204, "column": 1 } }, "id": { "type": "Identifier", "start": 5039, "end": 5053, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 30 }, "identifierName": "epsilonCompare" }, "name": "epsilonCompare", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5054, "end": 5055, "loc": { "start": { "line": 202, "column": 31 }, "end": { "line": 202, "column": 32 }, "identifierName": "a" }, "name": "a" }, { "type": "Identifier", "start": 5057, "end": 5058, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 35 }, "identifierName": "b" }, "name": "b" }, { "type": "AssignmentPattern", "start": 5060, "end": 5074, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "column": 51 } }, "left": { "type": "Identifier", "start": 5060, "end": 5067, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "column": 44 }, "identifierName": "epsilon" }, "name": "epsilon" }, "right": { "type": "NumericLiteral", "start": 5070, "end": 5074, "loc": { "start": { "line": 202, "column": 47 }, "end": { "line": 202, "column": 51 } }, "extra": { "rawValue": 0.00001, "raw": "1e-5" }, "value": 0.00001 } } ], "body": { "type": "BlockStatement", "start": 5076, "end": 5119, "loc": { "start": { "line": 202, "column": 53 }, "end": { "line": 204, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 5083, "end": 5116, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 37 } }, "argument": { "type": "BinaryExpression", "start": 5090, "end": 5115, "loc": { "start": { "line": 203, "column": 11 }, "end": { "line": 203, "column": 36 } }, "left": { "type": "CallExpression", "start": 5090, "end": 5105, "loc": { "start": { "line": 203, "column": 11 }, "end": { "line": 203, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 5090, "end": 5098, "loc": { "start": { "line": 203, "column": 11 }, "end": { "line": 203, "column": 19 } }, "object": { "type": "Identifier", "start": 5090, "end": 5094, "loc": { "start": { "line": 203, "column": 11 }, "end": { "line": 203, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 5095, "end": 5098, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 19 }, "identifierName": "abs" }, "name": "abs" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5099, "end": 5104, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 25 } }, "left": { "type": "Identifier", "start": 5099, "end": 5100, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 21 }, "identifierName": "a" }, "name": "a" }, "operator": "-", "right": { "type": "Identifier", "start": 5103, "end": 5104, "loc": { "start": { "line": 203, "column": 24 }, "end": { "line": 203, "column": 25 }, "identifierName": "b" }, "name": "b" } } ] }, "operator": "<", "right": { "type": "Identifier", "start": 5108, "end": 5115, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 36 }, "identifierName": "epsilon" }, "name": "epsilon" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 5292, "end": 5359, "loc": { "start": { "line": 212, "column": 0 }, "end": { "line": 214, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 5299, "end": 5359, "loc": { "start": { "line": 212, "column": 7 }, "end": { "line": 214, "column": 1 } }, "id": { "type": "Identifier", "start": 5308, "end": 5312, "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 212, "column": 20 }, "identifierName": "lerp" }, "name": "lerp", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5313, "end": 5314, "loc": { "start": { "line": 212, "column": 21 }, "end": { "line": 212, "column": 22 }, "identifierName": "a" }, "name": "a" }, { "type": "Identifier", "start": 5316, "end": 5317, "loc": { "start": { "line": 212, "column": 24 }, "end": { "line": 212, "column": 25 }, "identifierName": "b" }, "name": "b" }, { "type": "Identifier", "start": 5319, "end": 5320, "loc": { "start": { "line": 212, "column": 27 }, "end": { "line": 212, "column": 28 }, "identifierName": "x" }, "name": "x" } ], "body": { "type": "BlockStatement", "start": 5322, "end": 5359, "loc": { "start": { "line": 212, "column": 30 }, "end": { "line": 214, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 5329, "end": 5356, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 213, "column": 31 } }, "argument": { "type": "BinaryExpression", "start": 5336, "end": 5355, "loc": { "start": { "line": 213, "column": 11 }, "end": { "line": 213, "column": 30 } }, "left": { "type": "BinaryExpression", "start": 5336, "end": 5347, "loc": { "start": { "line": 213, "column": 11 }, "end": { "line": 213, "column": 22 } }, "left": { "type": "Identifier", "start": 5336, "end": 5337, "loc": { "start": { "line": 213, "column": 11 }, "end": { "line": 213, "column": 12 }, "identifierName": "a" }, "name": "a" }, "operator": "*", "right": { "type": "BinaryExpression", "start": 5341, "end": 5346, "loc": { "start": { "line": 213, "column": 16 }, "end": { "line": 213, "column": 21 } }, "left": { "type": "NumericLiteral", "start": 5341, "end": 5342, "loc": { "start": { "line": 213, "column": 16 }, "end": { "line": 213, "column": 17 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "-", "right": { "type": "Identifier", "start": 5345, "end": 5346, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 21 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesized": true, "parenStart": 5340 } } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 5350, "end": 5355, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 30 } }, "left": { "type": "Identifier", "start": 5350, "end": 5351, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 26 }, "identifierName": "b" }, "name": "b" }, "operator": "*", "right": { "type": "Identifier", "start": 5354, "end": 5355, "loc": { "start": { "line": 213, "column": 29 }, "end": { "line": 213, "column": 30 }, "identifierName": "x" }, "name": "x" } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 5492, "end": 6331, "loc": { "start": { "line": 220, "column": 0 }, "end": { "line": 254, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 5499, "end": 6331, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 254, "column": 1 } }, "id": { "type": "Identifier", "start": 5508, "end": 5521, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 29 }, "identifierName": "findNiceValue" }, "name": "findNiceValue", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5522, "end": 5525, "loc": { "start": { "line": 220, "column": 30 }, "end": { "line": 220, "column": 33 }, "identifierName": "num" }, "name": "num" } ], "body": { "type": "BlockStatement", "start": 5527, "end": 6331, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 254, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 5534, "end": 5578, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5538, "end": 5547, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 17 } }, "left": { "type": "Identifier", "start": 5538, "end": 5541, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5544, "end": 5547, "loc": { "start": { "line": 221, "column": 14 }, "end": { "line": 221, "column": 17 } }, "extra": { "rawValue": 100000000, "raw": "1e8" }, "value": 100000000 } }, "consequent": { "type": "BlockStatement", "start": 5549, "end": 5578, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 223, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5560, "end": 5571, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 19 } }, "argument": { "type": "Identifier", "start": 5567, "end": 5570, "loc": { "start": { "line": 222, "column": 15 }, "end": { "line": 222, "column": 18 }, "identifierName": "num" }, "name": "num" } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 5584, "end": 5630, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5588, "end": 5601, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 21 } }, "left": { "type": "Identifier", "start": 5588, "end": 5591, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 5594, "end": 5601, "loc": { "start": { "line": 224, "column": 14 }, "end": { "line": 224, "column": 21 } }, "extra": { "rawValue": 0.00001, "raw": "0.00001" }, "value": 0.00001 } }, "consequent": { "type": "BlockStatement", "start": 5603, "end": 5630, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 226, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 5614, "end": 5623, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 17 } }, "argument": { "type": "NumericLiteral", "start": 5621, "end": 5622, "loc": { "start": { "line": 225, "column": 15 }, "end": { "line": 225, "column": 16 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 5638, "end": 5658, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5642, "end": 5657, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 23 } }, "id": { "type": "Identifier", "start": 5642, "end": 5653, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "init": { "type": "NumericLiteral", "start": 5656, "end": 5657, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 23 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "kind": "let" }, { "type": "IfStatement", "start": 5664, "end": 6064, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5668, "end": 5679, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 19 } }, "left": { "type": "Identifier", "start": 5668, "end": 5671, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5674, "end": 5679, "loc": { "start": { "line": 229, "column": 14 }, "end": { "line": 229, "column": 19 } }, "extra": { "rawValue": 50000, "raw": "50000" }, "value": 50000 } }, "consequent": { "type": "BlockStatement", "start": 5681, "end": 5719, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 231, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5692, "end": 5712, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 5692, "end": 5711, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 27 } }, "operator": "=", "left": { "type": "Identifier", "start": 5692, "end": 5703, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 5706, "end": 5711, "loc": { "start": { "line": 230, "column": 22 }, "end": { "line": 230, "column": 27 } }, "extra": { "rawValue": 10000, "raw": "10000" }, "value": 10000 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5725, "end": 6064, "loc": { "start": { "line": 231, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5729, "end": 5740, "loc": { "start": { "line": 231, "column": 15 }, "end": { "line": 231, "column": 26 } }, "left": { "type": "Identifier", "start": 5729, "end": 5732, "loc": { "start": { "line": 231, "column": 15 }, "end": { "line": 231, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5735, "end": 5740, "loc": { "start": { "line": 231, "column": 21 }, "end": { "line": 231, "column": 26 } }, "extra": { "rawValue": 20000, "raw": "20000" }, "value": 20000 } }, "consequent": { "type": "BlockStatement", "start": 5742, "end": 5779, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 233, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5753, "end": 5772, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 5753, "end": 5771, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 5753, "end": 5764, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 5767, "end": 5771, "loc": { "start": { "line": 232, "column": 22 }, "end": { "line": 232, "column": 26 } }, "extra": { "rawValue": 5000, "raw": "5000" }, "value": 5000 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5785, "end": 6064, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5789, "end": 5799, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 25 } }, "left": { "type": "Identifier", "start": 5789, "end": 5792, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5795, "end": 5799, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 25 } }, "extra": { "rawValue": 5000, "raw": "5000" }, "value": 5000 } }, "consequent": { "type": "BlockStatement", "start": 5801, "end": 5838, "loc": { "start": { "line": 233, "column": 27 }, "end": { "line": 235, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5812, "end": 5831, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 5812, "end": 5830, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 5812, "end": 5823, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 5826, "end": 5830, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 26 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5844, "end": 6064, "loc": { "start": { "line": 235, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5848, "end": 5858, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 25 } }, "left": { "type": "Identifier", "start": 5848, "end": 5851, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5854, "end": 5858, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 25 } }, "extra": { "rawValue": 2000, "raw": "2000" }, "value": 2000 } }, "consequent": { "type": "BlockStatement", "start": 5860, "end": 5896, "loc": { "start": { "line": 235, "column": 27 }, "end": { "line": 237, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5871, "end": 5889, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 5871, "end": 5888, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 5871, "end": 5882, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 5885, "end": 5888, "loc": { "start": { "line": 236, "column": 22 }, "end": { "line": 236, "column": 25 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5902, "end": 6064, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5906, "end": 5916, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 25 } }, "left": { "type": "Identifier", "start": 5906, "end": 5909, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5912, "end": 5916, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 25 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 5918, "end": 5954, "loc": { "start": { "line": 237, "column": 27 }, "end": { "line": 239, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5929, "end": 5947, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 5929, "end": 5946, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 5929, "end": 5940, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 5943, "end": 5946, "loc": { "start": { "line": 238, "column": 22 }, "end": { "line": 238, "column": 25 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 5960, "end": 6064, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 5964, "end": 5973, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 24 } }, "left": { "type": "Identifier", "start": 5964, "end": 5967, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5970, "end": 5973, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 24 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } }, "consequent": { "type": "BlockStatement", "start": 5975, "end": 6010, "loc": { "start": { "line": 239, "column": 26 }, "end": { "line": 241, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5986, "end": 6003, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 5986, "end": 6002, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 24 } }, "operator": "=", "left": { "type": "Identifier", "start": 5986, "end": 5997, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 6000, "end": 6002, "loc": { "start": { "line": 240, "column": 22 }, "end": { "line": 240, "column": 24 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 6016, "end": 6064, "loc": { "start": { "line": 241, "column": 11 }, "end": { "line": 243, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6020, "end": 6028, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 23 } }, "left": { "type": "Identifier", "start": 6020, "end": 6023, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 6026, "end": 6028, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 23 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 } }, "consequent": { "type": "BlockStatement", "start": 6030, "end": 6064, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 243, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6041, "end": 6057, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 6041, "end": 6056, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", "start": 6041, "end": 6052, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 19 }, "identifierName": "roundAmount" }, "name": "roundAmount" }, "right": { "type": "NumericLiteral", "start": 6055, "end": 6056, "loc": { "start": { "line": 242, "column": 22 }, "end": { "line": 242, "column": 23 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } } } ], "directives": [] }, "alternate": null } } } } } } }, { "type": "VariableDeclaration", "start": 6072, "end": 6134, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6078, "end": 6133, "loc": { "start": { "line": 245, "column": 10 }, "end": { "line": 245, "column": 65 } }, "id": { "type": "Identifier", "start": 6078, "end": 6087, "loc": { "start": { "line": 245, "column": 10 }, "end": { "line": 245, "column": 19 }, "identifierName": "niceValue" }, "name": "niceValue" }, "init": { "type": "BinaryExpression", "start": 6090, "end": 6133, "loc": { "start": { "line": 245, "column": 22 }, "end": { "line": 245, "column": 65 } }, "left": { "type": "CallExpression", "start": 6090, "end": 6119, "loc": { "start": { "line": 245, "column": 22 }, "end": { "line": 245, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 6090, "end": 6100, "loc": { "start": { "line": 245, "column": 22 }, "end": { "line": 245, "column": 32 } }, "object": { "type": "Identifier", "start": 6090, "end": 6094, "loc": { "start": { "line": 245, "column": 22 }, "end": { "line": 245, "column": 26 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6095, "end": 6100, "loc": { "start": { "line": 245, "column": 27 }, "end": { "line": 245, "column": 32 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 6101, "end": 6118, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 50 } }, "left": { "type": "Identifier", "start": 6101, "end": 6104, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 36 }, "identifierName": "num" }, "name": "num" }, "operator": "/", "right": { "type": "Identifier", "start": 6107, "end": 6118, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 50 }, "identifierName": "roundAmount" }, "name": "roundAmount" } } ] }, "operator": "*", "right": { "type": "Identifier", "start": 6122, "end": 6133, "loc": { "start": { "line": 245, "column": 54 }, "end": { "line": 245, "column": 65 }, "identifierName": "roundAmount" }, "name": "roundAmount" } } } ], "kind": "const" }, { "type": "IfStatement", "start": 6140, "end": 6202, "loc": { "start": { "line": 246, "column": 4 }, "end": { "line": 248, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6144, "end": 6153, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 17 } }, "left": { "type": "Identifier", "start": 6144, "end": 6147, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 6151, "end": 6153, "loc": { "start": { "line": 246, "column": 15 }, "end": { "line": 246, "column": 17 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } }, "consequent": { "type": "BlockStatement", "start": 6155, "end": 6202, "loc": { "start": { "line": 246, "column": 19 }, "end": { "line": 248, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6166, "end": 6195, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 37 } }, "argument": { "type": "CallExpression", "start": 6173, "end": 6194, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 6173, "end": 6183, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 25 } }, "object": { "type": "Identifier", "start": 6173, "end": 6177, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 19 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6178, "end": 6183, "loc": { "start": { "line": 247, "column": 20 }, "end": { "line": 247, "column": 25 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6184, "end": 6193, "loc": { "start": { "line": 247, "column": 26 }, "end": { "line": 247, "column": 35 }, "identifierName": "niceValue" }, "name": "niceValue" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6208, "end": 6279, "loc": { "start": { "line": 249, "column": 4 }, "end": { "line": 251, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6212, "end": 6220, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 16 } }, "left": { "type": "Identifier", "start": 6212, "end": 6215, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 6219, "end": 6220, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 16 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 6222, "end": 6279, "loc": { "start": { "line": 249, "column": 18 }, "end": { "line": 251, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6233, "end": 6272, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 47 } }, "argument": { "type": "BinaryExpression", "start": 6240, "end": 6271, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 46 } }, "left": { "type": "CallExpression", "start": 6240, "end": 6266, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 6240, "end": 6250, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 25 } }, "object": { "type": "Identifier", "start": 6240, "end": 6244, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 19 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6245, "end": 6250, "loc": { "start": { "line": 250, "column": 20 }, "end": { "line": 250, "column": 25 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 6251, "end": 6265, "loc": { "start": { "line": 250, "column": 26 }, "end": { "line": 250, "column": 40 } }, "left": { "type": "Identifier", "start": 6251, "end": 6260, "loc": { "start": { "line": 250, "column": 26 }, "end": { "line": 250, "column": 35 }, "identifierName": "niceValue" }, "name": "niceValue" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 6263, "end": 6265, "loc": { "start": { "line": 250, "column": 38 }, "end": { "line": 250, "column": 40 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 6269, "end": 6271, "loc": { "start": { "line": 250, "column": 44 }, "end": { "line": 250, "column": 46 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 6287, "end": 6328, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 45 } }, "argument": { "type": "BinaryExpression", "start": 6294, "end": 6327, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 44 } }, "left": { "type": "CallExpression", "start": 6294, "end": 6321, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 6294, "end": 6304, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 21 } }, "object": { "type": "Identifier", "start": 6294, "end": 6298, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6299, "end": 6304, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 21 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 6305, "end": 6320, "loc": { "start": { "line": 253, "column": 22 }, "end": { "line": 253, "column": 37 } }, "left": { "type": "Identifier", "start": 6305, "end": 6314, "loc": { "start": { "line": 253, "column": 22 }, "end": { "line": 253, "column": 31 }, "identifierName": "niceValue" }, "name": "niceValue" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 6317, "end": 6320, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 37 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 6324, "end": 6327, "loc": { "start": { "line": 253, "column": 41 }, "end": { "line": 253, "column": 44 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 6423, "end": 6512, "loc": { "start": { "line": 261, "column": 0 }, "end": { "line": 263, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 6430, "end": 6512, "loc": { "start": { "line": 261, "column": 7 }, "end": { "line": 263, "column": 1 } }, "id": { "type": "Identifier", "start": 6439, "end": 6459, "loc": { "start": { "line": 261, "column": 16 }, "end": { "line": 261, "column": 36 }, "identifierName": "findNiceIntegerValue" }, "name": "findNiceIntegerValue", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6460, "end": 6463, "loc": { "start": { "line": 261, "column": 37 }, "end": { "line": 261, "column": 40 }, "identifierName": "num" }, "name": "num" } ], "body": { "type": "BlockStatement", "start": 6465, "end": 6512, "loc": { "start": { "line": 261, "column": 42 }, "end": { "line": 263, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 6472, "end": 6509, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 41 } }, "argument": { "type": "CallExpression", "start": 6479, "end": 6508, "loc": { "start": { "line": 262, "column": 11 }, "end": { "line": 262, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6479, "end": 6488, "loc": { "start": { "line": 262, "column": 11 }, "end": { "line": 262, "column": 20 } }, "object": { "type": "Identifier", "start": 6479, "end": 6483, "loc": { "start": { "line": 262, "column": 11 }, "end": { "line": 262, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6484, "end": 6488, "loc": { "start": { "line": 262, "column": 16 }, "end": { "line": 262, "column": 20 }, "identifierName": "ceil" }, "name": "ceil" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 6489, "end": 6507, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 39 } }, "callee": { "type": "Identifier", "start": 6489, "end": 6502, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 34 }, "identifierName": "findNiceValue" }, "name": "findNiceValue" }, "arguments": [ { "type": "Identifier", "start": 6503, "end": 6506, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 38 }, "identifierName": "num" }, "name": "num" } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 6688, "end": 7887, "loc": { "start": { "line": 271, "column": 0 }, "end": { "line": 306, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 6695, "end": 7887, "loc": { "start": { "line": 271, "column": 7 }, "end": { "line": 306, "column": 1 } }, "id": { "type": "Identifier", "start": 6704, "end": 6719, "loc": { "start": { "line": 271, "column": 16 }, "end": { "line": 271, "column": 31 }, "identifierName": "formatBigNumber" }, "name": "formatBigNumber", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6720, "end": 6723, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 35 }, "identifierName": "num" }, "name": "num" }, { "type": "AssignmentPattern", "start": 6725, "end": 6762, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 74 } }, "left": { "type": "Identifier", "start": 6725, "end": 6734, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 46 }, "identifierName": "separator" }, "name": "separator" }, "right": { "type": "MemberExpression", "start": 6737, "end": 6762, "loc": { "start": { "line": 271, "column": 49 }, "end": { "line": 271, "column": 74 } }, "object": { "type": "MemberExpression", "start": 6737, "end": 6745, "loc": { "start": { "line": 271, "column": 49 }, "end": { "line": 271, "column": 57 } }, "object": { "type": "Identifier", "start": 6737, "end": 6738, "loc": { "start": { "line": 271, "column": 49 }, "end": { "line": 271, "column": 50 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 6739, "end": 6745, "loc": { "start": { "line": 271, "column": 51 }, "end": { "line": 271, "column": 57 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 6746, "end": 6762, "loc": { "start": { "line": 271, "column": 58 }, "end": { "line": 271, "column": 74 }, "identifierName": "decimalSeparator" }, "name": "decimalSeparator" }, "computed": false } } ], "body": { "type": "BlockStatement", "start": 6764, "end": 7887, "loc": { "start": { "line": 271, "column": 76 }, "end": { "line": 306, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 6771, "end": 6803, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6777, "end": 6802, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 35 } }, "id": { "type": "Identifier", "start": 6777, "end": 6781, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 14 }, "identifierName": "sign" }, "name": "sign" }, "init": { "type": "ConditionalExpression", "start": 6784, "end": 6802, "loc": { "start": { "line": 272, "column": 17 }, "end": { "line": 272, "column": 35 } }, "test": { "type": "BinaryExpression", "start": 6784, "end": 6791, "loc": { "start": { "line": 272, "column": 17 }, "end": { "line": 272, "column": 24 } }, "left": { "type": "Identifier", "start": 6784, "end": 6787, "loc": { "start": { "line": 272, "column": 17 }, "end": { "line": 272, "column": 20 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 6790, "end": 6791, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 272, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "StringLiteral", "start": 6794, "end": 6797, "loc": { "start": { "line": 272, "column": 27 }, "end": { "line": 272, "column": 30 } }, "extra": { "rawValue": "-", "raw": "\"-\"" }, "value": "-" }, "alternate": { "type": "StringLiteral", "start": 6800, "end": 6802, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 272, "column": 35 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 6809, "end": 6829, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 6809, "end": 6828, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", "start": 6809, "end": 6812, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 7 }, "identifierName": "num" }, "name": "num" }, "right": { "type": "CallExpression", "start": 6815, "end": 6828, "loc": { "start": { "line": 273, "column": 10 }, "end": { "line": 273, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 6815, "end": 6823, "loc": { "start": { "line": 273, "column": 10 }, "end": { "line": 273, "column": 18 } }, "object": { "type": "Identifier", "start": 6815, "end": 6819, "loc": { "start": { "line": 273, "column": 10 }, "end": { "line": 273, "column": 14 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6820, "end": 6823, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 18 }, "identifierName": "abs" }, "name": "abs" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6824, "end": 6827, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 22 }, "identifierName": "num" }, "name": "num" } ] } } }, { "type": "IfStatement", "start": 6837, "end": 6903, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 277, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6841, "end": 6851, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 18 } }, "left": { "type": "Identifier", "start": 6841, "end": 6844, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 6847, "end": 6851, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 18 } }, "extra": { "rawValue": 1e+54, "raw": "1e54" }, "value": 1e+54 } }, "consequent": { "type": "BlockStatement", "start": 6853, "end": 6903, "loc": { "start": { "line": 275, "column": 20 }, "end": { "line": 277, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6864, "end": 6896, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 40 } }, "argument": { "type": "BinaryExpression", "start": 6871, "end": 6895, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 39 } }, "left": { "type": "Identifier", "start": 6871, "end": 6875, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 19 }, "identifierName": "sign" }, "name": "sign" }, "operator": "+", "right": { "type": "MemberExpression", "start": 6878, "end": 6895, "loc": { "start": { "line": 276, "column": 22 }, "end": { "line": 276, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6878, "end": 6886, "loc": { "start": { "line": 276, "column": 22 }, "end": { "line": 276, "column": 30 } }, "object": { "type": "Identifier", "start": 6878, "end": 6879, "loc": { "start": { "line": 276, "column": 22 }, "end": { "line": 276, "column": 23 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 6880, "end": 6886, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 30 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 6887, "end": 6895, "loc": { "start": { "line": 276, "column": 31 }, "end": { "line": 276, "column": 39 }, "identifierName": "infinite" }, "name": "infinite" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6911, "end": 6998, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 281, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 6915, "end": 6949, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 6915, "end": 6923, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 16 } }, "left": { "type": "Identifier", "start": 6915, "end": 6918, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 6921, "end": 6923, "loc": { "start": { "line": 279, "column": 14 }, "end": { "line": 279, "column": 16 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 6927, "end": 6949, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 6928, "end": 6949, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 6928, "end": 6944, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 37 } }, "object": { "type": "Identifier", "start": 6928, "end": 6934, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 27 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 6935, "end": 6944, "loc": { "start": { "line": 279, "column": 28 }, "end": { "line": 279, "column": 37 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6945, "end": 6948, "loc": { "start": { "line": 279, "column": 38 }, "end": { "line": 279, "column": 41 }, "identifierName": "num" }, "name": "num" } ] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 6951, "end": 6998, "loc": { "start": { "line": 279, "column": 44 }, "end": { "line": 281, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6962, "end": 6991, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 37 } }, "argument": { "type": "BinaryExpression", "start": 6969, "end": 6990, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 36 } }, "left": { "type": "Identifier", "start": 6969, "end": 6973, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 19 }, "identifierName": "sign" }, "name": "sign" }, "operator": "+", "right": { "type": "CallExpression", "start": 6976, "end": 6990, "loc": { "start": { "line": 280, "column": 22 }, "end": { "line": 280, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 6976, "end": 6987, "loc": { "start": { "line": 280, "column": 22 }, "end": { "line": 280, "column": 33 } }, "object": { "type": "Identifier", "start": 6976, "end": 6979, "loc": { "start": { "line": 280, "column": 22 }, "end": { "line": 280, "column": 25 }, "identifierName": "num" }, "name": "num" }, "property": { "type": "Identifier", "start": 6980, "end": 6987, "loc": { "start": { "line": 280, "column": 26 }, "end": { "line": 280, "column": 33 }, "identifierName": "toFixed" }, "name": "toFixed" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 6988, "end": 6989, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7004, "end": 7091, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 284, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 7008, "end": 7042, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 7008, "end": 7016, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 16 } }, "left": { "type": "Identifier", "start": 7008, "end": 7011, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 7014, "end": 7016, "loc": { "start": { "line": 282, "column": 14 }, "end": { "line": 282, "column": 16 } }, "extra": { "rawValue": 50, "raw": "50" }, "value": 50 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 7020, "end": 7042, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 7021, "end": 7042, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 7021, "end": 7037, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "column": 37 } }, "object": { "type": "Identifier", "start": 7021, "end": 7027, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "column": 27 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 7028, "end": 7037, "loc": { "start": { "line": 282, "column": 28 }, "end": { "line": 282, "column": 37 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7038, "end": 7041, "loc": { "start": { "line": 282, "column": 38 }, "end": { "line": 282, "column": 41 }, "identifierName": "num" }, "name": "num" } ] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 7044, "end": 7091, "loc": { "start": { "line": 282, "column": 44 }, "end": { "line": 284, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7055, "end": 7084, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 37 } }, "argument": { "type": "BinaryExpression", "start": 7062, "end": 7083, "loc": { "start": { "line": 283, "column": 15 }, "end": { "line": 283, "column": 36 } }, "left": { "type": "Identifier", "start": 7062, "end": 7066, "loc": { "start": { "line": 283, "column": 15 }, "end": { "line": 283, "column": 19 }, "identifierName": "sign" }, "name": "sign" }, "operator": "+", "right": { "type": "CallExpression", "start": 7069, "end": 7083, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7069, "end": 7080, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 33 } }, "object": { "type": "Identifier", "start": 7069, "end": 7072, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 25 }, "identifierName": "num" }, "name": "num" }, "property": { "type": "Identifier", "start": 7073, "end": 7080, "loc": { "start": { "line": 283, "column": 26 }, "end": { "line": 283, "column": 33 }, "identifierName": "toFixed" }, "name": "toFixed" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7081, "end": 7082, "loc": { "start": { "line": 283, "column": 34 }, "end": { "line": 283, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 7097, "end": 7119, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 7097, "end": 7118, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 7097, "end": 7100, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 7 }, "identifierName": "num" }, "name": "num" }, "right": { "type": "CallExpression", "start": 7103, "end": 7118, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 7103, "end": 7113, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 20 } }, "object": { "type": "Identifier", "start": 7103, "end": 7107, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 14 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 7108, "end": 7113, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 20 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7114, "end": 7117, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 24 }, "identifierName": "num" }, "name": "num" } ] } } }, { "type": "IfStatement", "start": 7127, "end": 7884, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 305, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 7131, "end": 7141, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 18 } }, "left": { "type": "Identifier", "start": 7131, "end": 7134, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 7137, "end": 7141, "loc": { "start": { "line": 287, "column": 14 }, "end": { "line": 287, "column": 18 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 7143, "end": 7184, "loc": { "start": { "line": 287, "column": 20 }, "end": { "line": 289, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7154, "end": 7177, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 31 } }, "argument": { "type": "BinaryExpression", "start": 7161, "end": 7176, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 30 } }, "left": { "type": "BinaryExpression", "start": 7161, "end": 7170, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 24 } }, "left": { "type": "Identifier", "start": 7161, "end": 7165, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 19 }, "identifierName": "sign" }, "name": "sign" }, "operator": "+", "right": { "type": "StringLiteral", "start": 7168, "end": 7170, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 24 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } }, "operator": "+", "right": { "type": "Identifier", "start": 7173, "end": 7176, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 30 }, "identifierName": "num" }, "name": "num" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7190, "end": 7884, "loc": { "start": { "line": 289, "column": 11 }, "end": { "line": 305, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 7201, "end": 7225, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7205, "end": 7224, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 31 } }, "id": { "type": "Identifier", "start": 7205, "end": 7218, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 25 }, "identifierName": "leadingDigits" }, "name": "leadingDigits" }, "init": { "type": "Identifier", "start": 7221, "end": 7224, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 31 }, "identifierName": "num" }, "name": "num" } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 7235, "end": 7251, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7239, "end": 7250, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 23 } }, "id": { "type": "Identifier", "start": 7239, "end": 7245, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 18 }, "identifierName": "suffix" }, "name": "suffix" }, "init": { "type": "StringLiteral", "start": 7248, "end": 7250, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 23 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "kind": "let" }, { "type": "ForStatement", "start": 7261, "end": 7582, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 298, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 7266, "end": 7285, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7270, "end": 7285, "loc": { "start": { "line": 292, "column": 17 }, "end": { "line": 292, "column": 32 } }, "id": { "type": "Identifier", "start": 7270, "end": 7281, "loc": { "start": { "line": 292, "column": 17 }, "end": { "line": 292, "column": 28 }, "identifierName": "suffixIndex" }, "name": "suffixIndex" }, "init": { "type": "NumericLiteral", "start": 7284, "end": 7285, "loc": { "start": { "line": 292, "column": 31 }, "end": { "line": 292, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 7287, "end": 7338, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 85 } }, "left": { "type": "Identifier", "start": 7287, "end": 7298, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 45 }, "identifierName": "suffixIndex" }, "name": "suffixIndex" }, "operator": "<", "right": { "type": "MemberExpression", "start": 7301, "end": 7338, "loc": { "start": { "line": 292, "column": 48 }, "end": { "line": 292, "column": 85 } }, "object": { "type": "Identifier", "start": 7301, "end": 7331, "loc": { "start": { "line": 292, "column": 48 }, "end": { "line": 292, "column": 78 }, "identifierName": "bigNumberSuffixTranslationKeys" }, "name": "bigNumberSuffixTranslationKeys" }, "property": { "type": "Identifier", "start": 7332, "end": 7338, "loc": { "start": { "line": 292, "column": 79 }, "end": { "line": 292, "column": 85 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 7340, "end": 7353, "loc": { "start": { "line": 292, "column": 87 }, "end": { "line": 292, "column": 100 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 7342, "end": 7353, "loc": { "start": { "line": 292, "column": 89 }, "end": { "line": 292, "column": 100 }, "identifierName": "suffixIndex" }, "name": "suffixIndex" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 7355, "end": 7582, "loc": { "start": { "line": 292, "column": 102 }, "end": { "line": 298, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 7370, "end": 7407, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 7370, "end": 7406, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", "start": 7370, "end": 7383, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 25 }, "identifierName": "leadingDigits" }, "name": "leadingDigits" }, "right": { "type": "BinaryExpression", "start": 7386, "end": 7406, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 48 } }, "left": { "type": "Identifier", "start": 7386, "end": 7399, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 41 }, "identifierName": "leadingDigits" }, "name": "leadingDigits" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 7402, "end": 7406, "loc": { "start": { "line": 293, "column": 44 }, "end": { "line": 293, "column": 48 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } } } }, { "type": "ExpressionStatement", "start": 7421, "end": 7491, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 7421, "end": 7490, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 81 } }, "operator": "=", "left": { "type": "Identifier", "start": 7421, "end": 7427, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 18 }, "identifierName": "suffix" }, "name": "suffix" }, "right": { "type": "MemberExpression", "start": 7430, "end": 7490, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 81 } }, "object": { "type": "MemberExpression", "start": 7430, "end": 7445, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 36 } }, "object": { "type": "MemberExpression", "start": 7430, "end": 7438, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "Identifier", "start": 7430, "end": 7431, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 22 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 7432, "end": 7438, "loc": { "start": { "line": 294, "column": 23 }, "end": { "line": 294, "column": 29 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 7439, "end": 7445, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 36 }, "identifierName": "suffix" }, "name": "suffix" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7446, "end": 7489, "loc": { "start": { "line": 294, "column": 37 }, "end": { "line": 294, "column": 80 } }, "object": { "type": "Identifier", "start": 7446, "end": 7476, "loc": { "start": { "line": 294, "column": 37 }, "end": { "line": 294, "column": 67 }, "identifierName": "bigNumberSuffixTranslationKeys" }, "name": "bigNumberSuffixTranslationKeys" }, "property": { "type": "Identifier", "start": 7477, "end": 7488, "loc": { "start": { "line": 294, "column": 68 }, "end": { "line": 294, "column": 79 }, "identifierName": "suffixIndex" }, "name": "suffixIndex" }, "computed": true }, "computed": true } } }, { "type": "IfStatement", "start": 7505, "end": 7571, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 297, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 7509, "end": 7529, "loc": { "start": { "line": 295, "column": 16 }, "end": { "line": 295, "column": 36 } }, "left": { "type": "Identifier", "start": 7509, "end": 7522, "loc": { "start": { "line": 295, "column": 16 }, "end": { "line": 295, "column": 29 }, "identifierName": "leadingDigits" }, "name": "leadingDigits" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 7525, "end": 7529, "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 36 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 7531, "end": 7571, "loc": { "start": { "line": 295, "column": 38 }, "end": { "line": 297, "column": 13 } }, "body": [ { "type": "BreakStatement", "start": 7550, "end": 7556, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 22 } }, "label": null } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "VariableDeclaration", "start": 7592, "end": 7648, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7598, "end": 7647, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 63 } }, "id": { "type": "Identifier", "start": 7598, "end": 7618, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 34 }, "identifierName": "leadingDigitsRounded" }, "name": "leadingDigitsRounded" }, "init": { "type": "CallExpression", "start": 7621, "end": 7647, "loc": { "start": { "line": 299, "column": 37 }, "end": { "line": 299, "column": 63 } }, "callee": { "type": "Identifier", "start": 7621, "end": 7632, "loc": { "start": { "line": 299, "column": 37 }, "end": { "line": 299, "column": 48 }, "identifierName": "round1Digit" }, "name": "round1Digit" }, "arguments": [ { "type": "Identifier", "start": 7633, "end": 7646, "loc": { "start": { "line": 299, "column": 49 }, "end": { "line": 299, "column": 62 }, "identifierName": "leadingDigits" }, "name": "leadingDigits" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 7658, "end": 7813, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 303, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7664, "end": 7812, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 303, "column": 36 } }, "id": { "type": "Identifier", "start": 7664, "end": 7694, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 44 }, "identifierName": "leadingDigitsNoTrailingDecimal" }, "name": "leadingDigitsNoTrailingDecimal" }, "init": { "type": "CallExpression", "start": 7697, "end": 7812, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 303, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7697, "end": 7796, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 303, "column": 20 } }, "object": { "type": "CallExpression", "start": 7697, "end": 7774, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 302, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 7697, "end": 7764, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 302, "column": 20 } }, "object": { "type": "CallExpression", "start": 7697, "end": 7742, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 301, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 7697, "end": 7740, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 301, "column": 21 } }, "object": { "type": "Identifier", "start": 7697, "end": 7717, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 300, "column": 67 }, "identifierName": "leadingDigitsRounded" }, "name": "leadingDigitsRounded" }, "property": { "type": "Identifier", "start": 7732, "end": 7740, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 21 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 7757, "end": 7764, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 20 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7765, "end": 7769, "loc": { "start": { "line": 302, "column": 21 }, "end": { "line": 302, "column": 25 } }, "extra": { "rawValue": ".0", "raw": "\".0\"" }, "value": ".0" }, { "type": "StringLiteral", "start": 7771, "end": 7773, "loc": { "start": { "line": 302, "column": 27 }, "end": { "line": 302, "column": 29 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "property": { "type": "Identifier", "start": 7789, "end": 7796, "loc": { "start": { "line": 303, "column": 13 }, "end": { "line": 303, "column": 20 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7797, "end": 7800, "loc": { "start": { "line": 303, "column": 21 }, "end": { "line": 303, "column": 24 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." }, { "type": "Identifier", "start": 7802, "end": 7811, "loc": { "start": { "line": 303, "column": 26 }, "end": { "line": 303, "column": 35 }, "identifierName": "separator" }, "name": "separator" } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 7823, "end": 7877, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 62 } }, "argument": { "type": "BinaryExpression", "start": 7830, "end": 7876, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 61 } }, "left": { "type": "BinaryExpression", "start": 7830, "end": 7867, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 52 } }, "left": { "type": "Identifier", "start": 7830, "end": 7834, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 19 }, "identifierName": "sign" }, "name": "sign" }, "operator": "+", "right": { "type": "Identifier", "start": 7837, "end": 7867, "loc": { "start": { "line": 304, "column": 22 }, "end": { "line": 304, "column": 52 }, "identifierName": "leadingDigitsNoTrailingDecimal" }, "name": "leadingDigitsNoTrailingDecimal" } }, "operator": "+", "right": { "type": "Identifier", "start": 7870, "end": 7876, "loc": { "start": { "line": 304, "column": 55 }, "end": { "line": 304, "column": 61 }, "identifierName": "suffix" }, "name": "suffix" } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 8121, "end": 8595, "loc": { "start": { "line": 314, "column": 0 }, "end": { "line": 330, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 8128, "end": 8595, "loc": { "start": { "line": 314, "column": 7 }, "end": { "line": 330, "column": 1 } }, "id": { "type": "Identifier", "start": 8137, "end": 8156, "loc": { "start": { "line": 314, "column": 16 }, "end": { "line": 314, "column": 35 }, "identifierName": "formatBigNumberFull" }, "name": "formatBigNumberFull", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8157, "end": 8160, "loc": { "start": { "line": 314, "column": 36 }, "end": { "line": 314, "column": 39 }, "identifierName": "num" }, "name": "num" }, { "type": "AssignmentPattern", "start": 8162, "end": 8197, "loc": { "start": { "line": 314, "column": 41 }, "end": { "line": 314, "column": 76 } }, "left": { "type": "Identifier", "start": 8162, "end": 8169, "loc": { "start": { "line": 314, "column": 41 }, "end": { "line": 314, "column": 48 }, "identifierName": "divider" }, "name": "divider" }, "right": { "type": "MemberExpression", "start": 8172, "end": 8197, "loc": { "start": { "line": 314, "column": 51 }, "end": { "line": 314, "column": 76 } }, "object": { "type": "MemberExpression", "start": 8172, "end": 8180, "loc": { "start": { "line": 314, "column": 51 }, "end": { "line": 314, "column": 59 } }, "object": { "type": "Identifier", "start": 8172, "end": 8173, "loc": { "start": { "line": 314, "column": 51 }, "end": { "line": 314, "column": 52 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 8174, "end": 8180, "loc": { "start": { "line": 314, "column": 53 }, "end": { "line": 314, "column": 59 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 8181, "end": 8197, "loc": { "start": { "line": 314, "column": 60 }, "end": { "line": 314, "column": 76 }, "identifierName": "thousandsDivider" }, "name": "thousandsDivider" }, "computed": false } } ], "body": { "type": "BlockStatement", "start": 8199, "end": 8595, "loc": { "start": { "line": 314, "column": 78 }, "end": { "line": 330, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 8206, "end": 8256, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8210, "end": 8220, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 18 } }, "left": { "type": "Identifier", "start": 8210, "end": 8213, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 8216, "end": 8220, "loc": { "start": { "line": 315, "column": 14 }, "end": { "line": 315, "column": 18 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 8222, "end": 8256, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 317, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8233, "end": 8249, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 24 } }, "argument": { "type": "BinaryExpression", "start": 8240, "end": 8248, "loc": { "start": { "line": 316, "column": 15 }, "end": { "line": 316, "column": 23 } }, "left": { "type": "Identifier", "start": 8240, "end": 8243, "loc": { "start": { "line": 316, "column": 15 }, "end": { "line": 316, "column": 18 }, "identifierName": "num" }, "name": "num" }, "operator": "+", "right": { "type": "StringLiteral", "start": 8246, "end": 8248, "loc": { "start": { "line": 316, "column": 21 }, "end": { "line": 316, "column": 23 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8262, "end": 8321, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 320, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8266, "end": 8276, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 18 } }, "left": { "type": "Identifier", "start": 8266, "end": 8269, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 11 }, "identifierName": "num" }, "name": "num" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 8272, "end": 8276, "loc": { "start": { "line": 318, "column": 14 }, "end": { "line": 318, "column": 18 } }, "extra": { "rawValue": 1e+54, "raw": "1e54" }, "value": 1e+54 } }, "consequent": { "type": "BlockStatement", "start": 8278, "end": 8321, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 320, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8289, "end": 8314, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 33 } }, "argument": { "type": "MemberExpression", "start": 8296, "end": 8313, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 32 } }, "object": { "type": "MemberExpression", "start": 8296, "end": 8304, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 23 } }, "object": { "type": "Identifier", "start": 8296, "end": 8297, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 16 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 8298, "end": 8304, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 23 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 8305, "end": 8313, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 319, "column": 32 }, "identifierName": "infinite" }, "name": "infinite" }, "computed": false } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 8327, "end": 8342, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 19 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8331, "end": 8341, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 18 } }, "id": { "type": "Identifier", "start": 8331, "end": 8335, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 12 }, "identifierName": "rest" }, "name": "rest" }, "init": { "type": "Identifier", "start": 8338, "end": 8341, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 18 }, "identifierName": "num" }, "name": "num" } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 8348, "end": 8361, "loc": { "start": { "line": 322, "column": 4 }, "end": { "line": 322, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8352, "end": 8360, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 16 } }, "id": { "type": "Identifier", "start": 8352, "end": 8355, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 11 }, "identifierName": "out" }, "name": "out" }, "init": { "type": "StringLiteral", "start": 8358, "end": 8360, "loc": { "start": { "line": 322, "column": 14 }, "end": { "line": 322, "column": 16 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "kind": "let" }, { "type": "WhileStatement", "start": 8367, "end": 8511, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 326, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8374, "end": 8386, "loc": { "start": { "line": 323, "column": 11 }, "end": { "line": 323, "column": 23 } }, "left": { "type": "Identifier", "start": 8374, "end": 8378, "loc": { "start": { "line": 323, "column": 11 }, "end": { "line": 323, "column": 15 }, "identifierName": "rest" }, "name": "rest" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 8382, "end": 8386, "loc": { "start": { "line": 323, "column": 19 }, "end": { "line": 323, "column": 23 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "body": { "type": "BlockStatement", "start": 8388, "end": 8511, "loc": { "start": { "line": 323, "column": 25 }, "end": { "line": 326, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8399, "end": 8463, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 8399, "end": 8462, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 71 } }, "operator": "=", "left": { "type": "Identifier", "start": 8399, "end": 8402, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 11 }, "identifierName": "out" }, "name": "out" }, "right": { "type": "BinaryExpression", "start": 8405, "end": 8462, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 8405, "end": 8456, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 65 } }, "left": { "type": "CallExpression", "start": 8405, "end": 8446, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 8405, "end": 8438, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 47 } }, "object": { "type": "CallExpression", "start": 8405, "end": 8429, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 8405, "end": 8427, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 36 } }, "object": { "type": "BinaryExpression", "start": 8406, "end": 8417, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 26 } }, "left": { "type": "Identifier", "start": 8406, "end": 8410, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 19 }, "identifierName": "rest" }, "name": "rest" }, "operator": "%", "right": { "type": "NumericLiteral", "start": 8413, "end": 8417, "loc": { "start": { "line": 324, "column": 22 }, "end": { "line": 324, "column": 26 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 }, "extra": { "parenthesized": true, "parenStart": 8405 } }, "property": { "type": "Identifier", "start": 8419, "end": 8427, "loc": { "start": { "line": 324, "column": 28 }, "end": { "line": 324, "column": 36 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 8430, "end": 8438, "loc": { "start": { "line": 324, "column": 39 }, "end": { "line": 324, "column": 47 }, "identifierName": "padStart" }, "name": "padStart" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 8439, "end": 8440, "loc": { "start": { "line": 324, "column": 48 }, "end": { "line": 324, "column": 49 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, { "type": "StringLiteral", "start": 8442, "end": 8445, "loc": { "start": { "line": 324, "column": 51 }, "end": { "line": 324, "column": 54 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } ] }, "operator": "+", "right": { "type": "Identifier", "start": 8449, "end": 8456, "loc": { "start": { "line": 324, "column": 58 }, "end": { "line": 324, "column": 65 }, "identifierName": "divider" }, "name": "divider" } }, "operator": "+", "right": { "type": "Identifier", "start": 8459, "end": 8462, "loc": { "start": { "line": 324, "column": 68 }, "end": { "line": 324, "column": 71 }, "identifierName": "out" }, "name": "out" } } } }, { "type": "ExpressionStatement", "start": 8473, "end": 8504, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 8473, "end": 8503, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", "start": 8473, "end": 8477, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 12 }, "identifierName": "rest" }, "name": "rest" }, "right": { "type": "CallExpression", "start": 8480, "end": 8503, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 8480, "end": 8490, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 25 } }, "object": { "type": "Identifier", "start": 8480, "end": 8484, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 19 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 8485, "end": 8490, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 25 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 8491, "end": 8502, "loc": { "start": { "line": 325, "column": 26 }, "end": { "line": 325, "column": 37 } }, "left": { "type": "Identifier", "start": 8491, "end": 8495, "loc": { "start": { "line": 325, "column": 26 }, "end": { "line": 325, "column": 30 }, "identifierName": "rest" }, "name": "rest" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 8498, "end": 8502, "loc": { "start": { "line": 325, "column": 33 }, "end": { "line": 325, "column": 37 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } } ] } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 8517, "end": 8544, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 8517, "end": 8543, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 8517, "end": 8520, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 7 }, "identifierName": "out" }, "name": "out" }, "right": { "type": "BinaryExpression", "start": 8523, "end": 8543, "loc": { "start": { "line": 327, "column": 10 }, "end": { "line": 327, "column": 30 } }, "left": { "type": "BinaryExpression", "start": 8523, "end": 8537, "loc": { "start": { "line": 327, "column": 10 }, "end": { "line": 327, "column": 24 } }, "left": { "type": "Identifier", "start": 8523, "end": 8527, "loc": { "start": { "line": 327, "column": 10 }, "end": { "line": 327, "column": 14 }, "identifierName": "rest" }, "name": "rest" }, "operator": "+", "right": { "type": "Identifier", "start": 8530, "end": 8537, "loc": { "start": { "line": 327, "column": 17 }, "end": { "line": 327, "column": 24 }, "identifierName": "divider" }, "name": "divider" } }, "operator": "+", "right": { "type": "Identifier", "start": 8540, "end": 8543, "loc": { "start": { "line": 327, "column": 27 }, "end": { "line": 327, "column": 30 }, "identifierName": "out" }, "name": "out" } } } }, { "type": "ReturnStatement", "start": 8552, "end": 8592, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 44 } }, "argument": { "type": "CallExpression", "start": 8559, "end": 8591, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8559, "end": 8572, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 24 } }, "object": { "type": "Identifier", "start": 8559, "end": 8562, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 14 }, "identifierName": "out" }, "name": "out" }, "property": { "type": "Identifier", "start": 8563, "end": 8572, "loc": { "start": { "line": 329, "column": 15 }, "end": { "line": 329, "column": 24 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 8573, "end": 8574, "loc": { "start": { "line": 329, "column": 25 }, "end": { "line": 329, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 8576, "end": 8590, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 42 } }, "left": { "type": "MemberExpression", "start": 8576, "end": 8586, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 38 } }, "object": { "type": "Identifier", "start": 8576, "end": 8579, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 31 }, "identifierName": "out" }, "name": "out" }, "property": { "type": "Identifier", "start": 8580, "end": 8586, "loc": { "start": { "line": 329, "column": 32 }, "end": { "line": 329, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 8589, "end": 8590, "loc": { "start": { "line": 329, "column": 41 }, "end": { "line": 329, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 8680, "end": 8933, "loc": { "start": { "line": 336, "column": 0 }, "end": { "line": 344, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 8687, "end": 8933, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 344, "column": 1 } }, "id": { "type": "Identifier", "start": 8696, "end": 8709, "loc": { "start": { "line": 336, "column": 16 }, "end": { "line": 336, "column": 29 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8712, "end": 8933, "loc": { "start": { "line": 336, "column": 32 }, "end": { "line": 344, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 8719, "end": 8930, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 343, "column": 7 } }, "argument": { "type": "NewExpression", "start": 8726, "end": 8929, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 343, "column": 6 } }, "callee": { "type": "Identifier", "start": 8730, "end": 8737, "loc": { "start": { "line": 337, "column": 15 }, "end": { "line": 337, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "FunctionExpression", "start": 8738, "end": 8928, "loc": { "start": { "line": 337, "column": 23 }, "end": { "line": 343, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8747, "end": 8754, "loc": { "start": { "line": 337, "column": 32 }, "end": { "line": 337, "column": 39 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 8756, "end": 8928, "loc": { "start": { "line": 337, "column": 41 }, "end": { "line": 343, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8767, "end": 8921, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 342, "column": 11 } }, "expression": { "type": "CallExpression", "start": 8767, "end": 8920, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 342, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 8767, "end": 8795, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 36 } }, "object": { "type": "Identifier", "start": 8767, "end": 8773, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 8774, "end": 8795, "loc": { "start": { "line": 338, "column": 15 }, "end": { "line": 338, "column": 36 }, "identifierName": "requestAnimationFrame" }, "name": "requestAnimationFrame" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 8796, "end": 8919, "loc": { "start": { "line": 338, "column": 37 }, "end": { "line": 342, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8807, "end": 8919, "loc": { "start": { "line": 338, "column": 48 }, "end": { "line": 342, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8822, "end": 8908, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 341, "column": 15 } }, "expression": { "type": "CallExpression", "start": 8822, "end": 8907, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 341, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 8822, "end": 8850, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 40 } }, "object": { "type": "Identifier", "start": 8822, "end": 8828, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 8829, "end": 8850, "loc": { "start": { "line": 339, "column": 19 }, "end": { "line": 339, "column": 40 }, "identifierName": "requestAnimationFrame" }, "name": "requestAnimationFrame" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 8851, "end": 8906, "loc": { "start": { "line": 339, "column": 41 }, "end": { "line": 341, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8862, "end": 8906, "loc": { "start": { "line": 339, "column": 52 }, "end": { "line": 341, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 8881, "end": 8891, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 26 } }, "expression": { "type": "CallExpression", "start": 8881, "end": 8890, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 25 } }, "callee": { "type": "Identifier", "start": 8881, "end": 8888, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 23 }, "identifierName": "resolve" }, "name": "resolve" }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [] } } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 9010, "end": 9086, "loc": { "start": { "line": 351, "column": 0 }, "end": { "line": 353, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 9017, "end": 9086, "loc": { "start": { "line": 351, "column": 7 }, "end": { "line": 353, "column": 1 } }, "id": { "type": "Identifier", "start": 9026, "end": 9037, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 27 }, "identifierName": "round1Digit" }, "name": "round1Digit", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9038, "end": 9039, "loc": { "start": { "line": 351, "column": 28 }, "end": { "line": 351, "column": 29 }, "identifierName": "n" }, "name": "n" } ], "body": { "type": "BlockStatement", "start": 9041, "end": 9086, "loc": { "start": { "line": 351, "column": 31 }, "end": { "line": 353, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 9048, "end": 9083, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 39 } }, "argument": { "type": "BinaryExpression", "start": 9055, "end": 9082, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 38 } }, "left": { "type": "CallExpression", "start": 9055, "end": 9075, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 9055, "end": 9065, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 21 } }, "object": { "type": "Identifier", "start": 9055, "end": 9059, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9060, "end": 9065, "loc": { "start": { "line": 352, "column": 16 }, "end": { "line": 352, "column": 21 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 9066, "end": 9074, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 30 } }, "left": { "type": "Identifier", "start": 9066, "end": 9067, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 23 }, "identifierName": "n" }, "name": "n" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 9070, "end": 9074, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 30 } }, "extra": { "rawValue": 10, "raw": "10.0" }, "value": 10 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 9078, "end": 9082, "loc": { "start": { "line": 352, "column": 34 }, "end": { "line": 352, "column": 38 } }, "extra": { "rawValue": 10, "raw": "10.0" }, "value": 10 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 9164, "end": 9243, "loc": { "start": { "line": 360, "column": 0 }, "end": { "line": 362, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 9171, "end": 9243, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 362, "column": 1 } }, "id": { "type": "Identifier", "start": 9180, "end": 9192, "loc": { "start": { "line": 360, "column": 16 }, "end": { "line": 360, "column": 28 }, "identifierName": "round2Digits" }, "name": "round2Digits", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9193, "end": 9194, "loc": { "start": { "line": 360, "column": 29 }, "end": { "line": 360, "column": 30 }, "identifierName": "n" }, "name": "n" } ], "body": { "type": "BlockStatement", "start": 9196, "end": 9243, "loc": { "start": { "line": 360, "column": 32 }, "end": { "line": 362, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 9203, "end": 9240, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 41 } }, "argument": { "type": "BinaryExpression", "start": 9210, "end": 9239, "loc": { "start": { "line": 361, "column": 11 }, "end": { "line": 361, "column": 40 } }, "left": { "type": "CallExpression", "start": 9210, "end": 9231, "loc": { "start": { "line": 361, "column": 11 }, "end": { "line": 361, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9210, "end": 9220, "loc": { "start": { "line": 361, "column": 11 }, "end": { "line": 361, "column": 21 } }, "object": { "type": "Identifier", "start": 9210, "end": 9214, "loc": { "start": { "line": 361, "column": 11 }, "end": { "line": 361, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9215, "end": 9220, "loc": { "start": { "line": 361, "column": 16 }, "end": { "line": 361, "column": 21 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 9221, "end": 9230, "loc": { "start": { "line": 361, "column": 22 }, "end": { "line": 361, "column": 31 } }, "left": { "type": "Identifier", "start": 9221, "end": 9222, "loc": { "start": { "line": 361, "column": 22 }, "end": { "line": 361, "column": 23 }, "identifierName": "n" }, "name": "n" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 9225, "end": 9230, "loc": { "start": { "line": 361, "column": 26 }, "end": { "line": 361, "column": 31 } }, "extra": { "rawValue": 100, "raw": "100.0" }, "value": 100 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 9234, "end": 9239, "loc": { "start": { "line": 361, "column": 35 }, "end": { "line": 361, "column": 40 } }, "extra": { "rawValue": 100, "raw": "100.0" }, "value": 100 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 9321, "end": 9402, "loc": { "start": { "line": 369, "column": 0 }, "end": { "line": 371, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 9328, "end": 9402, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 371, "column": 1 } }, "id": { "type": "Identifier", "start": 9337, "end": 9349, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 28 }, "identifierName": "round3Digits" }, "name": "round3Digits", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9350, "end": 9351, "loc": { "start": { "line": 369, "column": 29 }, "end": { "line": 369, "column": 30 }, "identifierName": "n" }, "name": "n" } ], "body": { "type": "BlockStatement", "start": 9353, "end": 9402, "loc": { "start": { "line": 369, "column": 32 }, "end": { "line": 371, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 9360, "end": 9399, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 370, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 9367, "end": 9398, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 42 } }, "left": { "type": "CallExpression", "start": 9367, "end": 9389, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 9367, "end": 9377, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 21 } }, "object": { "type": "Identifier", "start": 9367, "end": 9371, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9372, "end": 9377, "loc": { "start": { "line": 370, "column": 16 }, "end": { "line": 370, "column": 21 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 9378, "end": 9388, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 32 } }, "left": { "type": "Identifier", "start": 9378, "end": 9379, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 23 }, "identifierName": "n" }, "name": "n" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 9382, "end": 9388, "loc": { "start": { "line": 370, "column": 26 }, "end": { "line": 370, "column": 32 } }, "extra": { "rawValue": 1000, "raw": "1000.0" }, "value": 1000 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 9392, "end": 9398, "loc": { "start": { "line": 370, "column": 36 }, "end": { "line": 370, "column": 42 } }, "extra": { "rawValue": 1000, "raw": "1000.0" }, "value": 1000 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 9480, "end": 9563, "loc": { "start": { "line": 378, "column": 0 }, "end": { "line": 380, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 9487, "end": 9563, "loc": { "start": { "line": 378, "column": 7 }, "end": { "line": 380, "column": 1 } }, "id": { "type": "Identifier", "start": 9496, "end": 9508, "loc": { "start": { "line": 378, "column": 16 }, "end": { "line": 378, "column": 28 }, "identifierName": "round4Digits" }, "name": "round4Digits", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9509, "end": 9510, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 30 }, "identifierName": "n" }, "name": "n" } ], "body": { "type": "BlockStatement", "start": 9512, "end": 9563, "loc": { "start": { "line": 378, "column": 32 }, "end": { "line": 380, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 9519, "end": 9560, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 45 } }, "argument": { "type": "BinaryExpression", "start": 9526, "end": 9559, "loc": { "start": { "line": 379, "column": 11 }, "end": { "line": 379, "column": 44 } }, "left": { "type": "CallExpression", "start": 9526, "end": 9549, "loc": { "start": { "line": 379, "column": 11 }, "end": { "line": 379, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 9526, "end": 9536, "loc": { "start": { "line": 379, "column": 11 }, "end": { "line": 379, "column": 21 } }, "object": { "type": "Identifier", "start": 9526, "end": 9530, "loc": { "start": { "line": 379, "column": 11 }, "end": { "line": 379, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9531, "end": 9536, "loc": { "start": { "line": 379, "column": 16 }, "end": { "line": 379, "column": 21 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 9537, "end": 9548, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 33 } }, "left": { "type": "Identifier", "start": 9537, "end": 9538, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 23 }, "identifierName": "n" }, "name": "n" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 9541, "end": 9548, "loc": { "start": { "line": 379, "column": 26 }, "end": { "line": 379, "column": 33 } }, "extra": { "rawValue": 10000, "raw": "10000.0" }, "value": 10000 } } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 9552, "end": 9559, "loc": { "start": { "line": 379, "column": 37 }, "end": { "line": 379, "column": 44 } }, "extra": { "rawValue": 10000, "raw": "10000.0" }, "value": 10000 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 9715, "end": 9823, "loc": { "start": { "line": 388, "column": 0 }, "end": { "line": 390, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 9722, "end": 9823, "loc": { "start": { "line": 388, "column": 7 }, "end": { "line": 390, "column": 1 } }, "id": { "type": "Identifier", "start": 9731, "end": 9736, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 21 }, "identifierName": "clamp" }, "name": "clamp", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9737, "end": 9738, "loc": { "start": { "line": 388, "column": 22 }, "end": { "line": 388, "column": 23 }, "identifierName": "v" }, "name": "v" }, { "type": "AssignmentPattern", "start": 9740, "end": 9751, "loc": { "start": { "line": 388, "column": 25 }, "end": { "line": 388, "column": 36 } }, "left": { "type": "Identifier", "start": 9740, "end": 9747, "loc": { "start": { "line": 388, "column": 25 }, "end": { "line": 388, "column": 32 }, "identifierName": "minimum" }, "name": "minimum" }, "right": { "type": "NumericLiteral", "start": 9750, "end": 9751, "loc": { "start": { "line": 388, "column": 35 }, "end": { "line": 388, "column": 36 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "AssignmentPattern", "start": 9753, "end": 9764, "loc": { "start": { "line": 388, "column": 38 }, "end": { "line": 388, "column": 49 } }, "left": { "type": "Identifier", "start": 9753, "end": 9760, "loc": { "start": { "line": 388, "column": 38 }, "end": { "line": 388, "column": 45 }, "identifierName": "maximum" }, "name": "maximum" }, "right": { "type": "NumericLiteral", "start": 9763, "end": 9764, "loc": { "start": { "line": 388, "column": 48 }, "end": { "line": 388, "column": 49 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "body": { "type": "BlockStatement", "start": 9766, "end": 9823, "loc": { "start": { "line": 388, "column": 51 }, "end": { "line": 390, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 9773, "end": 9820, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "column": 51 } }, "argument": { "type": "CallExpression", "start": 9780, "end": 9819, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 9780, "end": 9788, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 19 } }, "object": { "type": "Identifier", "start": 9780, "end": 9784, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9785, "end": 9788, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 19 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9789, "end": 9796, "loc": { "start": { "line": 389, "column": 20 }, "end": { "line": 389, "column": 27 }, "identifierName": "minimum" }, "name": "minimum" }, { "type": "CallExpression", "start": 9798, "end": 9818, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 9798, "end": 9806, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "column": 37 } }, "object": { "type": "Identifier", "start": 9798, "end": 9802, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "column": 33 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 9803, "end": 9806, "loc": { "start": { "line": 389, "column": 34 }, "end": { "line": 389, "column": 37 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9807, "end": 9814, "loc": { "start": { "line": 389, "column": 38 }, "end": { "line": 389, "column": 45 }, "identifierName": "maximum" }, "name": "maximum" }, { "type": "Identifier", "start": 9816, "end": 9817, "loc": { "start": { "line": 389, "column": 47 }, "end": { "line": 389, "column": 48 }, "identifierName": "v" }, "name": "v" } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div element\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 9827, "end": 9972, "loc": { "start": { "line": 392, "column": 0 }, "end": { "line": 397, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div element\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 9827, "end": 9972, "loc": { "start": { "line": 392, "column": 0 }, "end": { "line": 397, "column": 3 } } } ] }, { "type": "FunctionDeclaration", "start": 9974, "end": 10279, "loc": { "start": { "line": 398, "column": 0 }, "end": { "line": 408, "column": 1 } }, "id": { "type": "Identifier", "start": 9983, "end": 9997, "loc": { "start": { "line": 398, "column": 9 }, "end": { "line": 398, "column": 23 }, "identifierName": "makeDivElement" }, "name": "makeDivElement", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 9998, "end": 10007, "loc": { "start": { "line": 398, "column": 24 }, "end": { "line": 398, "column": 33 } }, "left": { "type": "Identifier", "start": 9998, "end": 10000, "loc": { "start": { "line": 398, "column": 24 }, "end": { "line": 398, "column": 26 }, "identifierName": "id" }, "name": "id" }, "right": { "type": "NullLiteral", "start": 10003, "end": 10007, "loc": { "start": { "line": 398, "column": 29 }, "end": { "line": 398, "column": 33 } } } }, { "type": "AssignmentPattern", "start": 10009, "end": 10021, "loc": { "start": { "line": 398, "column": 35 }, "end": { "line": 398, "column": 47 } }, "left": { "type": "Identifier", "start": 10009, "end": 10016, "loc": { "start": { "line": 398, "column": 35 }, "end": { "line": 398, "column": 42 }, "identifierName": "classes" }, "name": "classes" }, "right": { "type": "ArrayExpression", "start": 10019, "end": 10021, "loc": { "start": { "line": 398, "column": 45 }, "end": { "line": 398, "column": 47 } }, "elements": [] } }, { "type": "AssignmentPattern", "start": 10023, "end": 10037, "loc": { "start": { "line": 398, "column": 49 }, "end": { "line": 398, "column": 63 } }, "left": { "type": "Identifier", "start": 10023, "end": 10032, "loc": { "start": { "line": 398, "column": 49 }, "end": { "line": 398, "column": 58 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "right": { "type": "StringLiteral", "start": 10035, "end": 10037, "loc": { "start": { "line": 398, "column": 61 }, "end": { "line": 398, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "body": { "type": "BlockStatement", "start": 10039, "end": 10279, "loc": { "start": { "line": 398, "column": 65 }, "end": { "line": 408, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 10046, "end": 10088, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10052, "end": 10087, "loc": { "start": { "line": 399, "column": 10 }, "end": { "line": 399, "column": 45 } }, "id": { "type": "Identifier", "start": 10052, "end": 10055, "loc": { "start": { "line": 399, "column": 10 }, "end": { "line": 399, "column": 13 }, "identifierName": "div" }, "name": "div" }, "init": { "type": "CallExpression", "start": 10058, "end": 10087, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 399, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 10058, "end": 10080, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 399, "column": 38 } }, "object": { "type": "Identifier", "start": 10058, "end": 10066, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 399, "column": 24 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 10067, "end": 10080, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 38 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10081, "end": 10086, "loc": { "start": { "line": 399, "column": 39 }, "end": { "line": 399, "column": 44 } }, "extra": { "rawValue": "div", "raw": "\"div\"" }, "value": "div" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 10094, "end": 10132, "loc": { "start": { "line": 400, "column": 4 }, "end": { "line": 402, "column": 5 } }, "test": { "type": "Identifier", "start": 10098, "end": 10100, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 10 }, "identifierName": "id" }, "name": "id" }, "consequent": { "type": "BlockStatement", "start": 10102, "end": 10132, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 402, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10113, "end": 10125, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 10113, "end": 10124, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10113, "end": 10119, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 14 } }, "object": { "type": "Identifier", "start": 10113, "end": 10116, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 11 }, "identifierName": "div" }, "name": "div" }, "property": { "type": "Identifier", "start": 10117, "end": 10119, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 14 }, "identifierName": "id" }, "name": "id" }, "computed": false }, "right": { "type": "Identifier", "start": 10122, "end": 10124, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "column": 19 }, "identifierName": "id" }, "name": "id" } } } ], "directives": [] }, "alternate": null }, { "type": "ForStatement", "start": 10138, "end": 10227, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 405, "column": 5 } }, "init": { "type": "VariableDeclaration", "start": 10143, "end": 10152, "loc": { "start": { "line": 403, "column": 9 }, "end": { "line": 403, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10147, "end": 10152, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 18 } }, "id": { "type": "Identifier", "start": 10147, "end": 10148, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 14 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 10151, "end": 10152, "loc": { "start": { "line": 403, "column": 17 }, "end": { "line": 403, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 10154, "end": 10172, "loc": { "start": { "line": 403, "column": 20 }, "end": { "line": 403, "column": 38 } }, "left": { "type": "Identifier", "start": 10154, "end": 10155, "loc": { "start": { "line": 403, "column": 20 }, "end": { "line": 403, "column": 21 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 10158, "end": 10172, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 38 } }, "object": { "type": "Identifier", "start": 10158, "end": 10165, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 31 }, "identifierName": "classes" }, "name": "classes" }, "property": { "type": "Identifier", "start": 10166, "end": 10172, "loc": { "start": { "line": 403, "column": 32 }, "end": { "line": 403, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 10174, "end": 10177, "loc": { "start": { "line": 403, "column": 40 }, "end": { "line": 403, "column": 43 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 10176, "end": 10177, "loc": { "start": { "line": 403, "column": 42 }, "end": { "line": 403, "column": 43 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 10179, "end": 10227, "loc": { "start": { "line": 403, "column": 45 }, "end": { "line": 405, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10190, "end": 10220, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10190, "end": 10219, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10190, "end": 10207, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 25 } }, "object": { "type": "MemberExpression", "start": 10190, "end": 10203, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 21 } }, "object": { "type": "Identifier", "start": 10190, "end": 10193, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 11 }, "identifierName": "div" }, "name": "div" }, "property": { "type": "Identifier", "start": 10194, "end": 10203, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 21 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 10204, "end": 10207, "loc": { "start": { "line": 404, "column": 22 }, "end": { "line": 404, "column": 25 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10208, "end": 10218, "loc": { "start": { "line": 404, "column": 26 }, "end": { "line": 404, "column": 36 } }, "object": { "type": "Identifier", "start": 10208, "end": 10215, "loc": { "start": { "line": 404, "column": 26 }, "end": { "line": 404, "column": 33 }, "identifierName": "classes" }, "name": "classes" }, "property": { "type": "Identifier", "start": 10216, "end": 10217, "loc": { "start": { "line": 404, "column": 34 }, "end": { "line": 404, "column": 35 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 10233, "end": 10259, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 10233, "end": 10258, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10233, "end": 10246, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 17 } }, "object": { "type": "Identifier", "start": 10233, "end": 10236, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 7 }, "identifierName": "div" }, "name": "div" }, "property": { "type": "Identifier", "start": 10237, "end": 10246, "loc": { "start": { "line": 406, "column": 8 }, "end": { "line": 406, "column": 17 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 10249, "end": 10258, "loc": { "start": { "line": 406, "column": 20 }, "end": { "line": 406, "column": 29 }, "identifierName": "innerHTML" }, "name": "innerHTML" } } }, { "type": "ReturnStatement", "start": 10265, "end": 10276, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 15 } }, "argument": { "type": "Identifier", "start": 10272, "end": 10275, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 14 }, "identifierName": "div" }, "name": "div" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div element\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 9827, "end": 9972, "loc": { "start": { "line": 392, "column": 0 }, "end": { "line": 397, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div\r\n * @param {Element} parent\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10283, "end": 10448, "loc": { "start": { "line": 410, "column": 0 }, "end": { "line": 416, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 10450, "end": 10631, "loc": { "start": { "line": 417, "column": 0 }, "end": { "line": 421, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 10457, "end": 10631, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 421, "column": 1 } }, "id": { "type": "Identifier", "start": 10466, "end": 10473, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 23 }, "identifierName": "makeDiv" }, "name": "makeDiv", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10474, "end": 10480, "loc": { "start": { "line": 417, "column": 24 }, "end": { "line": 417, "column": 30 }, "identifierName": "parent" }, "name": "parent" }, { "type": "AssignmentPattern", "start": 10482, "end": 10491, "loc": { "start": { "line": 417, "column": 32 }, "end": { "line": 417, "column": 41 } }, "left": { "type": "Identifier", "start": 10482, "end": 10484, "loc": { "start": { "line": 417, "column": 32 }, "end": { "line": 417, "column": 34 }, "identifierName": "id" }, "name": "id" }, "right": { "type": "NullLiteral", "start": 10487, "end": 10491, "loc": { "start": { "line": 417, "column": 37 }, "end": { "line": 417, "column": 41 } } } }, { "type": "AssignmentPattern", "start": 10493, "end": 10505, "loc": { "start": { "line": 417, "column": 43 }, "end": { "line": 417, "column": 55 } }, "left": { "type": "Identifier", "start": 10493, "end": 10500, "loc": { "start": { "line": 417, "column": 43 }, "end": { "line": 417, "column": 50 }, "identifierName": "classes" }, "name": "classes" }, "right": { "type": "ArrayExpression", "start": 10503, "end": 10505, "loc": { "start": { "line": 417, "column": 53 }, "end": { "line": 417, "column": 55 } }, "elements": [] } }, { "type": "AssignmentPattern", "start": 10507, "end": 10521, "loc": { "start": { "line": 417, "column": 57 }, "end": { "line": 417, "column": 71 } }, "left": { "type": "Identifier", "start": 10507, "end": 10516, "loc": { "start": { "line": 417, "column": 57 }, "end": { "line": 417, "column": 66 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "right": { "type": "StringLiteral", "start": 10519, "end": 10521, "loc": { "start": { "line": 417, "column": 69 }, "end": { "line": 417, "column": 71 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "body": { "type": "BlockStatement", "start": 10523, "end": 10631, "loc": { "start": { "line": 417, "column": 73 }, "end": { "line": 421, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 10530, "end": 10581, "loc": { "start": { "line": 418, "column": 4 }, "end": { "line": 418, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10536, "end": 10580, "loc": { "start": { "line": 418, "column": 10 }, "end": { "line": 418, "column": 54 } }, "id": { "type": "Identifier", "start": 10536, "end": 10539, "loc": { "start": { "line": 418, "column": 10 }, "end": { "line": 418, "column": 13 }, "identifierName": "div" }, "name": "div" }, "init": { "type": "CallExpression", "start": 10542, "end": 10580, "loc": { "start": { "line": 418, "column": 16 }, "end": { "line": 418, "column": 54 } }, "callee": { "type": "Identifier", "start": 10542, "end": 10556, "loc": { "start": { "line": 418, "column": 16 }, "end": { "line": 418, "column": 30 }, "identifierName": "makeDivElement" }, "name": "makeDivElement" }, "arguments": [ { "type": "Identifier", "start": 10557, "end": 10559, "loc": { "start": { "line": 418, "column": 31 }, "end": { "line": 418, "column": 33 }, "identifierName": "id" }, "name": "id" }, { "type": "Identifier", "start": 10561, "end": 10568, "loc": { "start": { "line": 418, "column": 35 }, "end": { "line": 418, "column": 42 }, "identifierName": "classes" }, "name": "classes" }, { "type": "Identifier", "start": 10570, "end": 10579, "loc": { "start": { "line": 418, "column": 44 }, "end": { "line": 418, "column": 53 }, "identifierName": "innerHTML" }, "name": "innerHTML" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 10587, "end": 10611, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 28 } }, "expression": { "type": "CallExpression", "start": 10587, "end": 10610, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 10587, "end": 10605, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 22 } }, "object": { "type": "Identifier", "start": 10587, "end": 10593, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 10 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 10594, "end": 10605, "loc": { "start": { "line": 419, "column": 11 }, "end": { "line": 419, "column": 22 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10606, "end": 10609, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 26 }, "identifierName": "div" }, "name": "div" } ] } }, { "type": "ReturnStatement", "start": 10617, "end": 10628, "loc": { "start": { "line": 420, "column": 4 }, "end": { "line": 420, "column": 15 } }, "argument": { "type": "Identifier", "start": 10624, "end": 10627, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 14 }, "identifierName": "div" }, "name": "div" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div\r\n * @param {Element} parent\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10283, "end": 10448, "loc": { "start": { "line": 410, "column": 0 }, "end": { "line": 416, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div\r\n * @param {Element} parent\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10283, "end": 10448, "loc": { "start": { "line": 410, "column": 0 }, "end": { "line": 416, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 10761, "end": 11084, "loc": { "start": { "line": 428, "column": 0 }, "end": { "line": 436, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 10768, "end": 11084, "loc": { "start": { "line": 428, "column": 7 }, "end": { "line": 436, "column": 1 } }, "id": { "type": "Identifier", "start": 10777, "end": 10794, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 33 }, "identifierName": "makeButtonElement" }, "name": "makeButtonElement", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 10795, "end": 10807, "loc": { "start": { "line": 428, "column": 34 }, "end": { "line": 428, "column": 46 } }, "left": { "type": "Identifier", "start": 10795, "end": 10802, "loc": { "start": { "line": 428, "column": 34 }, "end": { "line": 428, "column": 41 }, "identifierName": "classes" }, "name": "classes" }, "right": { "type": "ArrayExpression", "start": 10805, "end": 10807, "loc": { "start": { "line": 428, "column": 44 }, "end": { "line": 428, "column": 46 } }, "elements": [] } }, { "type": "AssignmentPattern", "start": 10809, "end": 10823, "loc": { "start": { "line": 428, "column": 48 }, "end": { "line": 428, "column": 62 } }, "left": { "type": "Identifier", "start": 10809, "end": 10818, "loc": { "start": { "line": 428, "column": 48 }, "end": { "line": 428, "column": 57 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "right": { "type": "StringLiteral", "start": 10821, "end": 10823, "loc": { "start": { "line": 428, "column": 60 }, "end": { "line": 428, "column": 62 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "body": { "type": "BlockStatement", "start": 10825, "end": 11084, "loc": { "start": { "line": 428, "column": 64 }, "end": { "line": 436, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 10832, "end": 10881, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10838, "end": 10880, "loc": { "start": { "line": 429, "column": 10 }, "end": { "line": 429, "column": 52 } }, "id": { "type": "Identifier", "start": 10838, "end": 10845, "loc": { "start": { "line": 429, "column": 10 }, "end": { "line": 429, "column": 17 }, "identifierName": "element" }, "name": "element" }, "init": { "type": "CallExpression", "start": 10848, "end": 10880, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 10848, "end": 10870, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 42 } }, "object": { "type": "Identifier", "start": 10848, "end": 10856, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 28 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 10857, "end": 10870, "loc": { "start": { "line": 429, "column": 29 }, "end": { "line": 429, "column": 42 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10871, "end": 10879, "loc": { "start": { "line": 429, "column": 43 }, "end": { "line": 429, "column": 51 } }, "extra": { "rawValue": "button", "raw": "\"button\"" }, "value": "button" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 10887, "end": 10980, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 432, "column": 5 } }, "init": { "type": "VariableDeclaration", "start": 10892, "end": 10901, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10896, "end": 10901, "loc": { "start": { "line": 430, "column": 13 }, "end": { "line": 430, "column": 18 } }, "id": { "type": "Identifier", "start": 10896, "end": 10897, "loc": { "start": { "line": 430, "column": 13 }, "end": { "line": 430, "column": 14 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 10900, "end": 10901, "loc": { "start": { "line": 430, "column": 17 }, "end": { "line": 430, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 10903, "end": 10921, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 38 } }, "left": { "type": "Identifier", "start": 10903, "end": 10904, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 21 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 10907, "end": 10921, "loc": { "start": { "line": 430, "column": 24 }, "end": { "line": 430, "column": 38 } }, "object": { "type": "Identifier", "start": 10907, "end": 10914, "loc": { "start": { "line": 430, "column": 24 }, "end": { "line": 430, "column": 31 }, "identifierName": "classes" }, "name": "classes" }, "property": { "type": "Identifier", "start": 10915, "end": 10921, "loc": { "start": { "line": 430, "column": 32 }, "end": { "line": 430, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 10923, "end": 10926, "loc": { "start": { "line": 430, "column": 40 }, "end": { "line": 430, "column": 43 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 10925, "end": 10926, "loc": { "start": { "line": 430, "column": 42 }, "end": { "line": 430, "column": 43 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 10928, "end": 10980, "loc": { "start": { "line": 430, "column": 45 }, "end": { "line": 432, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10939, "end": 10973, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10939, "end": 10972, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10939, "end": 10960, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 29 } }, "object": { "type": "MemberExpression", "start": 10939, "end": 10956, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 25 } }, "object": { "type": "Identifier", "start": 10939, "end": 10946, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 15 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 10947, "end": 10956, "loc": { "start": { "line": 431, "column": 16 }, "end": { "line": 431, "column": 25 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 10957, "end": 10960, "loc": { "start": { "line": 431, "column": 26 }, "end": { "line": 431, "column": 29 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10961, "end": 10971, "loc": { "start": { "line": 431, "column": 30 }, "end": { "line": 431, "column": 40 } }, "object": { "type": "Identifier", "start": 10961, "end": 10968, "loc": { "start": { "line": 431, "column": 30 }, "end": { "line": 431, "column": 37 }, "identifierName": "classes" }, "name": "classes" }, "property": { "type": "Identifier", "start": 10969, "end": 10970, "loc": { "start": { "line": 431, "column": 38 }, "end": { "line": 431, "column": 39 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 10986, "end": 11024, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 42 } }, "expression": { "type": "CallExpression", "start": 10986, "end": 11023, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 10986, "end": 11007, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "MemberExpression", "start": 10986, "end": 11003, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 21 } }, "object": { "type": "Identifier", "start": 10986, "end": 10993, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 10994, "end": 11003, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 21 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 11004, "end": 11007, "loc": { "start": { "line": 433, "column": 22 }, "end": { "line": 433, "column": 25 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11008, "end": 11022, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 433, "column": 40 } }, "extra": { "rawValue": "styledButton", "raw": "\"styledButton\"" }, "value": "styledButton" } ] } }, { "type": "ExpressionStatement", "start": 11030, "end": 11060, "loc": { "start": { "line": 434, "column": 4 }, "end": { "line": 434, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11030, "end": 11059, "loc": { "start": { "line": 434, "column": 4 }, "end": { "line": 434, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11030, "end": 11047, "loc": { "start": { "line": 434, "column": 4 }, "end": { "line": 434, "column": 21 } }, "object": { "type": "Identifier", "start": 11030, "end": 11037, "loc": { "start": { "line": 434, "column": 4 }, "end": { "line": 434, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 11038, "end": 11047, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 21 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 11050, "end": 11059, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 33 }, "identifierName": "innerHTML" }, "name": "innerHTML" } } }, { "type": "ReturnStatement", "start": 11066, "end": 11081, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 435, "column": 19 } }, "argument": { "type": "Identifier", "start": 11073, "end": 11080, "loc": { "start": { "line": 435, "column": 11 }, "end": { "line": 435, "column": 18 }, "identifierName": "element" }, "name": "element" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 11234, "end": 11418, "loc": { "start": { "line": 444, "column": 0 }, "end": { "line": 448, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 11241, "end": 11418, "loc": { "start": { "line": 444, "column": 7 }, "end": { "line": 448, "column": 1 } }, "id": { "type": "Identifier", "start": 11250, "end": 11260, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 26 }, "identifierName": "makeButton" }, "name": "makeButton", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11261, "end": 11267, "loc": { "start": { "line": 444, "column": 27 }, "end": { "line": 444, "column": 33 }, "identifierName": "parent" }, "name": "parent" }, { "type": "AssignmentPattern", "start": 11269, "end": 11281, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 47 } }, "left": { "type": "Identifier", "start": 11269, "end": 11276, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 42 }, "identifierName": "classes" }, "name": "classes" }, "right": { "type": "ArrayExpression", "start": 11279, "end": 11281, "loc": { "start": { "line": 444, "column": 45 }, "end": { "line": 444, "column": 47 } }, "elements": [] } }, { "type": "AssignmentPattern", "start": 11283, "end": 11297, "loc": { "start": { "line": 444, "column": 49 }, "end": { "line": 444, "column": 63 } }, "left": { "type": "Identifier", "start": 11283, "end": 11292, "loc": { "start": { "line": 444, "column": 49 }, "end": { "line": 444, "column": 58 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "right": { "type": "StringLiteral", "start": 11295, "end": 11297, "loc": { "start": { "line": 444, "column": 61 }, "end": { "line": 444, "column": 63 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "body": { "type": "BlockStatement", "start": 11299, "end": 11418, "loc": { "start": { "line": 444, "column": 65 }, "end": { "line": 448, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 11306, "end": 11360, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11312, "end": 11359, "loc": { "start": { "line": 445, "column": 10 }, "end": { "line": 445, "column": 57 } }, "id": { "type": "Identifier", "start": 11312, "end": 11319, "loc": { "start": { "line": 445, "column": 10 }, "end": { "line": 445, "column": 17 }, "identifierName": "element" }, "name": "element" }, "init": { "type": "CallExpression", "start": 11322, "end": 11359, "loc": { "start": { "line": 445, "column": 20 }, "end": { "line": 445, "column": 57 } }, "callee": { "type": "Identifier", "start": 11322, "end": 11339, "loc": { "start": { "line": 445, "column": 20 }, "end": { "line": 445, "column": 37 }, "identifierName": "makeButtonElement" }, "name": "makeButtonElement" }, "arguments": [ { "type": "Identifier", "start": 11340, "end": 11347, "loc": { "start": { "line": 445, "column": 38 }, "end": { "line": 445, "column": 45 }, "identifierName": "classes" }, "name": "classes" }, { "type": "Identifier", "start": 11349, "end": 11358, "loc": { "start": { "line": 445, "column": 47 }, "end": { "line": 445, "column": 56 }, "identifierName": "innerHTML" }, "name": "innerHTML" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 11366, "end": 11394, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 32 } }, "expression": { "type": "CallExpression", "start": 11366, "end": 11393, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 11366, "end": 11384, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 22 } }, "object": { "type": "Identifier", "start": 11366, "end": 11372, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 10 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 11373, "end": 11384, "loc": { "start": { "line": 446, "column": 11 }, "end": { "line": 446, "column": 22 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11385, "end": 11392, "loc": { "start": { "line": 446, "column": 23 }, "end": { "line": 446, "column": 30 }, "identifierName": "element" }, "name": "element" } ] } }, { "type": "ReturnStatement", "start": 11400, "end": 11415, "loc": { "start": { "line": 447, "column": 4 }, "end": { "line": 447, "column": 19 } }, "argument": { "type": "Identifier", "start": 11407, "end": 11414, "loc": { "start": { "line": 447, "column": 11 }, "end": { "line": 447, "column": 18 }, "identifierName": "element" }, "name": "element" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 11504, "end": 11691, "loc": { "start": { "line": 454, "column": 0 }, "end": { "line": 460, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 11511, "end": 11691, "loc": { "start": { "line": 454, "column": 7 }, "end": { "line": 460, "column": 1 } }, "id": { "type": "Identifier", "start": 11520, "end": 11537, "loc": { "start": { "line": 454, "column": 16 }, "end": { "line": 454, "column": 33 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11538, "end": 11542, "loc": { "start": { "line": 454, "column": 34 }, "end": { "line": 454, "column": 38 }, "identifierName": "elem" }, "name": "elem" } ], "body": { "type": "BlockStatement", "start": 11544, "end": 11691, "loc": { "start": { "line": 454, "column": 40 }, "end": { "line": 460, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 11551, "end": 11688, "loc": { "start": { "line": 455, "column": 4 }, "end": { "line": 459, "column": 5 } }, "test": { "type": "Identifier", "start": 11555, "end": 11559, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 12 }, "identifierName": "elem" }, "name": "elem" }, "consequent": { "type": "BlockStatement", "start": 11561, "end": 11688, "loc": { "start": { "line": 455, "column": 14 }, "end": { "line": 459, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 11572, "end": 11607, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11576, "end": 11606, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 42 } }, "id": { "type": "Identifier", "start": 11576, "end": 11581, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 17 }, "identifierName": "range" }, "name": "range" }, "init": { "type": "CallExpression", "start": 11584, "end": 11606, "loc": { "start": { "line": 456, "column": 20 }, "end": { "line": 456, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 11584, "end": 11604, "loc": { "start": { "line": 456, "column": 20 }, "end": { "line": 456, "column": 40 } }, "object": { "type": "Identifier", "start": 11584, "end": 11592, "loc": { "start": { "line": 456, "column": 20 }, "end": { "line": 456, "column": 28 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 11593, "end": 11604, "loc": { "start": { "line": 456, "column": 29 }, "end": { "line": 456, "column": 40 }, "identifierName": "createRange" }, "name": "createRange" }, "computed": false }, "arguments": [] } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 11617, "end": 11648, "loc": { "start": { "line": 457, "column": 8 }, "end": { "line": 457, "column": 39 } }, "expression": { "type": "CallExpression", "start": 11617, "end": 11647, "loc": { "start": { "line": 457, "column": 8 }, "end": { "line": 457, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 11617, "end": 11641, "loc": { "start": { "line": 457, "column": 8 }, "end": { "line": 457, "column": 32 } }, "object": { "type": "Identifier", "start": 11617, "end": 11622, "loc": { "start": { "line": 457, "column": 8 }, "end": { "line": 457, "column": 13 }, "identifierName": "range" }, "name": "range" }, "property": { "type": "Identifier", "start": 11623, "end": 11641, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 32 }, "identifierName": "selectNodeContents" }, "name": "selectNodeContents" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11642, "end": 11646, "loc": { "start": { "line": 457, "column": 33 }, "end": { "line": 457, "column": 37 }, "identifierName": "elem" }, "name": "elem" } ] } }, { "type": "ExpressionStatement", "start": 11658, "end": 11681, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 31 } }, "expression": { "type": "CallExpression", "start": 11658, "end": 11680, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 11658, "end": 11678, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 28 } }, "object": { "type": "Identifier", "start": 11658, "end": 11663, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 13 }, "identifierName": "range" }, "name": "range" }, "property": { "type": "Identifier", "start": 11664, "end": 11678, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 28 }, "identifierName": "deleteContents" }, "name": "deleteContents" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 11751, "end": 12858, "loc": { "start": { "line": 465, "column": 0 }, "end": { "line": 501, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 11758, "end": 12858, "loc": { "start": { "line": 465, "column": 7 }, "end": { "line": 501, "column": 1 } }, "id": { "type": "Identifier", "start": 11767, "end": 11785, "loc": { "start": { "line": 465, "column": 16 }, "end": { "line": 465, "column": 34 }, "identifierName": "isSupportedBrowser" }, "name": "isSupportedBrowser", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11788, "end": 12858, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 501, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 12137, "end": 12207, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 476, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12141, "end": 12175, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 42 } }, "left": { "type": "Identifier", "start": 12141, "end": 12156, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 23 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP", "leadingComments": null }, "operator": "||", "right": { "type": "Identifier", "start": 12160, "end": 12175, "loc": { "start": { "line": 474, "column": 27 }, "end": { "line": 474, "column": 42 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12177, "end": 12207, "loc": { "start": { "line": 474, "column": 44 }, "end": { "line": 476, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 12188, "end": 12200, "loc": { "start": { "line": 475, "column": 8 }, "end": { "line": 475, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 12195, "end": 12199, "loc": { "start": { "line": 475, "column": 15 }, "end": { "line": 475, "column": 19 } }, "value": true } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " please note,", "start": 11795, "end": 11810, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 19 } } }, { "type": "CommentLine", "value": " that IE11 now returns undefined again for window.chrome", "start": 11816, "end": 11874, "loc": { "start": { "line": 467, "column": 4 }, "end": { "line": 467, "column": 62 } } }, { "type": "CommentLine", "value": " and new Opera 30 outputs true for window.chrome", "start": 11880, "end": 11930, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 54 } } }, { "type": "CommentLine", "value": " but needs to check if window.opr is not undefined", "start": 11936, "end": 11988, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 56 } } }, { "type": "CommentLine", "value": " and new IE Edge outputs to true now for window.chrome", "start": 11994, "end": 12050, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 60 } } }, { "type": "CommentLine", "value": " and if not iOS Chrome check", "start": 12056, "end": 12086, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 34 } } }, { "type": "CommentLine", "value": " so use the below updated condition", "start": 12092, "end": 12129, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 472, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 12215, "end": 12228, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 12234, "end": 12265, "loc": { "start": { "line": 479, "column": 4 }, "end": { "line": 479, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12238, "end": 12264, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 34 } }, "id": { "type": "Identifier", "start": 12238, "end": 12248, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 18 }, "identifierName": "isChromium" }, "name": "isChromium", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 12251, "end": 12264, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 34 } }, "object": { "type": "Identifier", "start": 12251, "end": 12257, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 27 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 12258, "end": 12264, "loc": { "start": { "line": 479, "column": 28 }, "end": { "line": 479, "column": 34 }, "identifierName": "chrome" }, "name": "chrome" }, "computed": false }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 12215, "end": 12228, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 12271, "end": 12301, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12275, "end": 12300, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 33 } }, "id": { "type": "Identifier", "start": 12275, "end": 12281, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 14 }, "identifierName": "winNav" }, "name": "winNav" }, "init": { "type": "MemberExpression", "start": 12284, "end": 12300, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 33 } }, "object": { "type": "Identifier", "start": 12284, "end": 12290, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 23 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 12291, "end": 12300, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 33 }, "identifierName": "navigator" }, "name": "navigator" }, "computed": false } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 12307, "end": 12338, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 481, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12311, "end": 12337, "loc": { "start": { "line": 481, "column": 8 }, "end": { "line": 481, "column": 34 } }, "id": { "type": "Identifier", "start": 12311, "end": 12321, "loc": { "start": { "line": 481, "column": 8 }, "end": { "line": 481, "column": 18 }, "identifierName": "vendorName" }, "name": "vendorName" }, "init": { "type": "MemberExpression", "start": 12324, "end": 12337, "loc": { "start": { "line": 481, "column": 21 }, "end": { "line": 481, "column": 34 } }, "object": { "type": "Identifier", "start": 12324, "end": 12330, "loc": { "start": { "line": 481, "column": 21 }, "end": { "line": 481, "column": 27 }, "identifierName": "winNav" }, "name": "winNav" }, "property": { "type": "Identifier", "start": 12331, "end": 12337, "loc": { "start": { "line": 481, "column": 28 }, "end": { "line": 481, "column": 34 }, "identifierName": "vendor" }, "name": "vendor" }, "computed": false } } ], "kind": "var", "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 12344, "end": 12357, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 12363, "end": 12416, "loc": { "start": { "line": 483, "column": 4 }, "end": { "line": 483, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12367, "end": 12415, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 56 } }, "id": { "type": "Identifier", "start": 12367, "end": 12375, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 16 }, "identifierName": "isIEedge" }, "name": "isIEedge", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 12378, "end": 12415, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 56 } }, "left": { "type": "CallExpression", "start": 12378, "end": 12410, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 12378, "end": 12402, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 43 } }, "object": { "type": "MemberExpression", "start": 12378, "end": 12394, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 35 } }, "object": { "type": "Identifier", "start": 12378, "end": 12384, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 25 }, "identifierName": "winNav" }, "name": "winNav" }, "property": { "type": "Identifier", "start": 12385, "end": 12394, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 35 }, "identifierName": "userAgent" }, "name": "userAgent" }, "computed": false }, "property": { "type": "Identifier", "start": 12395, "end": 12402, "loc": { "start": { "line": 483, "column": 36 }, "end": { "line": 483, "column": 43 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12403, "end": 12409, "loc": { "start": { "line": 483, "column": 44 }, "end": { "line": 483, "column": 50 } }, "extra": { "rawValue": "Edge", "raw": "\"Edge\"" }, "value": "Edge" } ] }, "operator": ">", "right": { "type": "UnaryExpression", "start": 12413, "end": 12415, "loc": { "start": { "line": 483, "column": 54 }, "end": { "line": 483, "column": 56 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 12414, "end": 12415, "loc": { "start": { "line": 483, "column": 55 }, "end": { "line": 483, "column": 56 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 12344, "end": 12357, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 17 } } } ] }, { "type": "VariableDeclaration", "start": 12422, "end": 12472, "loc": { "start": { "line": 484, "column": 4 }, "end": { "line": 484, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12426, "end": 12471, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 53 } }, "id": { "type": "Identifier", "start": 12426, "end": 12437, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 19 }, "identifierName": "isIOSChrome" }, "name": "isIOSChrome" }, "init": { "type": "CallExpression", "start": 12440, "end": 12471, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 12440, "end": 12462, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 44 } }, "object": { "type": "MemberExpression", "start": 12440, "end": 12456, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 38 } }, "object": { "type": "Identifier", "start": 12440, "end": 12446, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 28 }, "identifierName": "winNav" }, "name": "winNav" }, "property": { "type": "Identifier", "start": 12447, "end": 12456, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 484, "column": 38 }, "identifierName": "userAgent" }, "name": "userAgent" }, "computed": false }, "property": { "type": "Identifier", "start": 12457, "end": 12462, "loc": { "start": { "line": 484, "column": 39 }, "end": { "line": 484, "column": 44 }, "identifierName": "match" }, "name": "match" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12463, "end": 12470, "loc": { "start": { "line": 484, "column": 45 }, "end": { "line": 484, "column": 52 } }, "extra": { "rawValue": "CriOS", "raw": "\"CriOS\"" }, "value": "CriOS" } ] } } ], "kind": "var" }, { "type": "IfStatement", "start": 12480, "end": 12855, "loc": { "start": { "line": 486, "column": 4 }, "end": { "line": 500, "column": 5 } }, "test": { "type": "Identifier", "start": 12484, "end": 12495, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 486, "column": 19 }, "identifierName": "isIOSChrome" }, "name": "isIOSChrome" }, "consequent": { "type": "BlockStatement", "start": 12497, "end": 12564, "loc": { "start": { "line": 486, "column": 21 }, "end": { "line": 489, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 12544, "end": 12557, "loc": { "start": { "line": 488, "column": 8 }, "end": { "line": 488, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 12551, "end": 12556, "loc": { "start": { "line": 488, "column": 15 }, "end": { "line": 488, "column": 20 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " is Google Chrome on IOS", "start": 12508, "end": 12534, "loc": { "start": { "line": 487, "column": 8 }, "end": { "line": 487, "column": 34 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12570, "end": 12855, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 500, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12584, "end": 12721, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 493, "column": 26 } }, "left": { "type": "LogicalExpression", "start": 12584, "end": 12690, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 492, "column": 36 } }, "left": { "type": "LogicalExpression", "start": 12584, "end": 12649, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 491, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 12584, "end": 12603, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 27 } }, "left": { "type": "Identifier", "start": 12584, "end": 12594, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 18 }, "identifierName": "isChromium" }, "name": "isChromium" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 12599, "end": 12603, "loc": { "start": { "line": 490, "column": 23 }, "end": { "line": 490, "column": 27 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 12616, "end": 12649, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 41 } }, "left": { "type": "UnaryExpression", "start": 12616, "end": 12633, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 25 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 12623, "end": 12633, "loc": { "start": { "line": 491, "column": 15 }, "end": { "line": 491, "column": 25 }, "identifierName": "isChromium" }, "name": "isChromium" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 12638, "end": 12649, "loc": { "start": { "line": 491, "column": 30 }, "end": { "line": 491, "column": 41 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 12662, "end": 12690, "loc": { "start": { "line": 492, "column": 8 }, "end": { "line": 492, "column": 36 } }, "left": { "type": "Identifier", "start": 12662, "end": 12672, "loc": { "start": { "line": 492, "column": 8 }, "end": { "line": 492, "column": 18 }, "identifierName": "vendorName" }, "name": "vendorName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 12677, "end": 12690, "loc": { "start": { "line": 492, "column": 23 }, "end": { "line": 492, "column": 36 } }, "extra": { "rawValue": "Google Inc.", "raw": "\"Google Inc.\"" }, "value": "Google Inc." } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 12703, "end": 12721, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 26 } }, "left": { "type": "Identifier", "start": 12703, "end": 12711, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 16 }, "identifierName": "isIEedge" }, "name": "isIEedge" }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 12716, "end": 12721, "loc": { "start": { "line": 493, "column": 21 }, "end": { "line": 493, "column": 26 } }, "value": false } } }, "consequent": { "type": "BlockStatement", "start": 12729, "end": 12788, "loc": { "start": { "line": 494, "column": 6 }, "end": { "line": 497, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 12769, "end": 12781, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 12776, "end": 12780, "loc": { "start": { "line": 496, "column": 15 }, "end": { "line": 496, "column": 19 } }, "value": true, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " is Google Chrome", "start": 12740, "end": 12759, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 27 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 12794, "end": 12855, "loc": { "start": { "line": 497, "column": 11 }, "end": { "line": 500, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 12835, "end": 12848, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 12842, "end": 12847, "loc": { "start": { "line": 499, "column": 15 }, "end": { "line": 499, "column": 20 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " not Google Chrome", "start": 12805, "end": 12825, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 28 } } } ] } ], "directives": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 12989, "end": 13945, "loc": { "start": { "line": 508, "column": 0 }, "end": { "line": 535, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 12996, "end": 13945, "loc": { "start": { "line": 508, "column": 7 }, "end": { "line": 535, "column": 1 } }, "id": { "type": "Identifier", "start": 13005, "end": 13027, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 38 }, "identifierName": "formatSecondsToTimeAgo" }, "name": "formatSecondsToTimeAgo", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13028, "end": 13032, "loc": { "start": { "line": 508, "column": 39 }, "end": { "line": 508, "column": 43 }, "identifierName": "secs" }, "name": "secs" } ], "body": { "type": "BlockStatement", "start": 13034, "end": 13945, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 535, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 13041, "end": 13074, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13047, "end": 13073, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 36 } }, "id": { "type": "Identifier", "start": 13047, "end": 13054, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 17 }, "identifierName": "seconds" }, "name": "seconds" }, "init": { "type": "CallExpression", "start": 13057, "end": 13073, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 13057, "end": 13067, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 13057, "end": 13061, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 24 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 13062, "end": 13067, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13068, "end": 13072, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 35 }, "identifierName": "secs" }, "name": "secs" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 13080, "end": 13121, "loc": { "start": { "line": 510, "column": 4 }, "end": { "line": 510, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13086, "end": 13120, "loc": { "start": { "line": 510, "column": 10 }, "end": { "line": 510, "column": 44 } }, "id": { "type": "Identifier", "start": 13086, "end": 13093, "loc": { "start": { "line": 510, "column": 10 }, "end": { "line": 510, "column": 17 }, "identifierName": "minutes" }, "name": "minutes" }, "init": { "type": "CallExpression", "start": 13096, "end": 13120, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 13096, "end": 13106, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 30 } }, "object": { "type": "Identifier", "start": 13096, "end": 13100, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 24 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 13101, "end": 13106, "loc": { "start": { "line": 510, "column": 25 }, "end": { "line": 510, "column": 30 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 13107, "end": 13119, "loc": { "start": { "line": 510, "column": 31 }, "end": { "line": 510, "column": 43 } }, "left": { "type": "Identifier", "start": 13107, "end": 13114, "loc": { "start": { "line": 510, "column": 31 }, "end": { "line": 510, "column": 38 }, "identifierName": "seconds" }, "name": "seconds" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 13117, "end": 13119, "loc": { "start": { "line": 510, "column": 41 }, "end": { "line": 510, "column": 43 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 13127, "end": 13166, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13133, "end": 13165, "loc": { "start": { "line": 511, "column": 10 }, "end": { "line": 511, "column": 42 } }, "id": { "type": "Identifier", "start": 13133, "end": 13138, "loc": { "start": { "line": 511, "column": 10 }, "end": { "line": 511, "column": 15 }, "identifierName": "hours" }, "name": "hours" }, "init": { "type": "CallExpression", "start": 13141, "end": 13165, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 13141, "end": 13151, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 28 } }, "object": { "type": "Identifier", "start": 13141, "end": 13145, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 22 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 13146, "end": 13151, "loc": { "start": { "line": 511, "column": 23 }, "end": { "line": 511, "column": 28 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 13152, "end": 13164, "loc": { "start": { "line": 511, "column": 29 }, "end": { "line": 511, "column": 41 } }, "left": { "type": "Identifier", "start": 13152, "end": 13159, "loc": { "start": { "line": 511, "column": 29 }, "end": { "line": 511, "column": 36 }, "identifierName": "minutes" }, "name": "minutes" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 13162, "end": 13164, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 41 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 13172, "end": 13208, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13178, "end": 13207, "loc": { "start": { "line": 512, "column": 10 }, "end": { "line": 512, "column": 39 } }, "id": { "type": "Identifier", "start": 13178, "end": 13182, "loc": { "start": { "line": 512, "column": 10 }, "end": { "line": 512, "column": 14 }, "identifierName": "days" }, "name": "days" }, "init": { "type": "CallExpression", "start": 13185, "end": 13207, "loc": { "start": { "line": 512, "column": 17 }, "end": { "line": 512, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 13185, "end": 13195, "loc": { "start": { "line": 512, "column": 17 }, "end": { "line": 512, "column": 27 } }, "object": { "type": "Identifier", "start": 13185, "end": 13189, "loc": { "start": { "line": 512, "column": 17 }, "end": { "line": 512, "column": 21 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 13190, "end": 13195, "loc": { "start": { "line": 512, "column": 22 }, "end": { "line": 512, "column": 27 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 13196, "end": 13206, "loc": { "start": { "line": 512, "column": 28 }, "end": { "line": 512, "column": 38 } }, "left": { "type": "Identifier", "start": 13196, "end": 13201, "loc": { "start": { "line": 512, "column": 28 }, "end": { "line": 512, "column": 33 }, "identifierName": "hours" }, "name": "hours" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 13204, "end": 13206, "loc": { "start": { "line": 512, "column": 36 }, "end": { "line": 512, "column": 38 } }, "extra": { "rawValue": 24, "raw": "24" }, "value": 24 } } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 13216, "end": 13942, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 534, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 13220, "end": 13232, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 20 } }, "left": { "type": "Identifier", "start": 13220, "end": 13227, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 15 }, "identifierName": "seconds" }, "name": "seconds" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13230, "end": 13232, "loc": { "start": { "line": 514, "column": 18 }, "end": { "line": 514, "column": 20 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } }, "consequent": { "type": "BlockStatement", "start": 13234, "end": 13403, "loc": { "start": { "line": 514, "column": 22 }, "end": { "line": 519, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13245, "end": 13324, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 517, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13249, "end": 13262, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 25 } }, "left": { "type": "Identifier", "start": 13249, "end": 13256, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 19 }, "identifierName": "seconds" }, "name": "seconds" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13261, "end": 13262, "loc": { "start": { "line": 515, "column": 24 }, "end": { "line": 515, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13264, "end": 13324, "loc": { "start": { "line": 515, "column": 27 }, "end": { "line": 517, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13279, "end": 13313, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 13286, "end": 13312, "loc": { "start": { "line": 516, "column": 19 }, "end": { "line": 516, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13286, "end": 13299, "loc": { "start": { "line": 516, "column": 19 }, "end": { "line": 516, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13286, "end": 13294, "loc": { "start": { "line": 516, "column": 19 }, "end": { "line": 516, "column": 27 } }, "object": { "type": "Identifier", "start": 13286, "end": 13287, "loc": { "start": { "line": 516, "column": 19 }, "end": { "line": 516, "column": 20 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13288, "end": 13294, "loc": { "start": { "line": 516, "column": 21 }, "end": { "line": 516, "column": 27 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13295, "end": 13299, "loc": { "start": { "line": 516, "column": 28 }, "end": { "line": 516, "column": 32 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13300, "end": 13312, "loc": { "start": { "line": 516, "column": 33 }, "end": { "line": 516, "column": 45 }, "identifierName": "oneSecondAgo" }, "name": "oneSecondAgo" }, "computed": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13334, "end": 13396, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 70 } }, "argument": { "type": "CallExpression", "start": 13341, "end": 13395, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 13341, "end": 13374, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 48 } }, "object": { "type": "MemberExpression", "start": 13341, "end": 13366, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 40 } }, "object": { "type": "MemberExpression", "start": 13341, "end": 13354, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 28 } }, "object": { "type": "MemberExpression", "start": 13341, "end": 13349, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 23 } }, "object": { "type": "Identifier", "start": 13341, "end": 13342, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 16 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13343, "end": 13349, "loc": { "start": { "line": 518, "column": 17 }, "end": { "line": 518, "column": 23 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13350, "end": 13354, "loc": { "start": { "line": 518, "column": 24 }, "end": { "line": 518, "column": 28 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13355, "end": 13366, "loc": { "start": { "line": 518, "column": 29 }, "end": { "line": 518, "column": 40 }, "identifierName": "xSecondsAgo" }, "name": "xSecondsAgo" }, "computed": false }, "property": { "type": "Identifier", "start": 13367, "end": 13374, "loc": { "start": { "line": 518, "column": 41 }, "end": { "line": 518, "column": 48 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13375, "end": 13380, "loc": { "start": { "line": 518, "column": 49 }, "end": { "line": 518, "column": 54 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 13382, "end": 13394, "loc": { "start": { "line": 518, "column": 56 }, "end": { "line": 518, "column": 68 } }, "left": { "type": "StringLiteral", "start": 13382, "end": 13384, "loc": { "start": { "line": 518, "column": 56 }, "end": { "line": 518, "column": 58 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 13387, "end": 13394, "loc": { "start": { "line": 518, "column": 61 }, "end": { "line": 518, "column": 68 }, "identifierName": "seconds" }, "name": "seconds" } } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 13409, "end": 13942, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 534, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 13413, "end": 13425, "loc": { "start": { "line": 519, "column": 15 }, "end": { "line": 519, "column": 27 } }, "left": { "type": "Identifier", "start": 13413, "end": 13420, "loc": { "start": { "line": 519, "column": 15 }, "end": { "line": 519, "column": 22 }, "identifierName": "minutes" }, "name": "minutes" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13423, "end": 13425, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 27 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } }, "consequent": { "type": "BlockStatement", "start": 13427, "end": 13596, "loc": { "start": { "line": 519, "column": 29 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13438, "end": 13517, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 522, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13442, "end": 13455, "loc": { "start": { "line": 520, "column": 12 }, "end": { "line": 520, "column": 25 } }, "left": { "type": "Identifier", "start": 13442, "end": 13449, "loc": { "start": { "line": 520, "column": 12 }, "end": { "line": 520, "column": 19 }, "identifierName": "minutes" }, "name": "minutes" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13454, "end": 13455, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13457, "end": 13517, "loc": { "start": { "line": 520, "column": 27 }, "end": { "line": 522, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13472, "end": 13506, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 13479, "end": 13505, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13479, "end": 13492, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13479, "end": 13487, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 27 } }, "object": { "type": "Identifier", "start": 13479, "end": 13480, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 20 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13481, "end": 13487, "loc": { "start": { "line": 521, "column": 21 }, "end": { "line": 521, "column": 27 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13488, "end": 13492, "loc": { "start": { "line": 521, "column": 28 }, "end": { "line": 521, "column": 32 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13493, "end": 13505, "loc": { "start": { "line": 521, "column": 33 }, "end": { "line": 521, "column": 45 }, "identifierName": "oneMinuteAgo" }, "name": "oneMinuteAgo" }, "computed": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13527, "end": 13589, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 70 } }, "argument": { "type": "CallExpression", "start": 13534, "end": 13588, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 13534, "end": 13567, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 48 } }, "object": { "type": "MemberExpression", "start": 13534, "end": 13559, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 40 } }, "object": { "type": "MemberExpression", "start": 13534, "end": 13547, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 28 } }, "object": { "type": "MemberExpression", "start": 13534, "end": 13542, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 23 } }, "object": { "type": "Identifier", "start": 13534, "end": 13535, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 16 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13536, "end": 13542, "loc": { "start": { "line": 523, "column": 17 }, "end": { "line": 523, "column": 23 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13543, "end": 13547, "loc": { "start": { "line": 523, "column": 24 }, "end": { "line": 523, "column": 28 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13548, "end": 13559, "loc": { "start": { "line": 523, "column": 29 }, "end": { "line": 523, "column": 40 }, "identifierName": "xMinutesAgo" }, "name": "xMinutesAgo" }, "computed": false }, "property": { "type": "Identifier", "start": 13560, "end": 13567, "loc": { "start": { "line": 523, "column": 41 }, "end": { "line": 523, "column": 48 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13568, "end": 13573, "loc": { "start": { "line": 523, "column": 49 }, "end": { "line": 523, "column": 54 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 13575, "end": 13587, "loc": { "start": { "line": 523, "column": 56 }, "end": { "line": 523, "column": 68 } }, "left": { "type": "StringLiteral", "start": 13575, "end": 13577, "loc": { "start": { "line": 523, "column": 56 }, "end": { "line": 523, "column": 58 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 13580, "end": 13587, "loc": { "start": { "line": 523, "column": 61 }, "end": { "line": 523, "column": 68 }, "identifierName": "minutes" }, "name": "minutes" } } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 13602, "end": 13942, "loc": { "start": { "line": 524, "column": 11 }, "end": { "line": 534, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 13606, "end": 13616, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 25 } }, "left": { "type": "Identifier", "start": 13606, "end": 13611, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 20 }, "identifierName": "hours" }, "name": "hours" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13614, "end": 13616, "loc": { "start": { "line": 524, "column": 23 }, "end": { "line": 524, "column": 25 } }, "extra": { "rawValue": 24, "raw": "24" }, "value": 24 } }, "consequent": { "type": "BlockStatement", "start": 13618, "end": 13779, "loc": { "start": { "line": 524, "column": 27 }, "end": { "line": 529, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13629, "end": 13704, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13633, "end": 13644, "loc": { "start": { "line": 525, "column": 12 }, "end": { "line": 525, "column": 23 } }, "left": { "type": "Identifier", "start": 13633, "end": 13638, "loc": { "start": { "line": 525, "column": 12 }, "end": { "line": 525, "column": 17 }, "identifierName": "hours" }, "name": "hours" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13643, "end": 13644, "loc": { "start": { "line": 525, "column": 22 }, "end": { "line": 525, "column": 23 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13646, "end": 13704, "loc": { "start": { "line": 525, "column": 25 }, "end": { "line": 527, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13661, "end": 13693, "loc": { "start": { "line": 526, "column": 12 }, "end": { "line": 526, "column": 44 } }, "argument": { "type": "MemberExpression", "start": 13668, "end": 13692, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 43 } }, "object": { "type": "MemberExpression", "start": 13668, "end": 13681, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13668, "end": 13676, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 27 } }, "object": { "type": "Identifier", "start": 13668, "end": 13669, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 20 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13670, "end": 13676, "loc": { "start": { "line": 526, "column": 21 }, "end": { "line": 526, "column": 27 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13677, "end": 13681, "loc": { "start": { "line": 526, "column": 28 }, "end": { "line": 526, "column": 32 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13682, "end": 13692, "loc": { "start": { "line": 526, "column": 33 }, "end": { "line": 526, "column": 43 }, "identifierName": "oneHourAgo" }, "name": "oneHourAgo" }, "computed": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13714, "end": 13772, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 66 } }, "argument": { "type": "CallExpression", "start": 13721, "end": 13771, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13721, "end": 13752, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 46 } }, "object": { "type": "MemberExpression", "start": 13721, "end": 13744, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13721, "end": 13734, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 28 } }, "object": { "type": "MemberExpression", "start": 13721, "end": 13729, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 23 } }, "object": { "type": "Identifier", "start": 13721, "end": 13722, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 16 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13723, "end": 13729, "loc": { "start": { "line": 528, "column": 17 }, "end": { "line": 528, "column": 23 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13730, "end": 13734, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 28 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13735, "end": 13744, "loc": { "start": { "line": 528, "column": 29 }, "end": { "line": 528, "column": 38 }, "identifierName": "xHoursAgo" }, "name": "xHoursAgo" }, "computed": false }, "property": { "type": "Identifier", "start": 13745, "end": 13752, "loc": { "start": { "line": 528, "column": 39 }, "end": { "line": 528, "column": 46 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13753, "end": 13758, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 13760, "end": 13770, "loc": { "start": { "line": 528, "column": 54 }, "end": { "line": 528, "column": 64 } }, "left": { "type": "StringLiteral", "start": 13760, "end": 13762, "loc": { "start": { "line": 528, "column": 54 }, "end": { "line": 528, "column": 56 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 13765, "end": 13770, "loc": { "start": { "line": 528, "column": 59 }, "end": { "line": 528, "column": 64 }, "identifierName": "hours" }, "name": "hours" } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 13785, "end": 13942, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 534, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13796, "end": 13869, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 532, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13800, "end": 13810, "loc": { "start": { "line": 530, "column": 12 }, "end": { "line": 530, "column": 22 } }, "left": { "type": "Identifier", "start": 13800, "end": 13804, "loc": { "start": { "line": 530, "column": 12 }, "end": { "line": 530, "column": 16 }, "identifierName": "days" }, "name": "days" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13809, "end": 13810, "loc": { "start": { "line": 530, "column": 21 }, "end": { "line": 530, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13812, "end": 13869, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 532, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13827, "end": 13858, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 43 } }, "argument": { "type": "MemberExpression", "start": 13834, "end": 13857, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 42 } }, "object": { "type": "MemberExpression", "start": 13834, "end": 13847, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 32 } }, "object": { "type": "MemberExpression", "start": 13834, "end": 13842, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 27 } }, "object": { "type": "Identifier", "start": 13834, "end": 13835, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 20 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13836, "end": 13842, "loc": { "start": { "line": 531, "column": 21 }, "end": { "line": 531, "column": 27 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13843, "end": 13847, "loc": { "start": { "line": 531, "column": 28 }, "end": { "line": 531, "column": 32 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13848, "end": 13857, "loc": { "start": { "line": 531, "column": 33 }, "end": { "line": 531, "column": 42 }, "identifierName": "oneDayAgo" }, "name": "oneDayAgo" }, "computed": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13879, "end": 13935, "loc": { "start": { "line": 533, "column": 8 }, "end": { "line": 533, "column": 64 } }, "argument": { "type": "CallExpression", "start": 13886, "end": 13934, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 13886, "end": 13916, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13886, "end": 13908, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 37 } }, "object": { "type": "MemberExpression", "start": 13886, "end": 13899, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 28 } }, "object": { "type": "MemberExpression", "start": 13886, "end": 13894, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 23 } }, "object": { "type": "Identifier", "start": 13886, "end": 13887, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 16 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13888, "end": 13894, "loc": { "start": { "line": 533, "column": 17 }, "end": { "line": 533, "column": 23 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 13895, "end": 13899, "loc": { "start": { "line": 533, "column": 24 }, "end": { "line": 533, "column": 28 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 13900, "end": 13908, "loc": { "start": { "line": 533, "column": 29 }, "end": { "line": 533, "column": 37 }, "identifierName": "xDaysAgo" }, "name": "xDaysAgo" }, "computed": false }, "property": { "type": "Identifier", "start": 13909, "end": 13916, "loc": { "start": { "line": 533, "column": 38 }, "end": { "line": 533, "column": 45 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13917, "end": 13922, "loc": { "start": { "line": 533, "column": 46 }, "end": { "line": 533, "column": 51 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 13924, "end": 13933, "loc": { "start": { "line": 533, "column": 53 }, "end": { "line": 533, "column": 62 } }, "left": { "type": "StringLiteral", "start": 13924, "end": 13926, "loc": { "start": { "line": 533, "column": 53 }, "end": { "line": 533, "column": 55 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 13929, "end": 13933, "loc": { "start": { "line": 533, "column": 58 }, "end": { "line": 533, "column": 62 }, "identifierName": "days" }, "name": "days" } } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 14071, "end": 14758, "loc": { "start": { "line": 542, "column": 0 }, "end": { "line": 558, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 14078, "end": 14758, "loc": { "start": { "line": 542, "column": 7 }, "end": { "line": 558, "column": 1 } }, "id": { "type": "Identifier", "start": 14087, "end": 14100, "loc": { "start": { "line": 542, "column": 16 }, "end": { "line": 542, "column": 29 }, "identifierName": "formatSeconds" }, "name": "formatSeconds", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14101, "end": 14105, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "column": 34 }, "identifierName": "secs" }, "name": "secs" } ], "body": { "type": "BlockStatement", "start": 14107, "end": 14758, "loc": { "start": { "line": 542, "column": 36 }, "end": { "line": 558, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 14114, "end": 14142, "loc": { "start": { "line": 543, "column": 4 }, "end": { "line": 543, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14120, "end": 14141, "loc": { "start": { "line": 543, "column": 10 }, "end": { "line": 543, "column": 31 } }, "id": { "type": "Identifier", "start": 14120, "end": 14125, "loc": { "start": { "line": 543, "column": 10 }, "end": { "line": 543, "column": 15 }, "identifierName": "trans" }, "name": "trans" }, "init": { "type": "MemberExpression", "start": 14128, "end": 14141, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 31 } }, "object": { "type": "MemberExpression", "start": 14128, "end": 14136, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 26 } }, "object": { "type": "Identifier", "start": 14128, "end": 14129, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 19 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 14130, "end": 14136, "loc": { "start": { "line": 543, "column": 20 }, "end": { "line": 543, "column": 26 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 14137, "end": 14141, "loc": { "start": { "line": 543, "column": 27 }, "end": { "line": 543, "column": 31 }, "identifierName": "time" }, "name": "time" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 14148, "end": 14171, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 14148, "end": 14170, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 14148, "end": 14152, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "column": 8 }, "identifierName": "secs" }, "name": "secs" }, "right": { "type": "CallExpression", "start": 14155, "end": 14170, "loc": { "start": { "line": 544, "column": 11 }, "end": { "line": 544, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 14155, "end": 14164, "loc": { "start": { "line": 544, "column": 11 }, "end": { "line": 544, "column": 20 } }, "object": { "type": "Identifier", "start": 14155, "end": 14159, "loc": { "start": { "line": 544, "column": 11 }, "end": { "line": 544, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 14160, "end": 14164, "loc": { "start": { "line": 544, "column": 16 }, "end": { "line": 544, "column": 20 }, "identifierName": "ceil" }, "name": "ceil" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14165, "end": 14169, "loc": { "start": { "line": 544, "column": 21 }, "end": { "line": 544, "column": 25 }, "identifierName": "secs" }, "name": "secs" } ] } } }, { "type": "IfStatement", "start": 14177, "end": 14755, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 557, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 14181, "end": 14190, "loc": { "start": { "line": 545, "column": 8 }, "end": { "line": 545, "column": 17 } }, "left": { "type": "Identifier", "start": 14181, "end": 14185, "loc": { "start": { "line": 545, "column": 8 }, "end": { "line": 545, "column": 12 }, "identifierName": "secs" }, "name": "secs" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 14188, "end": 14190, "loc": { "start": { "line": 545, "column": 15 }, "end": { "line": 545, "column": 17 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } }, "consequent": { "type": "BlockStatement", "start": 14192, "end": 14268, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 547, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 14203, "end": 14261, "loc": { "start": { "line": 546, "column": 8 }, "end": { "line": 546, "column": 66 } }, "argument": { "type": "CallExpression", "start": 14210, "end": 14260, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14210, "end": 14236, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 41 } }, "object": { "type": "MemberExpression", "start": 14210, "end": 14228, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 33 } }, "object": { "type": "Identifier", "start": 14210, "end": 14215, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 20 }, "identifierName": "trans" }, "name": "trans" }, "property": { "type": "Identifier", "start": 14216, "end": 14228, "loc": { "start": { "line": 546, "column": 21 }, "end": { "line": 546, "column": 33 }, "identifierName": "secondsShort" }, "name": "secondsShort" }, "computed": false }, "property": { "type": "Identifier", "start": 14229, "end": 14236, "loc": { "start": { "line": 546, "column": 34 }, "end": { "line": 546, "column": 41 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14237, "end": 14248, "loc": { "start": { "line": 546, "column": 42 }, "end": { "line": 546, "column": 53 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 14250, "end": 14259, "loc": { "start": { "line": 546, "column": 55 }, "end": { "line": 546, "column": 64 } }, "left": { "type": "StringLiteral", "start": 14250, "end": 14252, "loc": { "start": { "line": 546, "column": 55 }, "end": { "line": 546, "column": 57 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 14255, "end": 14259, "loc": { "start": { "line": 546, "column": 60 }, "end": { "line": 546, "column": 64 }, "identifierName": "secs" }, "name": "secs" } } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 14274, "end": 14755, "loc": { "start": { "line": 547, "column": 11 }, "end": { "line": 557, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 14278, "end": 14292, "loc": { "start": { "line": 547, "column": 15 }, "end": { "line": 547, "column": 29 } }, "left": { "type": "Identifier", "start": 14278, "end": 14282, "loc": { "start": { "line": 547, "column": 15 }, "end": { "line": 547, "column": 19 }, "identifierName": "secs" }, "name": "secs" }, "operator": "<", "right": { "type": "BinaryExpression", "start": 14285, "end": 14292, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 29 } }, "left": { "type": "NumericLiteral", "start": 14285, "end": 14287, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 24 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 }, "operator": "*", "right": { "type": "NumericLiteral", "start": 14290, "end": 14292, "loc": { "start": { "line": 547, "column": 27 }, "end": { "line": 547, "column": 29 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } }, "consequent": { "type": "BlockStatement", "start": 14294, "end": 14530, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 553, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 14305, "end": 14343, "loc": { "start": { "line": 548, "column": 8 }, "end": { "line": 548, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14311, "end": 14342, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 45 } }, "id": { "type": "Identifier", "start": 14311, "end": 14318, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 21 }, "identifierName": "minutes" }, "name": "minutes" }, "init": { "type": "CallExpression", "start": 14321, "end": 14342, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 14321, "end": 14331, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 34 } }, "object": { "type": "Identifier", "start": 14321, "end": 14325, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 28 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 14326, "end": 14331, "loc": { "start": { "line": 548, "column": 29 }, "end": { "line": 548, "column": 34 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 14332, "end": 14341, "loc": { "start": { "line": 548, "column": 35 }, "end": { "line": 548, "column": 44 } }, "left": { "type": "Identifier", "start": 14332, "end": 14336, "loc": { "start": { "line": 548, "column": 35 }, "end": { "line": 548, "column": 39 }, "identifierName": "secs" }, "name": "secs" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 14339, "end": 14341, "loc": { "start": { "line": 548, "column": 42 }, "end": { "line": 548, "column": 44 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 14353, "end": 14379, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14359, "end": 14378, "loc": { "start": { "line": 549, "column": 14 }, "end": { "line": 549, "column": 33 } }, "id": { "type": "Identifier", "start": 14359, "end": 14366, "loc": { "start": { "line": 549, "column": 14 }, "end": { "line": 549, "column": 21 }, "identifierName": "seconds" }, "name": "seconds" }, "init": { "type": "BinaryExpression", "start": 14369, "end": 14378, "loc": { "start": { "line": 549, "column": 24 }, "end": { "line": 549, "column": 33 } }, "left": { "type": "Identifier", "start": 14369, "end": 14373, "loc": { "start": { "line": 549, "column": 24 }, "end": { "line": 549, "column": 28 }, "identifierName": "secs" }, "name": "secs" }, "operator": "%", "right": { "type": "NumericLiteral", "start": 14376, "end": 14378, "loc": { "start": { "line": 549, "column": 31 }, "end": { "line": 549, "column": 33 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 14389, "end": 14523, "loc": { "start": { "line": 550, "column": 8 }, "end": { "line": 552, "column": 48 } }, "argument": { "type": "CallExpression", "start": 14396, "end": 14522, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 552, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 14396, "end": 14495, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 552, "column": 20 } }, "object": { "type": "CallExpression", "start": 14396, "end": 14473, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 551, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 14396, "end": 14446, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 551, "column": 20 } }, "object": { "type": "MemberExpression", "start": 14396, "end": 14424, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 550, "column": 43 } }, "object": { "type": "Identifier", "start": 14396, "end": 14401, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 550, "column": 20 }, "identifierName": "trans" }, "name": "trans" }, "property": { "type": "Identifier", "start": 14402, "end": 14424, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 43 }, "identifierName": "minutesAndSecondsShort" }, "name": "minutesAndSecondsShort" }, "computed": false }, "property": { "type": "Identifier", "start": 14439, "end": 14446, "loc": { "start": { "line": 551, "column": 13 }, "end": { "line": 551, "column": 20 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14447, "end": 14458, "loc": { "start": { "line": 551, "column": 21 }, "end": { "line": 551, "column": 32 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 14460, "end": 14472, "loc": { "start": { "line": 551, "column": 34 }, "end": { "line": 551, "column": 46 } }, "left": { "type": "StringLiteral", "start": 14460, "end": 14462, "loc": { "start": { "line": 551, "column": 34 }, "end": { "line": 551, "column": 36 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 14465, "end": 14472, "loc": { "start": { "line": 551, "column": 39 }, "end": { "line": 551, "column": 46 }, "identifierName": "seconds" }, "name": "seconds" } } ] }, "property": { "type": "Identifier", "start": 14488, "end": 14495, "loc": { "start": { "line": 552, "column": 13 }, "end": { "line": 552, "column": 20 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14496, "end": 14507, "loc": { "start": { "line": 552, "column": 21 }, "end": { "line": 552, "column": 32 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 14509, "end": 14521, "loc": { "start": { "line": 552, "column": 34 }, "end": { "line": 552, "column": 46 } }, "left": { "type": "StringLiteral", "start": 14509, "end": 14511, "loc": { "start": { "line": 552, "column": 34 }, "end": { "line": 552, "column": 36 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 14514, "end": 14521, "loc": { "start": { "line": 552, "column": 39 }, "end": { "line": 552, "column": 46 }, "identifierName": "minutes" }, "name": "minutes" } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 14536, "end": 14755, "loc": { "start": { "line": 553, "column": 11 }, "end": { "line": 557, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 14547, "end": 14585, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14553, "end": 14584, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 45 } }, "id": { "type": "Identifier", "start": 14553, "end": 14558, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 19 }, "identifierName": "hours" }, "name": "hours" }, "init": { "type": "CallExpression", "start": 14561, "end": 14584, "loc": { "start": { "line": 554, "column": 22 }, "end": { "line": 554, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 14561, "end": 14571, "loc": { "start": { "line": 554, "column": 22 }, "end": { "line": 554, "column": 32 } }, "object": { "type": "Identifier", "start": 14561, "end": 14565, "loc": { "start": { "line": 554, "column": 22 }, "end": { "line": 554, "column": 26 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 14566, "end": 14571, "loc": { "start": { "line": 554, "column": 27 }, "end": { "line": 554, "column": 32 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 14572, "end": 14583, "loc": { "start": { "line": 554, "column": 33 }, "end": { "line": 554, "column": 44 } }, "left": { "type": "Identifier", "start": 14572, "end": 14576, "loc": { "start": { "line": 554, "column": 33 }, "end": { "line": 554, "column": 37 }, "identifierName": "secs" }, "name": "secs" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 14579, "end": 14583, "loc": { "start": { "line": 554, "column": 40 }, "end": { "line": 554, "column": 44 } }, "extra": { "rawValue": 3600, "raw": "3600" }, "value": 3600 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 14595, "end": 14638, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14601, "end": 14637, "loc": { "start": { "line": 555, "column": 14 }, "end": { "line": 555, "column": 50 } }, "id": { "type": "Identifier", "start": 14601, "end": 14608, "loc": { "start": { "line": 555, "column": 14 }, "end": { "line": 555, "column": 21 }, "identifierName": "minutes" }, "name": "minutes" }, "init": { "type": "BinaryExpression", "start": 14611, "end": 14637, "loc": { "start": { "line": 555, "column": 24 }, "end": { "line": 555, "column": 50 } }, "left": { "type": "CallExpression", "start": 14611, "end": 14632, "loc": { "start": { "line": 555, "column": 24 }, "end": { "line": 555, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 14611, "end": 14621, "loc": { "start": { "line": 555, "column": 24 }, "end": { "line": 555, "column": 34 } }, "object": { "type": "Identifier", "start": 14611, "end": 14615, "loc": { "start": { "line": 555, "column": 24 }, "end": { "line": 555, "column": 28 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 14616, "end": 14621, "loc": { "start": { "line": 555, "column": 29 }, "end": { "line": 555, "column": 34 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 14622, "end": 14631, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 44 } }, "left": { "type": "Identifier", "start": 14622, "end": 14626, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 39 }, "identifierName": "secs" }, "name": "secs" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 14629, "end": 14631, "loc": { "start": { "line": 555, "column": 42 }, "end": { "line": 555, "column": 44 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } ] }, "operator": "%", "right": { "type": "NumericLiteral", "start": 14635, "end": 14637, "loc": { "start": { "line": 555, "column": 48 }, "end": { "line": 555, "column": 50 } }, "extra": { "rawValue": 60, "raw": "60" }, "value": 60 } } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 14648, "end": 14748, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 108 } }, "argument": { "type": "CallExpression", "start": 14655, "end": 14747, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 107 } }, "callee": { "type": "MemberExpression", "start": 14655, "end": 14724, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 84 } }, "object": { "type": "CallExpression", "start": 14655, "end": 14716, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 14655, "end": 14689, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 49 } }, "object": { "type": "MemberExpression", "start": 14655, "end": 14681, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 41 } }, "object": { "type": "Identifier", "start": 14655, "end": 14660, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 20 }, "identifierName": "trans" }, "name": "trans" }, "property": { "type": "Identifier", "start": 14661, "end": 14681, "loc": { "start": { "line": 556, "column": 21 }, "end": { "line": 556, "column": 41 }, "identifierName": "hoursAndMinutesShort" }, "name": "hoursAndMinutesShort" }, "computed": false }, "property": { "type": "Identifier", "start": 14682, "end": 14689, "loc": { "start": { "line": 556, "column": 42 }, "end": { "line": 556, "column": 49 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14690, "end": 14701, "loc": { "start": { "line": 556, "column": 50 }, "end": { "line": 556, "column": 61 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 14703, "end": 14715, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 75 } }, "left": { "type": "StringLiteral", "start": 14703, "end": 14705, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 65 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 14708, "end": 14715, "loc": { "start": { "line": 556, "column": 68 }, "end": { "line": 556, "column": 75 }, "identifierName": "minutes" }, "name": "minutes" } } ] }, "property": { "type": "Identifier", "start": 14717, "end": 14724, "loc": { "start": { "line": 556, "column": 77 }, "end": { "line": 556, "column": 84 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14725, "end": 14734, "loc": { "start": { "line": 556, "column": 85 }, "end": { "line": 556, "column": 94 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 14736, "end": 14746, "loc": { "start": { "line": 556, "column": 96 }, "end": { "line": 556, "column": 106 } }, "left": { "type": "StringLiteral", "start": 14736, "end": 14738, "loc": { "start": { "line": 556, "column": 96 }, "end": { "line": 556, "column": 98 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "operator": "+", "right": { "type": "Identifier", "start": 14741, "end": 14746, "loc": { "start": { "line": 556, "column": 101 }, "end": { "line": 556, "column": 106 }, "identifierName": "hours" }, "name": "hours" } } ] } } ], "directives": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 14929, "end": 15083, "loc": { "start": { "line": 565, "column": 0 }, "end": { "line": 567, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 14936, "end": 15083, "loc": { "start": { "line": 565, "column": 7 }, "end": { "line": 567, "column": 1 } }, "id": { "type": "Identifier", "start": 14945, "end": 14965, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 36 }, "identifierName": "round1DigitLocalized" }, "name": "round1DigitLocalized", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14966, "end": 14971, "loc": { "start": { "line": 565, "column": 37 }, "end": { "line": 565, "column": 42 }, "identifierName": "speed" }, "name": "speed" }, { "type": "AssignmentPattern", "start": 14973, "end": 15010, "loc": { "start": { "line": 565, "column": 44 }, "end": { "line": 565, "column": 81 } }, "left": { "type": "Identifier", "start": 14973, "end": 14982, "loc": { "start": { "line": 565, "column": 44 }, "end": { "line": 565, "column": 53 }, "identifierName": "separator" }, "name": "separator" }, "right": { "type": "MemberExpression", "start": 14985, "end": 15010, "loc": { "start": { "line": 565, "column": 56 }, "end": { "line": 565, "column": 81 } }, "object": { "type": "MemberExpression", "start": 14985, "end": 14993, "loc": { "start": { "line": 565, "column": 56 }, "end": { "line": 565, "column": 64 } }, "object": { "type": "Identifier", "start": 14985, "end": 14986, "loc": { "start": { "line": 565, "column": 56 }, "end": { "line": 565, "column": 57 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 14987, "end": 14993, "loc": { "start": { "line": 565, "column": 58 }, "end": { "line": 565, "column": 64 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 14994, "end": 15010, "loc": { "start": { "line": 565, "column": 65 }, "end": { "line": 565, "column": 81 }, "identifierName": "decimalSeparator" }, "name": "decimalSeparator" }, "computed": false } } ], "body": { "type": "BlockStatement", "start": 15012, "end": 15083, "loc": { "start": { "line": 565, "column": 83 }, "end": { "line": 567, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 15019, "end": 15080, "loc": { "start": { "line": 566, "column": 4 }, "end": { "line": 566, "column": 65 } }, "argument": { "type": "CallExpression", "start": 15026, "end": 15079, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 15026, "end": 15063, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 48 } }, "object": { "type": "CallExpression", "start": 15026, "end": 15055, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 15026, "end": 15053, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 38 } }, "object": { "type": "CallExpression", "start": 15026, "end": 15044, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 29 } }, "callee": { "type": "Identifier", "start": 15026, "end": 15037, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 22 }, "identifierName": "round1Digit" }, "name": "round1Digit" }, "arguments": [ { "type": "Identifier", "start": 15038, "end": 15043, "loc": { "start": { "line": 566, "column": 23 }, "end": { "line": 566, "column": 28 }, "identifierName": "speed" }, "name": "speed" } ] }, "property": { "type": "Identifier", "start": 15045, "end": 15053, "loc": { "start": { "line": 566, "column": 30 }, "end": { "line": 566, "column": 38 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 15056, "end": 15063, "loc": { "start": { "line": 566, "column": 41 }, "end": { "line": 566, "column": 48 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15064, "end": 15067, "loc": { "start": { "line": 566, "column": 49 }, "end": { "line": 566, "column": 52 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." }, { "type": "Identifier", "start": 15069, "end": 15078, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 63 }, "identifierName": "separator" }, "name": "separator" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 15294, "end": 15743, "loc": { "start": { "line": 575, "column": 0 }, "end": { "line": 582, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 15301, "end": 15743, "loc": { "start": { "line": 575, "column": 7 }, "end": { "line": 582, "column": 1 } }, "id": { "type": "Identifier", "start": 15310, "end": 15330, "loc": { "start": { "line": 575, "column": 16 }, "end": { "line": 575, "column": 36 }, "identifierName": "formatItemsPerSecond" }, "name": "formatItemsPerSecond", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15331, "end": 15336, "loc": { "start": { "line": 575, "column": 37 }, "end": { "line": 575, "column": 42 }, "identifierName": "speed" }, "name": "speed" }, { "type": "AssignmentPattern", "start": 15338, "end": 15352, "loc": { "start": { "line": 575, "column": 44 }, "end": { "line": 575, "column": 58 } }, "left": { "type": "Identifier", "start": 15338, "end": 15344, "loc": { "start": { "line": 575, "column": 44 }, "end": { "line": 575, "column": 50 }, "identifierName": "double" }, "name": "double" }, "right": { "type": "BooleanLiteral", "start": 15347, "end": 15352, "loc": { "start": { "line": 575, "column": 53 }, "end": { "line": 575, "column": 58 } }, "value": false } }, { "type": "AssignmentPattern", "start": 15354, "end": 15391, "loc": { "start": { "line": 575, "column": 60 }, "end": { "line": 575, "column": 97 } }, "left": { "type": "Identifier", "start": 15354, "end": 15363, "loc": { "start": { "line": 575, "column": 60 }, "end": { "line": 575, "column": 69 }, "identifierName": "separator" }, "name": "separator" }, "right": { "type": "MemberExpression", "start": 15366, "end": 15391, "loc": { "start": { "line": 575, "column": 72 }, "end": { "line": 575, "column": 97 } }, "object": { "type": "MemberExpression", "start": 15366, "end": 15374, "loc": { "start": { "line": 575, "column": 72 }, "end": { "line": 575, "column": 80 } }, "object": { "type": "Identifier", "start": 15366, "end": 15367, "loc": { "start": { "line": 575, "column": 72 }, "end": { "line": 575, "column": 73 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 15368, "end": 15374, "loc": { "start": { "line": 575, "column": 74 }, "end": { "line": 575, "column": 80 }, "identifierName": "global" }, "name": "global" }, "computed": false }, "property": { "type": "Identifier", "start": 15375, "end": 15391, "loc": { "start": { "line": 575, "column": 81 }, "end": { "line": 575, "column": 97 }, "identifierName": "decimalSeparator" }, "name": "decimalSeparator" }, "computed": false } } ], "body": { "type": "BlockStatement", "start": 15393, "end": 15743, "loc": { "start": { "line": 575, "column": 99 }, "end": { "line": 582, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 15400, "end": 15740, "loc": { "start": { "line": 576, "column": 4 }, "end": { "line": 581, "column": 93 } }, "argument": { "type": "ConditionalExpression", "start": 15407, "end": 15739, "loc": { "start": { "line": 576, "column": 11 }, "end": { "line": 581, "column": 92 } }, "test": { "type": "BinaryExpression", "start": 15407, "end": 15420, "loc": { "start": { "line": 576, "column": 11 }, "end": { "line": 576, "column": 24 } }, "left": { "type": "Identifier", "start": 15407, "end": 15412, "loc": { "start": { "line": 576, "column": 11 }, "end": { "line": 576, "column": 16 }, "identifierName": "speed" }, "name": "speed" }, "operator": "===", "right": { "type": "NumericLiteral", "start": 15417, "end": 15420, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 24 } }, "extra": { "rawValue": 1, "raw": "1.0" }, "value": 1 } }, "consequent": { "type": "MemberExpression", "start": 15432, "end": 15485, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 61 } }, "object": { "type": "MemberExpression", "start": 15432, "end": 15468, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 44 } }, "object": { "type": "MemberExpression", "start": 15432, "end": 15458, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 34 } }, "object": { "type": "MemberExpression", "start": 15432, "end": 15440, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 16 } }, "object": { "type": "Identifier", "start": 15432, "end": 15433, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 9 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 15434, "end": 15440, "loc": { "start": { "line": 577, "column": 10 }, "end": { "line": 577, "column": 16 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 15441, "end": 15458, "loc": { "start": { "line": 577, "column": 17 }, "end": { "line": 577, "column": 34 }, "identifierName": "buildingPlacement" }, "name": "buildingPlacement" }, "computed": false }, "property": { "type": "Identifier", "start": 15459, "end": 15468, "loc": { "start": { "line": 577, "column": 35 }, "end": { "line": 577, "column": 44 }, "identifierName": "infoTexts" }, "name": "infoTexts" }, "computed": false }, "property": { "type": "Identifier", "start": 15469, "end": 15485, "loc": { "start": { "line": 577, "column": 45 }, "end": { "line": 577, "column": 61 }, "identifierName": "oneItemPerSecond" }, "name": "oneItemPerSecond" }, "computed": false }, "alternate": { "type": "BinaryExpression", "start": 15497, "end": 15739, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 581, "column": 92 } }, "left": { "type": "CallExpression", "start": 15497, "end": 15656, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 581, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 15497, "end": 15556, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 67 } }, "object": { "type": "MemberExpression", "start": 15497, "end": 15548, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 59 } }, "object": { "type": "MemberExpression", "start": 15497, "end": 15533, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 44 } }, "object": { "type": "MemberExpression", "start": 15497, "end": 15523, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 34 } }, "object": { "type": "MemberExpression", "start": 15497, "end": 15505, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 16 } }, "object": { "type": "Identifier", "start": 15497, "end": 15498, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 9 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 15499, "end": 15505, "loc": { "start": { "line": 578, "column": 10 }, "end": { "line": 578, "column": 16 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 15506, "end": 15523, "loc": { "start": { "line": 578, "column": 17 }, "end": { "line": 578, "column": 34 }, "identifierName": "buildingPlacement" }, "name": "buildingPlacement" }, "computed": false }, "property": { "type": "Identifier", "start": 15524, "end": 15533, "loc": { "start": { "line": 578, "column": 35 }, "end": { "line": 578, "column": 44 }, "identifierName": "infoTexts" }, "name": "infoTexts" }, "computed": false }, "property": { "type": "Identifier", "start": 15534, "end": 15548, "loc": { "start": { "line": 578, "column": 45 }, "end": { "line": 578, "column": 59 }, "identifierName": "itemsPerSecond" }, "name": "itemsPerSecond" }, "computed": false }, "property": { "type": "Identifier", "start": 15549, "end": 15556, "loc": { "start": { "line": 578, "column": 60 }, "end": { "line": 578, "column": 67 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15571, "end": 15576, "loc": { "start": { "line": 579, "column": 12 }, "end": { "line": 579, "column": 17 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "CallExpression", "start": 15591, "end": 15645, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 15591, "end": 15629, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 50 } }, "object": { "type": "CallExpression", "start": 15591, "end": 15621, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 15591, "end": 15619, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 40 } }, "object": { "type": "CallExpression", "start": 15591, "end": 15610, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 31 } }, "callee": { "type": "Identifier", "start": 15591, "end": 15603, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 24 }, "identifierName": "round2Digits" }, "name": "round2Digits" }, "arguments": [ { "type": "Identifier", "start": 15604, "end": 15609, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 30 }, "identifierName": "speed" }, "name": "speed" } ] }, "property": { "type": "Identifier", "start": 15611, "end": 15619, "loc": { "start": { "line": 580, "column": 32 }, "end": { "line": 580, "column": 40 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 15622, "end": 15629, "loc": { "start": { "line": 580, "column": 43 }, "end": { "line": 580, "column": 50 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15630, "end": 15633, "loc": { "start": { "line": 580, "column": 51 }, "end": { "line": 580, "column": 54 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." }, { "type": "Identifier", "start": 15635, "end": 15644, "loc": { "start": { "line": 580, "column": 56 }, "end": { "line": 580, "column": 65 }, "identifierName": "separator" }, "name": "separator" } ] } ] }, "operator": "+", "right": { "type": "ConditionalExpression", "start": 15660, "end": 15738, "loc": { "start": { "line": 581, "column": 13 }, "end": { "line": 581, "column": 91 } }, "test": { "type": "Identifier", "start": 15660, "end": 15666, "loc": { "start": { "line": 581, "column": 13 }, "end": { "line": 581, "column": 19 }, "identifierName": "double" }, "name": "double" }, "consequent": { "type": "BinaryExpression", "start": 15669, "end": 15733, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 86 } }, "left": { "type": "StringLiteral", "start": 15669, "end": 15673, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 26 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "MemberExpression", "start": 15676, "end": 15733, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 86 } }, "object": { "type": "MemberExpression", "start": 15676, "end": 15712, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 65 } }, "object": { "type": "MemberExpression", "start": 15676, "end": 15702, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 55 } }, "object": { "type": "MemberExpression", "start": 15676, "end": 15684, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 37 } }, "object": { "type": "Identifier", "start": 15676, "end": 15677, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 30 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 15678, "end": 15684, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 37 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 15685, "end": 15702, "loc": { "start": { "line": 581, "column": 38 }, "end": { "line": 581, "column": 55 }, "identifierName": "buildingPlacement" }, "name": "buildingPlacement" }, "computed": false }, "property": { "type": "Identifier", "start": 15703, "end": 15712, "loc": { "start": { "line": 581, "column": 56 }, "end": { "line": 581, "column": 65 }, "identifierName": "infoTexts" }, "name": "infoTexts" }, "computed": false }, "property": { "type": "Identifier", "start": 15713, "end": 15733, "loc": { "start": { "line": 581, "column": 66 }, "end": { "line": 581, "column": 86 }, "identifierName": "itemsPerSecondDouble" }, "name": "itemsPerSecondDouble" }, "computed": false } }, "alternate": { "type": "StringLiteral", "start": 15736, "end": 15738, "loc": { "start": { "line": 581, "column": 89 }, "end": { "line": 581, "column": 91 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, "extra": { "parenthesized": true, "parenStart": 15659 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 15931, "end": 16221, "loc": { "start": { "line": 599, "column": 0 }, "end": { "line": 611, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 15938, "end": 16221, "loc": { "start": { "line": 599, "column": 7 }, "end": { "line": 611, "column": 1 } }, "id": { "type": "Identifier", "start": 15947, "end": 15966, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 35 }, "identifierName": "rotateFlatMatrix3x3" }, "name": "rotateFlatMatrix3x3", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15967, "end": 15977, "loc": { "start": { "line": 599, "column": 36 }, "end": { "line": 599, "column": 46 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" } ], "body": { "type": "BlockStatement", "start": 15979, "end": 16221, "loc": { "start": { "line": 599, "column": 48 }, "end": { "line": 611, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 15986, "end": 16218, "loc": { "start": { "line": 600, "column": 4 }, "end": { "line": 610, "column": 6 } }, "argument": { "type": "ArrayExpression", "start": 15993, "end": 16217, "loc": { "start": { "line": 600, "column": 11 }, "end": { "line": 610, "column": 5 } }, "elements": [ { "type": "MemberExpression", "start": 16004, "end": 16017, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 21 } }, "object": { "type": "Identifier", "start": 16004, "end": 16014, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16015, "end": 16016, "loc": { "start": { "line": 601, "column": 19 }, "end": { "line": 601, "column": 20 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, "computed": true }, { "type": "MemberExpression", "start": 16028, "end": 16041, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 21 } }, "object": { "type": "Identifier", "start": 16028, "end": 16038, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16039, "end": 16040, "loc": { "start": { "line": 602, "column": 19 }, "end": { "line": 602, "column": 20 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "computed": true }, { "type": "MemberExpression", "start": 16052, "end": 16065, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 603, "column": 21 } }, "object": { "type": "Identifier", "start": 16052, "end": 16062, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 603, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16063, "end": 16064, "loc": { "start": { "line": 603, "column": 19 }, "end": { "line": 603, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, { "type": "MemberExpression", "start": 16076, "end": 16089, "loc": { "start": { "line": 604, "column": 8 }, "end": { "line": 604, "column": 21 } }, "object": { "type": "Identifier", "start": 16076, "end": 16086, "loc": { "start": { "line": 604, "column": 8 }, "end": { "line": 604, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16087, "end": 16088, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 20 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, "computed": true }, { "type": "MemberExpression", "start": 16100, "end": 16113, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 605, "column": 21 } }, "object": { "type": "Identifier", "start": 16100, "end": 16110, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 605, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16111, "end": 16112, "loc": { "start": { "line": 605, "column": 19 }, "end": { "line": 605, "column": 20 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "computed": true }, { "type": "MemberExpression", "start": 16124, "end": 16137, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 21 } }, "object": { "type": "Identifier", "start": 16124, "end": 16134, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16135, "end": 16136, "loc": { "start": { "line": 606, "column": 19 }, "end": { "line": 606, "column": 20 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, { "type": "MemberExpression", "start": 16148, "end": 16161, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 21 } }, "object": { "type": "Identifier", "start": 16148, "end": 16158, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16159, "end": 16160, "loc": { "start": { "line": 607, "column": 19 }, "end": { "line": 607, "column": 20 } }, "extra": { "rawValue": 8, "raw": "8" }, "value": 8 }, "computed": true }, { "type": "MemberExpression", "start": 16172, "end": 16185, "loc": { "start": { "line": 608, "column": 8 }, "end": { "line": 608, "column": 21 } }, "object": { "type": "Identifier", "start": 16172, "end": 16182, "loc": { "start": { "line": 608, "column": 8 }, "end": { "line": 608, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16183, "end": 16184, "loc": { "start": { "line": 608, "column": 19 }, "end": { "line": 608, "column": 20 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, "computed": true }, { "type": "MemberExpression", "start": 16196, "end": 16209, "loc": { "start": { "line": 609, "column": 8 }, "end": { "line": 609, "column": 21 } }, "object": { "type": "Identifier", "start": 16196, "end": 16206, "loc": { "start": { "line": 609, "column": 8 }, "end": { "line": 609, "column": 18 }, "identifierName": "flatMatrix" }, "name": "flatMatrix" }, "property": { "type": "NumericLiteral", "start": 16207, "end": 16208, "loc": { "start": { "line": 609, "column": 19 }, "end": { "line": 609, "column": 20 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 16367, "end": 16794, "loc": { "start": { "line": 618, "column": 0 }, "end": { "line": 633, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 16374, "end": 16794, "loc": { "start": { "line": 618, "column": 7 }, "end": { "line": 633, "column": 1 } }, "id": { "type": "Identifier", "start": 16383, "end": 16406, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "column": 39 }, "identifierName": "generateMatrixRotations" }, "name": "generateMatrixRotations", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16407, "end": 16421, "loc": { "start": { "line": 618, "column": 40 }, "end": { "line": 618, "column": 54 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } ], "body": { "type": "BlockStatement", "start": 16423, "end": 16794, "loc": { "start": { "line": 618, "column": 56 }, "end": { "line": 633, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 16430, "end": 16482, "loc": { "start": { "line": 619, "column": 4 }, "end": { "line": 621, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16436, "end": 16481, "loc": { "start": { "line": 619, "column": 10 }, "end": { "line": 621, "column": 5 } }, "id": { "type": "Identifier", "start": 16436, "end": 16442, "loc": { "start": { "line": 619, "column": 10 }, "end": { "line": 619, "column": 16 }, "identifierName": "result" }, "name": "result" }, "init": { "type": "ObjectExpression", "start": 16445, "end": 16481, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 621, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 16456, "end": 16473, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "NumericLiteral", "start": 16456, "end": 16457, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 9 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "value": { "type": "Identifier", "start": 16459, "end": 16473, "loc": { "start": { "line": 620, "column": 11 }, "end": { "line": 620, "column": 25 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 16490, "end": 16543, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 16490, "end": 16542, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 16490, "end": 16504, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 18 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" }, "right": { "type": "CallExpression", "start": 16507, "end": 16542, "loc": { "start": { "line": 623, "column": 21 }, "end": { "line": 623, "column": 56 } }, "callee": { "type": "Identifier", "start": 16507, "end": 16526, "loc": { "start": { "line": 623, "column": 21 }, "end": { "line": 623, "column": 40 }, "identifierName": "rotateFlatMatrix3x3" }, "name": "rotateFlatMatrix3x3" }, "arguments": [ { "type": "Identifier", "start": 16527, "end": 16541, "loc": { "start": { "line": 623, "column": 41 }, "end": { "line": 623, "column": 55 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } ] } } }, { "type": "ExpressionStatement", "start": 16549, "end": 16577, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 16549, "end": 16576, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16549, "end": 16559, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 14 } }, "object": { "type": "Identifier", "start": 16549, "end": 16555, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 10 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "NumericLiteral", "start": 16556, "end": 16558, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 13 } }, "extra": { "rawValue": 90, "raw": "90" }, "value": 90 }, "computed": true }, "right": { "type": "Identifier", "start": 16562, "end": 16576, "loc": { "start": { "line": 624, "column": 17 }, "end": { "line": 624, "column": 31 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } } }, { "type": "ExpressionStatement", "start": 16585, "end": 16638, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 16585, "end": 16637, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 16585, "end": 16599, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 18 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" }, "right": { "type": "CallExpression", "start": 16602, "end": 16637, "loc": { "start": { "line": 626, "column": 21 }, "end": { "line": 626, "column": 56 } }, "callee": { "type": "Identifier", "start": 16602, "end": 16621, "loc": { "start": { "line": 626, "column": 21 }, "end": { "line": 626, "column": 40 }, "identifierName": "rotateFlatMatrix3x3" }, "name": "rotateFlatMatrix3x3" }, "arguments": [ { "type": "Identifier", "start": 16622, "end": 16636, "loc": { "start": { "line": 626, "column": 41 }, "end": { "line": 626, "column": 55 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } ] } } }, { "type": "ExpressionStatement", "start": 16644, "end": 16673, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16644, "end": 16672, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16644, "end": 16655, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 15 } }, "object": { "type": "Identifier", "start": 16644, "end": 16650, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 10 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "NumericLiteral", "start": 16651, "end": 16654, "loc": { "start": { "line": 627, "column": 11 }, "end": { "line": 627, "column": 14 } }, "extra": { "rawValue": 180, "raw": "180" }, "value": 180 }, "computed": true }, "right": { "type": "Identifier", "start": 16658, "end": 16672, "loc": { "start": { "line": 627, "column": 18 }, "end": { "line": 627, "column": 32 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } } }, { "type": "ExpressionStatement", "start": 16681, "end": 16734, "loc": { "start": { "line": 629, "column": 4 }, "end": { "line": 629, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 16681, "end": 16733, "loc": { "start": { "line": 629, "column": 4 }, "end": { "line": 629, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 16681, "end": 16695, "loc": { "start": { "line": 629, "column": 4 }, "end": { "line": 629, "column": 18 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" }, "right": { "type": "CallExpression", "start": 16698, "end": 16733, "loc": { "start": { "line": 629, "column": 21 }, "end": { "line": 629, "column": 56 } }, "callee": { "type": "Identifier", "start": 16698, "end": 16717, "loc": { "start": { "line": 629, "column": 21 }, "end": { "line": 629, "column": 40 }, "identifierName": "rotateFlatMatrix3x3" }, "name": "rotateFlatMatrix3x3" }, "arguments": [ { "type": "Identifier", "start": 16718, "end": 16732, "loc": { "start": { "line": 629, "column": 41 }, "end": { "line": 629, "column": 55 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } ] } } }, { "type": "ExpressionStatement", "start": 16740, "end": 16769, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16740, "end": 16768, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16740, "end": 16751, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 15 } }, "object": { "type": "Identifier", "start": 16740, "end": 16746, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 10 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "NumericLiteral", "start": 16747, "end": 16750, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 14 } }, "extra": { "rawValue": 270, "raw": "270" }, "value": 270 }, "computed": true }, "right": { "type": "Identifier", "start": 16754, "end": 16768, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 32 }, "identifierName": "originalMatrix" }, "name": "originalMatrix" } } }, { "type": "ReturnStatement", "start": 16777, "end": 16791, "loc": { "start": { "line": 632, "column": 4 }, "end": { "line": 632, "column": 18 } }, "argument": { "type": "Identifier", "start": 16784, "end": 16790, "loc": { "start": { "line": 632, "column": 11 }, "end": { "line": 632, "column": 17 }, "identifierName": "result" }, "name": "result" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 17035, "end": 17381, "loc": { "start": { "line": 650, "column": 0 }, "end": { "line": 663, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 17042, "end": 17381, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 663, "column": 1 } }, "id": { "type": "Identifier", "start": 17051, "end": 17074, "loc": { "start": { "line": 650, "column": 16 }, "end": { "line": 650, "column": 39 }, "identifierName": "rotateDirectionalObject" }, "name": "rotateDirectionalObject", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17075, "end": 17078, "loc": { "start": { "line": 650, "column": 40 }, "end": { "line": 650, "column": 43 }, "identifierName": "obj" }, "name": "obj" }, { "type": "Identifier", "start": 17080, "end": 17088, "loc": { "start": { "line": 650, "column": 45 }, "end": { "line": 650, "column": 53 }, "identifierName": "rotation" }, "name": "rotation" } ], "body": { "type": "BlockStatement", "start": 17090, "end": 17381, "loc": { "start": { "line": 650, "column": 55 }, "end": { "line": 663, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 17097, "end": 17154, "loc": { "start": { "line": 651, "column": 4 }, "end": { "line": 651, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17103, "end": 17153, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 60 } }, "id": { "type": "Identifier", "start": 17103, "end": 17108, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 15 }, "identifierName": "queue" }, "name": "queue" }, "init": { "type": "ArrayExpression", "start": 17111, "end": 17153, "loc": { "start": { "line": 651, "column": 18 }, "end": { "line": 651, "column": 60 } }, "elements": [ { "type": "MemberExpression", "start": 17112, "end": 17119, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 26 } }, "object": { "type": "Identifier", "start": 17112, "end": 17115, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 22 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 17116, "end": 17119, "loc": { "start": { "line": 651, "column": 23 }, "end": { "line": 651, "column": 26 }, "identifierName": "top" }, "name": "top" }, "computed": false }, { "type": "MemberExpression", "start": 17121, "end": 17130, "loc": { "start": { "line": 651, "column": 28 }, "end": { "line": 651, "column": 37 } }, "object": { "type": "Identifier", "start": 17121, "end": 17124, "loc": { "start": { "line": 651, "column": 28 }, "end": { "line": 651, "column": 31 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 17125, "end": 17130, "loc": { "start": { "line": 651, "column": 32 }, "end": { "line": 651, "column": 37 }, "identifierName": "right" }, "name": "right" }, "computed": false }, { "type": "MemberExpression", "start": 17132, "end": 17142, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 49 } }, "object": { "type": "Identifier", "start": 17132, "end": 17135, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 42 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 17136, "end": 17142, "loc": { "start": { "line": 651, "column": 43 }, "end": { "line": 651, "column": 49 }, "identifierName": "bottom" }, "name": "bottom" }, "computed": false }, { "type": "MemberExpression", "start": 17144, "end": 17152, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 651, "column": 59 } }, "object": { "type": "Identifier", "start": 17144, "end": 17147, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 651, "column": 54 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 17148, "end": 17152, "loc": { "start": { "line": 651, "column": 55 }, "end": { "line": 651, "column": 59 }, "identifierName": "left" }, "name": "left" }, "computed": false } ] } } ], "kind": "const" }, { "type": "WhileStatement", "start": 17160, "end": 17252, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 655, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 17167, "end": 17181, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 25 } }, "left": { "type": "Identifier", "start": 17167, "end": 17175, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 19 }, "identifierName": "rotation" }, "name": "rotation" }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 17180, "end": 17181, "loc": { "start": { "line": 652, "column": 24 }, "end": { "line": 652, "column": 25 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "body": { "type": "BlockStatement", "start": 17183, "end": 17252, "loc": { "start": { "line": 652, "column": 27 }, "end": { "line": 655, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17194, "end": 17209, "loc": { "start": { "line": 653, "column": 8 }, "end": { "line": 653, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 17194, "end": 17208, "loc": { "start": { "line": 653, "column": 8 }, "end": { "line": 653, "column": 22 } }, "operator": "-=", "left": { "type": "Identifier", "start": 17194, "end": 17202, "loc": { "start": { "line": 653, "column": 8 }, "end": { "line": 653, "column": 16 }, "identifierName": "rotation" }, "name": "rotation" }, "right": { "type": "NumericLiteral", "start": 17206, "end": 17208, "loc": { "start": { "line": 653, "column": 20 }, "end": { "line": 653, "column": 22 } }, "extra": { "rawValue": 90, "raw": "90" }, "value": 90 } } }, { "type": "ExpressionStatement", "start": 17219, "end": 17245, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 34 } }, "expression": { "type": "CallExpression", "start": 17219, "end": 17244, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 17219, "end": 17229, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 18 } }, "object": { "type": "Identifier", "start": 17219, "end": 17224, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 13 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "Identifier", "start": 17225, "end": 17229, "loc": { "start": { "line": 654, "column": 14 }, "end": { "line": 654, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 17230, "end": 17243, "loc": { "start": { "line": 654, "column": 19 }, "end": { "line": 654, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 17230, "end": 17241, "loc": { "start": { "line": 654, "column": 19 }, "end": { "line": 654, "column": 30 } }, "object": { "type": "Identifier", "start": 17230, "end": 17235, "loc": { "start": { "line": 654, "column": 19 }, "end": { "line": 654, "column": 24 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "Identifier", "start": 17236, "end": 17241, "loc": { "start": { "line": 654, "column": 25 }, "end": { "line": 654, "column": 30 }, "identifierName": "shift" }, "name": "shift" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 17260, "end": 17378, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 662, "column": 6 } }, "argument": { "type": "ObjectExpression", "start": 17267, "end": 17377, "loc": { "start": { "line": 657, "column": 11 }, "end": { "line": 662, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 17278, "end": 17291, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 17278, "end": 17281, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 11 }, "identifierName": "top" }, "name": "top" }, "value": { "type": "MemberExpression", "start": 17283, "end": 17291, "loc": { "start": { "line": 658, "column": 13 }, "end": { "line": 658, "column": 21 } }, "object": { "type": "Identifier", "start": 17283, "end": 17288, "loc": { "start": { "line": 658, "column": 13 }, "end": { "line": 658, "column": 18 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "NumericLiteral", "start": 17289, "end": 17290, "loc": { "start": { "line": 658, "column": 19 }, "end": { "line": 658, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } }, { "type": "ObjectProperty", "start": 17302, "end": 17317, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 17302, "end": 17307, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 13 }, "identifierName": "right" }, "name": "right" }, "value": { "type": "MemberExpression", "start": 17309, "end": 17317, "loc": { "start": { "line": 659, "column": 15 }, "end": { "line": 659, "column": 23 } }, "object": { "type": "Identifier", "start": 17309, "end": 17314, "loc": { "start": { "line": 659, "column": 15 }, "end": { "line": 659, "column": 20 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "NumericLiteral", "start": 17315, "end": 17316, "loc": { "start": { "line": 659, "column": 21 }, "end": { "line": 659, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } }, { "type": "ObjectProperty", "start": 17328, "end": 17344, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 17328, "end": 17334, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 14 }, "identifierName": "bottom" }, "name": "bottom" }, "value": { "type": "MemberExpression", "start": 17336, "end": 17344, "loc": { "start": { "line": 660, "column": 16 }, "end": { "line": 660, "column": 24 } }, "object": { "type": "Identifier", "start": 17336, "end": 17341, "loc": { "start": { "line": 660, "column": 16 }, "end": { "line": 660, "column": 21 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "NumericLiteral", "start": 17342, "end": 17343, "loc": { "start": { "line": 660, "column": 22 }, "end": { "line": 660, "column": 23 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "computed": true } }, { "type": "ObjectProperty", "start": 17355, "end": 17369, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 17355, "end": 17359, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 12 }, "identifierName": "left" }, "name": "left" }, "value": { "type": "MemberExpression", "start": 17361, "end": 17369, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 22 } }, "object": { "type": "Identifier", "start": 17361, "end": 17366, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 19 }, "identifierName": "queue" }, "name": "queue" }, "property": { "type": "NumericLiteral", "start": 17367, "end": 17368, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 21 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "computed": true } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 17483, "end": 17551, "loc": { "start": { "line": 670, "column": 0 }, "end": { "line": 672, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 17490, "end": 17551, "loc": { "start": { "line": 670, "column": 7 }, "end": { "line": 672, "column": 1 } }, "id": { "type": "Identifier", "start": 17499, "end": 17509, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 26 }, "identifierName": "safeModulo" }, "name": "safeModulo", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17510, "end": 17511, "loc": { "start": { "line": 670, "column": 27 }, "end": { "line": 670, "column": 28 }, "identifierName": "n" }, "name": "n" }, { "type": "Identifier", "start": 17513, "end": 17514, "loc": { "start": { "line": 670, "column": 30 }, "end": { "line": 670, "column": 31 }, "identifierName": "m" }, "name": "m" } ], "body": { "type": "BlockStatement", "start": 17516, "end": 17551, "loc": { "start": { "line": 670, "column": 33 }, "end": { "line": 672, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 17523, "end": 17548, "loc": { "start": { "line": 671, "column": 4 }, "end": { "line": 671, "column": 29 } }, "argument": { "type": "BinaryExpression", "start": 17530, "end": 17547, "loc": { "start": { "line": 671, "column": 11 }, "end": { "line": 671, "column": 28 } }, "left": { "type": "BinaryExpression", "start": 17531, "end": 17542, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 23 } }, "left": { "type": "BinaryExpression", "start": 17532, "end": 17537, "loc": { "start": { "line": 671, "column": 13 }, "end": { "line": 671, "column": 18 } }, "left": { "type": "Identifier", "start": 17532, "end": 17533, "loc": { "start": { "line": 671, "column": 13 }, "end": { "line": 671, "column": 14 }, "identifierName": "n" }, "name": "n" }, "operator": "%", "right": { "type": "Identifier", "start": 17536, "end": 17537, "loc": { "start": { "line": 671, "column": 17 }, "end": { "line": 671, "column": 18 }, "identifierName": "m" }, "name": "m" }, "extra": { "parenthesized": true, "parenStart": 17531 } }, "operator": "+", "right": { "type": "Identifier", "start": 17541, "end": 17542, "loc": { "start": { "line": 671, "column": 22 }, "end": { "line": 671, "column": 23 }, "identifierName": "m" }, "name": "m" }, "extra": { "parenthesized": true, "parenStart": 17530 } }, "operator": "%", "right": { "type": "Identifier", "start": 17546, "end": 17547, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 28 }, "identifierName": "m" }, "name": "m" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 17671, "end": 17753, "loc": { "start": { "line": 679, "column": 0 }, "end": { "line": 681, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 17678, "end": 17753, "loc": { "start": { "line": 679, "column": 7 }, "end": { "line": 681, "column": 1 } }, "id": { "type": "Identifier", "start": 17687, "end": 17698, "loc": { "start": { "line": 679, "column": 16 }, "end": { "line": 679, "column": 27 }, "identifierName": "smoothPulse" }, "name": "smoothPulse", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17699, "end": 17703, "loc": { "start": { "line": 679, "column": 28 }, "end": { "line": 679, "column": 32 }, "identifierName": "time" }, "name": "time" } ], "body": { "type": "BlockStatement", "start": 17705, "end": 17753, "loc": { "start": { "line": 679, "column": 34 }, "end": { "line": 681, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 17712, "end": 17750, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 680, "column": 42 } }, "argument": { "type": "BinaryExpression", "start": 17719, "end": 17749, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 17719, "end": 17743, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 35 } }, "left": { "type": "CallExpression", "start": 17719, "end": 17737, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 17719, "end": 17727, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 19 } }, "object": { "type": "Identifier", "start": 17719, "end": 17723, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 15 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 17724, "end": 17727, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "column": 19 }, "identifierName": "sin" }, "name": "sin" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 17728, "end": 17736, "loc": { "start": { "line": 680, "column": 20 }, "end": { "line": 680, "column": 28 } }, "left": { "type": "Identifier", "start": 17728, "end": 17732, "loc": { "start": { "line": 680, "column": 20 }, "end": { "line": 680, "column": 24 }, "identifierName": "time" }, "name": "time" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 17735, "end": 17736, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 28 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } } ] }, "operator": "*", "right": { "type": "NumericLiteral", "start": 17740, "end": 17743, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 35 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 17746, "end": 17749, "loc": { "start": { "line": 680, "column": 38 }, "end": { "line": 680, "column": 41 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 17850, "end": 18048, "loc": { "start": { "line": 688, "column": 0 }, "end": { "line": 692, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 17857, "end": 18048, "loc": { "start": { "line": 688, "column": 7 }, "end": { "line": 692, "column": 1 } }, "id": { "type": "Identifier", "start": 17866, "end": 17891, "loc": { "start": { "line": 688, "column": 16 }, "end": { "line": 688, "column": 41 }, "identifierName": "fillInLinkIntoTranslation" }, "name": "fillInLinkIntoTranslation", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17892, "end": 17903, "loc": { "start": { "line": 688, "column": 42 }, "end": { "line": 688, "column": 53 }, "identifierName": "translation" }, "name": "translation" }, { "type": "Identifier", "start": 17905, "end": 17909, "loc": { "start": { "line": 688, "column": 55 }, "end": { "line": 688, "column": 59 }, "identifierName": "link" }, "name": "link" } ], "body": { "type": "BlockStatement", "start": 17911, "end": 18048, "loc": { "start": { "line": 688, "column": 61 }, "end": { "line": 692, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 17918, "end": 18045, "loc": { "start": { "line": 689, "column": 4 }, "end": { "line": 691, "column": 36 } }, "argument": { "type": "CallExpression", "start": 17925, "end": 18044, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 691, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 17925, "end": 18025, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 691, "column": 16 } }, "object": { "type": "CallExpression", "start": 17925, "end": 18007, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 690, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 17925, "end": 17954, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 690, "column": 16 } }, "object": { "type": "Identifier", "start": 17925, "end": 17936, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 689, "column": 22 }, "identifierName": "translation" }, "name": "translation" }, "property": { "type": "Identifier", "start": 17947, "end": 17954, "loc": { "start": { "line": 690, "column": 9 }, "end": { "line": 690, "column": 16 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17955, "end": 17963, "loc": { "start": { "line": 690, "column": 17 }, "end": { "line": 690, "column": 25 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "BinaryExpression", "start": 17965, "end": 18006, "loc": { "start": { "line": 690, "column": 27 }, "end": { "line": 690, "column": 68 } }, "left": { "type": "BinaryExpression", "start": 17965, "end": 17983, "loc": { "start": { "line": 690, "column": 27 }, "end": { "line": 690, "column": 45 } }, "left": { "type": "StringLiteral", "start": 17965, "end": 17976, "loc": { "start": { "line": 690, "column": 27 }, "end": { "line": 690, "column": 38 } }, "extra": { "rawValue": "", "raw": "\"' target='_blank'>\"" }, "value": "' target='_blank'>" } } ] }, "property": { "type": "Identifier", "start": 18018, "end": 18025, "loc": { "start": { "line": 691, "column": 9 }, "end": { "line": 691, "column": 16 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18026, "end": 18035, "loc": { "start": { "line": 691, "column": 17 }, "end": { "line": 691, "column": 26 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "StringLiteral", "start": 18037, "end": 18043, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 34 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 18146, "end": 18541, "loc": { "start": { "line": 699, "column": 0 }, "end": { "line": 709, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 18153, "end": 18541, "loc": { "start": { "line": 699, "column": 7 }, "end": { "line": 709, "column": 1 } }, "id": { "type": "Identifier", "start": 18162, "end": 18182, "loc": { "start": { "line": 699, "column": 16 }, "end": { "line": 699, "column": 36 }, "identifierName": "generateFileDownload" }, "name": "generateFileDownload", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18183, "end": 18191, "loc": { "start": { "line": 699, "column": 37 }, "end": { "line": 699, "column": 45 }, "identifierName": "filename" }, "name": "filename" }, { "type": "Identifier", "start": 18193, "end": 18197, "loc": { "start": { "line": 699, "column": 47 }, "end": { "line": 699, "column": 51 }, "identifierName": "text" }, "name": "text" } ], "body": { "type": "BlockStatement", "start": 18199, "end": 18541, "loc": { "start": { "line": 699, "column": 53 }, "end": { "line": 709, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 18206, "end": 18248, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 700, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18210, "end": 18247, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 45 } }, "id": { "type": "Identifier", "start": 18210, "end": 18217, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 15 }, "identifierName": "element" }, "name": "element" }, "init": { "type": "CallExpression", "start": 18220, "end": 18247, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 18220, "end": 18242, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 40 } }, "object": { "type": "Identifier", "start": 18220, "end": 18228, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 26 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18229, "end": 18242, "loc": { "start": { "line": 700, "column": 27 }, "end": { "line": 700, "column": 40 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18243, "end": 18246, "loc": { "start": { "line": 700, "column": 41 }, "end": { "line": 700, "column": 44 } }, "extra": { "rawValue": "a", "raw": "\"a\"" }, "value": "a" } ] } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 18254, "end": 18344, "loc": { "start": { "line": 701, "column": 4 }, "end": { "line": 701, "column": 94 } }, "expression": { "type": "CallExpression", "start": 18254, "end": 18343, "loc": { "start": { "line": 701, "column": 4 }, "end": { "line": 701, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 18254, "end": 18274, "loc": { "start": { "line": 701, "column": 4 }, "end": { "line": 701, "column": 24 } }, "object": { "type": "Identifier", "start": 18254, "end": 18261, "loc": { "start": { "line": 701, "column": 4 }, "end": { "line": 701, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 18262, "end": 18274, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 24 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18275, "end": 18281, "loc": { "start": { "line": 701, "column": 25 }, "end": { "line": 701, "column": 31 } }, "extra": { "rawValue": "href", "raw": "\"href\"" }, "value": "href" }, { "type": "BinaryExpression", "start": 18283, "end": 18342, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 92 } }, "left": { "type": "StringLiteral", "start": 18283, "end": 18315, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 65 } }, "extra": { "rawValue": "data:text/plain;charset=utf-8,", "raw": "\"data:text/plain;charset=utf-8,\"" }, "value": "data:text/plain;charset=utf-8," }, "operator": "+", "right": { "type": "CallExpression", "start": 18318, "end": 18342, "loc": { "start": { "line": 701, "column": 68 }, "end": { "line": 701, "column": 92 } }, "callee": { "type": "Identifier", "start": 18318, "end": 18336, "loc": { "start": { "line": 701, "column": 68 }, "end": { "line": 701, "column": 86 }, "identifierName": "encodeURIComponent" }, "name": "encodeURIComponent" }, "arguments": [ { "type": "Identifier", "start": 18337, "end": 18341, "loc": { "start": { "line": 701, "column": 87 }, "end": { "line": 701, "column": 91 }, "identifierName": "text" }, "name": "text" } ] } } ] } }, { "type": "ExpressionStatement", "start": 18350, "end": 18393, "loc": { "start": { "line": 702, "column": 4 }, "end": { "line": 702, "column": 47 } }, "expression": { "type": "CallExpression", "start": 18350, "end": 18392, "loc": { "start": { "line": 702, "column": 4 }, "end": { "line": 702, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 18350, "end": 18370, "loc": { "start": { "line": 702, "column": 4 }, "end": { "line": 702, "column": 24 } }, "object": { "type": "Identifier", "start": 18350, "end": 18357, "loc": { "start": { "line": 702, "column": 4 }, "end": { "line": 702, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 18358, "end": 18370, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 24 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18371, "end": 18381, "loc": { "start": { "line": 702, "column": 25 }, "end": { "line": 702, "column": 35 } }, "extra": { "rawValue": "download", "raw": "\"download\"" }, "value": "download" }, { "type": "Identifier", "start": 18383, "end": 18391, "loc": { "start": { "line": 702, "column": 37 }, "end": { "line": 702, "column": 45 }, "identifierName": "filename" }, "name": "filename" } ] } }, { "type": "ExpressionStatement", "start": 18401, "end": 18432, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 18401, "end": 18431, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18401, "end": 18422, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18401, "end": 18414, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 17 } }, "object": { "type": "Identifier", "start": 18401, "end": 18408, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 18409, "end": 18414, "loc": { "start": { "line": 704, "column": 12 }, "end": { "line": 704, "column": 17 }, "identifierName": "style" }, "name": "style" }, "computed": false }, "property": { "type": "Identifier", "start": 18415, "end": 18422, "loc": { "start": { "line": 704, "column": 18 }, "end": { "line": 704, "column": 25 }, "identifierName": "display" }, "name": "display" }, "computed": false }, "right": { "type": "StringLiteral", "start": 18425, "end": 18431, "loc": { "start": { "line": 704, "column": 28 }, "end": { "line": 704, "column": 34 } }, "extra": { "rawValue": "none", "raw": "\"none\"" }, "value": "none" } } }, { "type": "ExpressionStatement", "start": 18438, "end": 18473, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 39 } }, "expression": { "type": "CallExpression", "start": 18438, "end": 18472, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 18438, "end": 18463, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 29 } }, "object": { "type": "MemberExpression", "start": 18438, "end": 18451, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 17 } }, "object": { "type": "Identifier", "start": 18438, "end": 18446, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18447, "end": 18451, "loc": { "start": { "line": 705, "column": 13 }, "end": { "line": 705, "column": 17 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 18452, "end": 18463, "loc": { "start": { "line": 705, "column": 18 }, "end": { "line": 705, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18464, "end": 18471, "loc": { "start": { "line": 705, "column": 30 }, "end": { "line": 705, "column": 37 }, "identifierName": "element" }, "name": "element" } ] } }, { "type": "ExpressionStatement", "start": 18481, "end": 18497, "loc": { "start": { "line": 707, "column": 4 }, "end": { "line": 707, "column": 20 } }, "expression": { "type": "CallExpression", "start": 18481, "end": 18496, "loc": { "start": { "line": 707, "column": 4 }, "end": { "line": 707, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 18481, "end": 18494, "loc": { "start": { "line": 707, "column": 4 }, "end": { "line": 707, "column": 17 } }, "object": { "type": "Identifier", "start": 18481, "end": 18488, "loc": { "start": { "line": 707, "column": 4 }, "end": { "line": 707, "column": 11 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 18489, "end": 18494, "loc": { "start": { "line": 707, "column": 12 }, "end": { "line": 707, "column": 17 }, "identifierName": "click" }, "name": "click" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 18503, "end": 18538, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 39 } }, "expression": { "type": "CallExpression", "start": 18503, "end": 18537, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 18503, "end": 18528, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 29 } }, "object": { "type": "MemberExpression", "start": 18503, "end": 18516, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 17 } }, "object": { "type": "Identifier", "start": 18503, "end": 18511, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18512, "end": 18516, "loc": { "start": { "line": 708, "column": 13 }, "end": { "line": 708, "column": 17 }, "identifierName": "body" }, "name": "body" }, "computed": false }, "property": { "type": "Identifier", "start": 18517, "end": 18528, "loc": { "start": { "line": 708, "column": 18 }, "end": { "line": 708, "column": 29 }, "identifierName": "removeChild" }, "name": "removeChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18529, "end": 18536, "loc": { "start": { "line": 708, "column": 30 }, "end": { "line": 708, "column": 37 }, "identifierName": "element" }, "name": "element" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 18614, "end": 18911, "loc": { "start": { "line": 715, "column": 0 }, "end": { "line": 724, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 18621, "end": 18911, "loc": { "start": { "line": 715, "column": 7 }, "end": { "line": 724, "column": 1 } }, "id": { "type": "Identifier", "start": 18630, "end": 18645, "loc": { "start": { "line": 715, "column": 16 }, "end": { "line": 715, "column": 31 }, "identifierName": "startFileChoose" }, "name": "startFileChoose", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 18646, "end": 18667, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 53 } }, "left": { "type": "Identifier", "start": 18646, "end": 18658, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 44 }, "identifierName": "acceptedType" }, "name": "acceptedType" }, "right": { "type": "StringLiteral", "start": 18661, "end": 18667, "loc": { "start": { "line": 715, "column": 47 }, "end": { "line": 715, "column": 53 } }, "extra": { "rawValue": ".bin", "raw": "\".bin\"" }, "value": ".bin" } } ], "body": { "type": "BlockStatement", "start": 18669, "end": 18911, "loc": { "start": { "line": 715, "column": 55 }, "end": { "line": 724, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 18676, "end": 18720, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 716, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18680, "end": 18719, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 47 } }, "id": { "type": "Identifier", "start": 18680, "end": 18685, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 13 }, "identifierName": "input" }, "name": "input" }, "init": { "type": "CallExpression", "start": 18688, "end": 18719, "loc": { "start": { "line": 716, "column": 16 }, "end": { "line": 716, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 18688, "end": 18710, "loc": { "start": { "line": 716, "column": 16 }, "end": { "line": 716, "column": 38 } }, "object": { "type": "Identifier", "start": 18688, "end": 18696, "loc": { "start": { "line": 716, "column": 16 }, "end": { "line": 716, "column": 24 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18697, "end": 18710, "loc": { "start": { "line": 716, "column": 25 }, "end": { "line": 716, "column": 38 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18711, "end": 18718, "loc": { "start": { "line": 716, "column": 39 }, "end": { "line": 716, "column": 46 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } ] } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 18726, "end": 18746, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 717, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 18726, "end": 18745, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 717, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18726, "end": 18736, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 717, "column": 14 } }, "object": { "type": "Identifier", "start": 18726, "end": 18731, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 717, "column": 9 }, "identifierName": "input" }, "name": "input" }, "property": { "type": "Identifier", "start": 18732, "end": 18736, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 14 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "right": { "type": "StringLiteral", "start": 18739, "end": 18745, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 23 } }, "extra": { "rawValue": "file", "raw": "\"file\"" }, "value": "file" } } }, { "type": "ExpressionStatement", "start": 18752, "end": 18780, "loc": { "start": { "line": 718, "column": 4 }, "end": { "line": 718, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 18752, "end": 18779, "loc": { "start": { "line": 718, "column": 4 }, "end": { "line": 718, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18752, "end": 18764, "loc": { "start": { "line": 718, "column": 4 }, "end": { "line": 718, "column": 16 } }, "object": { "type": "Identifier", "start": 18752, "end": 18757, "loc": { "start": { "line": 718, "column": 4 }, "end": { "line": 718, "column": 9 }, "identifierName": "input" }, "name": "input" }, "property": { "type": "Identifier", "start": 18758, "end": 18764, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 16 }, "identifierName": "accept" }, "name": "accept" }, "computed": false }, "right": { "type": "Identifier", "start": 18767, "end": 18779, "loc": { "start": { "line": 718, "column": 19 }, "end": { "line": 718, "column": 31 }, "identifierName": "acceptedType" }, "name": "acceptedType" } } }, { "type": "ReturnStatement", "start": 18788, "end": 18908, "loc": { "start": { "line": 720, "column": 4 }, "end": { "line": 723, "column": 7 } }, "argument": { "type": "NewExpression", "start": 18795, "end": 18907, "loc": { "start": { "line": 720, "column": 11 }, "end": { "line": 723, "column": 6 } }, "callee": { "type": "Identifier", "start": 18799, "end": 18806, "loc": { "start": { "line": 720, "column": 15 }, "end": { "line": 720, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18807, "end": 18906, "loc": { "start": { "line": 720, "column": 23 }, "end": { "line": 723, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18807, "end": 18814, "loc": { "start": { "line": 720, "column": 23 }, "end": { "line": 720, "column": 30 }, "identifierName": "resolve" }, "name": "resolve" } ], "body": { "type": "BlockStatement", "start": 18818, "end": 18906, "loc": { "start": { "line": 720, "column": 34 }, "end": { "line": 723, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18829, "end": 18875, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 18829, "end": 18874, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18829, "end": 18843, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 22 } }, "object": { "type": "Identifier", "start": 18829, "end": 18834, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 13 }, "identifierName": "input" }, "name": "input" }, "property": { "type": "Identifier", "start": 18835, "end": 18843, "loc": { "start": { "line": 721, "column": 14 }, "end": { "line": 721, "column": 22 }, "identifierName": "onchange" }, "name": "onchange" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 18846, "end": 18874, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 721, "column": 53 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 18846, "end": 18847, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 721, "column": 26 }, "identifierName": "_" }, "name": "_" } ], "body": { "type": "CallExpression", "start": 18851, "end": 18874, "loc": { "start": { "line": 721, "column": 30 }, "end": { "line": 721, "column": 53 } }, "callee": { "type": "Identifier", "start": 18851, "end": 18858, "loc": { "start": { "line": 721, "column": 30 }, "end": { "line": 721, "column": 37 }, "identifierName": "resolve" }, "name": "resolve" }, "arguments": [ { "type": "MemberExpression", "start": 18859, "end": 18873, "loc": { "start": { "line": 721, "column": 38 }, "end": { "line": 721, "column": 52 } }, "object": { "type": "MemberExpression", "start": 18859, "end": 18870, "loc": { "start": { "line": 721, "column": 38 }, "end": { "line": 721, "column": 49 } }, "object": { "type": "Identifier", "start": 18859, "end": 18864, "loc": { "start": { "line": 721, "column": 38 }, "end": { "line": 721, "column": 43 }, "identifierName": "input" }, "name": "input" }, "property": { "type": "Identifier", "start": 18865, "end": 18870, "loc": { "start": { "line": 721, "column": 44 }, "end": { "line": 721, "column": 49 }, "identifierName": "files" }, "name": "files" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 18871, "end": 18872, "loc": { "start": { "line": 721, "column": 50 }, "end": { "line": 721, "column": 51 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } ] } } } }, { "type": "ExpressionStatement", "start": 18885, "end": 18899, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 22 } }, "expression": { "type": "CallExpression", "start": 18885, "end": 18898, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 18885, "end": 18896, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 19 } }, "object": { "type": "Identifier", "start": 18885, "end": 18890, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 13 }, "identifierName": "input" }, "name": "input" }, "property": { "type": "Identifier", "start": 18891, "end": 18896, "loc": { "start": { "line": 722, "column": 14 }, "end": { "line": 722, "column": 19 }, "identifierName": "click" }, "name": "click" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } } ] }, { "type": "VariableDeclaration", "start": 18915, "end": 18943, "loc": { "start": { "line": 726, "column": 0 }, "end": { "line": 726, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18921, "end": 18942, "loc": { "start": { "line": 726, "column": 6 }, "end": { "line": 726, "column": 27 } }, "id": { "type": "Identifier", "start": 18921, "end": 18937, "loc": { "start": { "line": 726, "column": 6 }, "end": { "line": 726, "column": 22 }, "identifierName": "MAX_ROMAN_NUMBER" }, "name": "MAX_ROMAN_NUMBER" }, "init": { "type": "NumericLiteral", "start": 18940, "end": 18942, "loc": { "start": { "line": 726, "column": 25 }, "end": { "line": 726, "column": 27 } }, "extra": { "rawValue": 49, "raw": "49" }, "value": 49 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18945, "end": 18978, "loc": { "start": { "line": 727, "column": 0 }, "end": { "line": 727, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18951, "end": 18977, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 727, "column": 32 } }, "id": { "type": "Identifier", "start": 18951, "end": 18969, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 727, "column": 24 }, "identifierName": "romanLiteralsCache" }, "name": "romanLiteralsCache" }, "init": { "type": "ArrayExpression", "start": 18972, "end": 18977, "loc": { "start": { "line": 727, "column": 27 }, "end": { "line": 727, "column": 32 } }, "elements": [ { "type": "StringLiteral", "start": 18973, "end": 18976, "loc": { "start": { "line": 727, "column": 28 }, "end": { "line": 727, "column": 31 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} number\r\n * @returns {string}\r\n ", "start": 18982, "end": 19043, "loc": { "start": { "line": 729, "column": 0 }, "end": { "line": 733, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 19045, "end": 20576, "loc": { "start": { "line": 734, "column": 0 }, "end": { "line": 784, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 19052, "end": 20576, "loc": { "start": { "line": 734, "column": 7 }, "end": { "line": 784, "column": 1 } }, "id": { "type": "Identifier", "start": 19061, "end": 19075, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 30 }, "identifierName": "getRomanNumber" }, "name": "getRomanNumber", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19076, "end": 19082, "loc": { "start": { "line": 734, "column": 31 }, "end": { "line": 734, "column": 37 }, "identifierName": "number" }, "name": "number" } ], "body": { "type": "BlockStatement", "start": 19084, "end": 20576, "loc": { "start": { "line": 734, "column": 39 }, "end": { "line": 784, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 19091, "end": 19132, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 735, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 19091, "end": 19131, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 735, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", "start": 19091, "end": 19097, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 735, "column": 10 }, "identifierName": "number" }, "name": "number" }, "right": { "type": "CallExpression", "start": 19100, "end": 19131, "loc": { "start": { "line": 735, "column": 13 }, "end": { "line": 735, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 19100, "end": 19108, "loc": { "start": { "line": 735, "column": 13 }, "end": { "line": 735, "column": 21 } }, "object": { "type": "Identifier", "start": 19100, "end": 19104, "loc": { "start": { "line": 735, "column": 13 }, "end": { "line": 735, "column": 17 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19105, "end": 19108, "loc": { "start": { "line": 735, "column": 18 }, "end": { "line": 735, "column": 21 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 19109, "end": 19110, "loc": { "start": { "line": 735, "column": 22 }, "end": { "line": 735, "column": 23 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "CallExpression", "start": 19112, "end": 19130, "loc": { "start": { "line": 735, "column": 25 }, "end": { "line": 735, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 19112, "end": 19122, "loc": { "start": { "line": 735, "column": 25 }, "end": { "line": 735, "column": 35 } }, "object": { "type": "Identifier", "start": 19112, "end": 19116, "loc": { "start": { "line": 735, "column": 25 }, "end": { "line": 735, "column": 29 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19117, "end": 19122, "loc": { "start": { "line": 735, "column": 30 }, "end": { "line": 735, "column": 35 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19123, "end": 19129, "loc": { "start": { "line": 735, "column": 36 }, "end": { "line": 735, "column": 42 }, "identifierName": "number" }, "name": "number" } ] } ] } } }, { "type": "IfStatement", "start": 19138, "end": 19222, "loc": { "start": { "line": 736, "column": 4 }, "end": { "line": 738, "column": 5 } }, "test": { "type": "MemberExpression", "start": 19142, "end": 19168, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 34 } }, "object": { "type": "Identifier", "start": 19142, "end": 19160, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 26 }, "identifierName": "romanLiteralsCache" }, "name": "romanLiteralsCache" }, "property": { "type": "Identifier", "start": 19161, "end": 19167, "loc": { "start": { "line": 736, "column": 27 }, "end": { "line": 736, "column": 33 }, "identifierName": "number" }, "name": "number" }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 19170, "end": 19222, "loc": { "start": { "line": 736, "column": 36 }, "end": { "line": 738, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 19181, "end": 19215, "loc": { "start": { "line": 737, "column": 8 }, "end": { "line": 737, "column": 42 } }, "argument": { "type": "MemberExpression", "start": 19188, "end": 19214, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 41 } }, "object": { "type": "Identifier", "start": 19188, "end": 19206, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 33 }, "identifierName": "romanLiteralsCache" }, "name": "romanLiteralsCache" }, "property": { "type": "Identifier", "start": 19207, "end": 19213, "loc": { "start": { "line": 737, "column": 34 }, "end": { "line": 737, "column": 40 }, "identifierName": "number" }, "name": "number" }, "computed": true } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 19230, "end": 19301, "loc": { "start": { "line": 740, "column": 4 }, "end": { "line": 742, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 19234, "end": 19259, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 33 } }, "left": { "type": "Identifier", "start": 19234, "end": 19240, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 14 }, "identifierName": "number" }, "name": "number" }, "operator": ">", "right": { "type": "Identifier", "start": 19243, "end": 19259, "loc": { "start": { "line": 740, "column": 17 }, "end": { "line": 740, "column": 33 }, "identifierName": "MAX_ROMAN_NUMBER" }, "name": "MAX_ROMAN_NUMBER" } }, "consequent": { "type": "BlockStatement", "start": 19261, "end": 19301, "loc": { "start": { "line": 740, "column": 35 }, "end": { "line": 742, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 19272, "end": 19294, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 30 } }, "argument": { "type": "CallExpression", "start": 19279, "end": 19293, "loc": { "start": { "line": 741, "column": 15 }, "end": { "line": 741, "column": 29 } }, "callee": { "type": "Identifier", "start": 19279, "end": 19285, "loc": { "start": { "line": 741, "column": 15 }, "end": { "line": 741, "column": 21 }, "identifierName": "String" }, "name": "String" }, "arguments": [ { "type": "Identifier", "start": 19286, "end": 19292, "loc": { "start": { "line": 741, "column": 22 }, "end": { "line": 741, "column": 28 }, "identifierName": "number" }, "name": "number" } ] } } ], "directives": [] }, "alternate": null }, { "type": "FunctionDeclaration", "start": 19309, "end": 19930, "loc": { "start": { "line": 744, "column": 4 }, "end": { "line": 762, "column": 5 } }, "id": { "type": "Identifier", "start": 19318, "end": 19329, "loc": { "start": { "line": 744, "column": 13 }, "end": { "line": 744, "column": 24 }, "identifierName": "formatDigit" }, "name": "formatDigit" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19330, "end": 19335, "loc": { "start": { "line": 744, "column": 25 }, "end": { "line": 744, "column": 30 }, "identifierName": "digit" }, "name": "digit" }, { "type": "Identifier", "start": 19337, "end": 19341, "loc": { "start": { "line": 744, "column": 32 }, "end": { "line": 744, "column": 36 }, "identifierName": "unit" }, "name": "unit" }, { "type": "Identifier", "start": 19343, "end": 19352, "loc": { "start": { "line": 744, "column": 38 }, "end": { "line": 744, "column": 47 }, "identifierName": "quintuple" }, "name": "quintuple" }, { "type": "Identifier", "start": 19354, "end": 19361, "loc": { "start": { "line": 744, "column": 49 }, "end": { "line": 744, "column": 56 }, "identifierName": "decuple" }, "name": "decuple" } ], "body": { "type": "BlockStatement", "start": 19363, "end": 19930, "loc": { "start": { "line": 744, "column": 58 }, "end": { "line": 762, "column": 5 } }, "body": [ { "type": "SwitchStatement", "start": 19374, "end": 19923, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 761, "column": 9 } }, "discriminant": { "type": "Identifier", "start": 19382, "end": 19387, "loc": { "start": { "line": 745, "column": 16 }, "end": { "line": 745, "column": 21 }, "identifierName": "digit" }, "name": "digit" }, "cases": [ { "type": "SwitchCase", "start": 19404, "end": 19439, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 747, "column": 26 } }, "consequent": [ { "type": "ReturnStatement", "start": 19429, "end": 19439, "loc": { "start": { "line": 747, "column": 16 }, "end": { "line": 747, "column": 26 } }, "argument": { "type": "StringLiteral", "start": 19436, "end": 19438, "loc": { "start": { "line": 747, "column": 23 }, "end": { "line": 747, "column": 25 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "test": { "type": "NumericLiteral", "start": 19409, "end": 19410, "loc": { "start": { "line": 746, "column": 17 }, "end": { "line": 746, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "SwitchCase", "start": 19453, "end": 19495, "loc": { "start": { "line": 748, "column": 12 }, "end": { "line": 749, "column": 28 } }, "consequent": [ { "type": "ReturnStatement", "start": 19483, "end": 19495, "loc": { "start": { "line": 749, "column": 16 }, "end": { "line": 749, "column": 28 } }, "argument": { "type": "Identifier", "start": 19490, "end": 19494, "loc": { "start": { "line": 749, "column": 23 }, "end": { "line": 749, "column": 27 }, "identifierName": "unit" }, "name": "unit", "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " I", "start": 19461, "end": 19465, "loc": { "start": { "line": 748, "column": 20 }, "end": { "line": 748, "column": 24 } } } ] } ], "test": { "type": "NumericLiteral", "start": 19458, "end": 19459, "loc": { "start": { "line": 748, "column": 17 }, "end": { "line": 748, "column": 18 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "SwitchCase", "start": 19509, "end": 19559, "loc": { "start": { "line": 750, "column": 12 }, "end": { "line": 751, "column": 35 } }, "consequent": [ { "type": "ReturnStatement", "start": 19540, "end": 19559, "loc": { "start": { "line": 751, "column": 16 }, "end": { "line": 751, "column": 35 } }, "argument": { "type": "BinaryExpression", "start": 19547, "end": 19558, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 34 } }, "left": { "type": "Identifier", "start": 19547, "end": 19551, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 27 }, "identifierName": "unit" }, "name": "unit", "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 19554, "end": 19558, "loc": { "start": { "line": 751, "column": 30 }, "end": { "line": 751, "column": 34 }, "identifierName": "unit" }, "name": "unit" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " II", "start": 19517, "end": 19522, "loc": { "start": { "line": 750, "column": 20 }, "end": { "line": 750, "column": 25 } } } ] } ], "test": { "type": "NumericLiteral", "start": 19514, "end": 19515, "loc": { "start": { "line": 750, "column": 17 }, "end": { "line": 750, "column": 18 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "SwitchCase", "start": 19573, "end": 19631, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 753, "column": 42 } }, "consequent": [ { "type": "ReturnStatement", "start": 19605, "end": 19631, "loc": { "start": { "line": 753, "column": 16 }, "end": { "line": 753, "column": 42 } }, "argument": { "type": "BinaryExpression", "start": 19612, "end": 19630, "loc": { "start": { "line": 753, "column": 23 }, "end": { "line": 753, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 19612, "end": 19623, "loc": { "start": { "line": 753, "column": 23 }, "end": { "line": 753, "column": 34 } }, "left": { "type": "Identifier", "start": 19612, "end": 19616, "loc": { "start": { "line": 753, "column": 23 }, "end": { "line": 753, "column": 27 }, "identifierName": "unit" }, "name": "unit", "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 19619, "end": 19623, "loc": { "start": { "line": 753, "column": 30 }, "end": { "line": 753, "column": 34 }, "identifierName": "unit" }, "name": "unit" }, "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 19626, "end": 19630, "loc": { "start": { "line": 753, "column": 37 }, "end": { "line": 753, "column": 41 }, "identifierName": "unit" }, "name": "unit" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " III", "start": 19581, "end": 19587, "loc": { "start": { "line": 752, "column": 20 }, "end": { "line": 752, "column": 26 } } } ] } ], "test": { "type": "NumericLiteral", "start": 19578, "end": 19579, "loc": { "start": { "line": 752, "column": 17 }, "end": { "line": 752, "column": 18 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } }, { "type": "SwitchCase", "start": 19645, "end": 19700, "loc": { "start": { "line": 754, "column": 12 }, "end": { "line": 755, "column": 40 } }, "consequent": [ { "type": "ReturnStatement", "start": 19676, "end": 19700, "loc": { "start": { "line": 755, "column": 16 }, "end": { "line": 755, "column": 40 } }, "argument": { "type": "BinaryExpression", "start": 19683, "end": 19699, "loc": { "start": { "line": 755, "column": 23 }, "end": { "line": 755, "column": 39 } }, "left": { "type": "Identifier", "start": 19683, "end": 19687, "loc": { "start": { "line": 755, "column": 23 }, "end": { "line": 755, "column": 27 }, "identifierName": "unit" }, "name": "unit", "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 19690, "end": 19699, "loc": { "start": { "line": 755, "column": 30 }, "end": { "line": 755, "column": 39 }, "identifierName": "quintuple" }, "name": "quintuple" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " IV", "start": 19653, "end": 19658, "loc": { "start": { "line": 754, "column": 20 }, "end": { "line": 754, "column": 25 } } } ] } ], "test": { "type": "NumericLiteral", "start": 19650, "end": 19651, "loc": { "start": { "line": 754, "column": 17 }, "end": { "line": 754, "column": 18 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } }, { "type": "SwitchCase", "start": 19714, "end": 19767, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 757, "column": 38 } }, "consequent": [ { "type": "ReturnStatement", "start": 19745, "end": 19767, "loc": { "start": { "line": 757, "column": 16 }, "end": { "line": 757, "column": 38 } }, "argument": { "type": "BinaryExpression", "start": 19752, "end": 19766, "loc": { "start": { "line": 757, "column": 23 }, "end": { "line": 757, "column": 37 } }, "left": { "type": "Identifier", "start": 19752, "end": 19756, "loc": { "start": { "line": 757, "column": 23 }, "end": { "line": 757, "column": 27 }, "identifierName": "unit" }, "name": "unit", "leadingComments": null }, "operator": "+", "right": { "type": "Identifier", "start": 19759, "end": 19766, "loc": { "start": { "line": 757, "column": 30 }, "end": { "line": 757, "column": 37 }, "identifierName": "decuple" }, "name": "decuple" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " IX", "start": 19722, "end": 19727, "loc": { "start": { "line": 756, "column": 20 }, "end": { "line": 756, "column": 25 } } } ] } ], "test": { "type": "NumericLiteral", "start": 19719, "end": 19720, "loc": { "start": { "line": 756, "column": 17 }, "end": { "line": 756, "column": 18 } }, "extra": { "rawValue": 9, "raw": "9" }, "value": 9 } }, { "type": "SwitchCase", "start": 19781, "end": 19912, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 760, "column": 84 } }, "consequent": [ { "type": "ReturnStatement", "start": 19844, "end": 19912, "loc": { "start": { "line": 760, "column": 16 }, "end": { "line": 760, "column": 84 } }, "argument": { "type": "BinaryExpression", "start": 19851, "end": 19911, "loc": { "start": { "line": 760, "column": 23 }, "end": { "line": 760, "column": 83 } }, "left": { "type": "Identifier", "start": 19851, "end": 19860, "loc": { "start": { "line": 760, "column": 23 }, "end": { "line": 760, "column": 32 }, "identifierName": "quintuple" }, "name": "quintuple", "leadingComments": null }, "operator": "+", "right": { "type": "CallExpression", "start": 19863, "end": 19911, "loc": { "start": { "line": 760, "column": 35 }, "end": { "line": 760, "column": 83 } }, "callee": { "type": "Identifier", "start": 19863, "end": 19874, "loc": { "start": { "line": 760, "column": 35 }, "end": { "line": 760, "column": 46 }, "identifierName": "formatDigit" }, "name": "formatDigit" }, "arguments": [ { "type": "BinaryExpression", "start": 19875, "end": 19884, "loc": { "start": { "line": 760, "column": 47 }, "end": { "line": 760, "column": 56 } }, "left": { "type": "Identifier", "start": 19875, "end": 19880, "loc": { "start": { "line": 760, "column": 47 }, "end": { "line": 760, "column": 52 }, "identifierName": "digit" }, "name": "digit" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 19883, "end": 19884, "loc": { "start": { "line": 760, "column": 55 }, "end": { "line": 760, "column": 56 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, { "type": "Identifier", "start": 19886, "end": 19890, "loc": { "start": { "line": 760, "column": 58 }, "end": { "line": 760, "column": 62 }, "identifierName": "unit" }, "name": "unit" }, { "type": "Identifier", "start": 19892, "end": 19901, "loc": { "start": { "line": 760, "column": 64 }, "end": { "line": 760, "column": 73 }, "identifierName": "quintuple" }, "name": "quintuple" }, { "type": "Identifier", "start": 19903, "end": 19910, "loc": { "start": { "line": 760, "column": 75 }, "end": { "line": 760, "column": 82 }, "identifierName": "decuple" }, "name": "decuple" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " V, VI, VII, VIII", "start": 19807, "end": 19826, "loc": { "start": { "line": 759, "column": 16 }, "end": { "line": 759, "column": 35 } } } ] } ], "test": null } ] } ], "directives": [] } }, { "type": "VariableDeclaration", "start": 19938, "end": 19980, "loc": { "start": { "line": 764, "column": 4 }, "end": { "line": 764, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19942, "end": 19979, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 45 } }, "id": { "type": "Identifier", "start": 19942, "end": 19951, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 17 }, "identifierName": "thousands" }, "name": "thousands" }, "init": { "type": "CallExpression", "start": 19954, "end": 19979, "loc": { "start": { "line": 764, "column": 20 }, "end": { "line": 764, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 19954, "end": 19964, "loc": { "start": { "line": 764, "column": 20 }, "end": { "line": 764, "column": 30 } }, "object": { "type": "Identifier", "start": 19954, "end": 19958, "loc": { "start": { "line": 764, "column": 20 }, "end": { "line": 764, "column": 24 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19959, "end": 19964, "loc": { "start": { "line": 764, "column": 25 }, "end": { "line": 764, "column": 30 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 19965, "end": 19978, "loc": { "start": { "line": 764, "column": 31 }, "end": { "line": 764, "column": 44 } }, "left": { "type": "Identifier", "start": 19965, "end": 19971, "loc": { "start": { "line": 764, "column": 31 }, "end": { "line": 764, "column": 37 }, "identifierName": "number" }, "name": "number" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19974, "end": 19978, "loc": { "start": { "line": 764, "column": 40 }, "end": { "line": 764, "column": 44 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 19986, "end": 20009, "loc": { "start": { "line": 765, "column": 4 }, "end": { "line": 765, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19990, "end": 20008, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 26 } }, "id": { "type": "Identifier", "start": 19990, "end": 20003, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 21 }, "identifierName": "thousandsPart" }, "name": "thousandsPart" }, "init": { "type": "StringLiteral", "start": 20006, "end": 20008, "loc": { "start": { "line": 765, "column": 24 }, "end": { "line": 765, "column": 26 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "kind": "let" }, { "type": "WhileStatement", "start": 20015, "end": 20101, "loc": { "start": { "line": 766, "column": 4 }, "end": { "line": 769, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 20022, "end": 20035, "loc": { "start": { "line": 766, "column": 11 }, "end": { "line": 766, "column": 24 } }, "left": { "type": "Identifier", "start": 20022, "end": 20031, "loc": { "start": { "line": 766, "column": 11 }, "end": { "line": 766, "column": 20 }, "identifierName": "thousands" }, "name": "thousands" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 20034, "end": 20035, "loc": { "start": { "line": 766, "column": 23 }, "end": { "line": 766, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "body": { "type": "BlockStatement", "start": 20037, "end": 20101, "loc": { "start": { "line": 766, "column": 26 }, "end": { "line": 769, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20048, "end": 20069, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 20048, "end": 20068, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 28 } }, "operator": "+=", "left": { "type": "Identifier", "start": 20048, "end": 20061, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 21 }, "identifierName": "thousandsPart" }, "name": "thousandsPart" }, "right": { "type": "StringLiteral", "start": 20065, "end": 20068, "loc": { "start": { "line": 767, "column": 25 }, "end": { "line": 767, "column": 28 } }, "extra": { "rawValue": "M", "raw": "\"M\"" }, "value": "M" } } }, { "type": "ExpressionStatement", "start": 20079, "end": 20094, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 768, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 20079, "end": 20093, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 768, "column": 22 } }, "operator": "-=", "left": { "type": "Identifier", "start": 20079, "end": 20088, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 768, "column": 17 }, "identifierName": "thousands" }, "name": "thousands" }, "right": { "type": "NumericLiteral", "start": 20092, "end": 20093, "loc": { "start": { "line": 768, "column": 21 }, "end": { "line": 768, "column": 22 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] } }, { "type": "VariableDeclaration", "start": 20109, "end": 20160, "loc": { "start": { "line": 771, "column": 4 }, "end": { "line": 771, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20115, "end": 20159, "loc": { "start": { "line": 771, "column": 10 }, "end": { "line": 771, "column": 54 } }, "id": { "type": "Identifier", "start": 20115, "end": 20123, "loc": { "start": { "line": 771, "column": 10 }, "end": { "line": 771, "column": 18 }, "identifierName": "hundreds" }, "name": "hundreds" }, "init": { "type": "CallExpression", "start": 20126, "end": 20159, "loc": { "start": { "line": 771, "column": 21 }, "end": { "line": 771, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 20126, "end": 20136, "loc": { "start": { "line": 771, "column": 21 }, "end": { "line": 771, "column": 31 } }, "object": { "type": "Identifier", "start": 20126, "end": 20130, "loc": { "start": { "line": 771, "column": 21 }, "end": { "line": 771, "column": 25 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 20131, "end": 20136, "loc": { "start": { "line": 771, "column": 26 }, "end": { "line": 771, "column": 31 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 20137, "end": 20158, "loc": { "start": { "line": 771, "column": 32 }, "end": { "line": 771, "column": 53 } }, "left": { "type": "BinaryExpression", "start": 20138, "end": 20151, "loc": { "start": { "line": 771, "column": 33 }, "end": { "line": 771, "column": 46 } }, "left": { "type": "Identifier", "start": 20138, "end": 20144, "loc": { "start": { "line": 771, "column": 33 }, "end": { "line": 771, "column": 39 }, "identifierName": "number" }, "name": "number" }, "operator": "%", "right": { "type": "NumericLiteral", "start": 20147, "end": 20151, "loc": { "start": { "line": 771, "column": 42 }, "end": { "line": 771, "column": 46 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 }, "extra": { "parenthesized": true, "parenStart": 20137 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 20155, "end": 20158, "loc": { "start": { "line": 771, "column": 50 }, "end": { "line": 771, "column": 53 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20166, "end": 20224, "loc": { "start": { "line": 772, "column": 4 }, "end": { "line": 772, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20172, "end": 20223, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 61 } }, "id": { "type": "Identifier", "start": 20172, "end": 20184, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 22 }, "identifierName": "hundredsPart" }, "name": "hundredsPart" }, "init": { "type": "CallExpression", "start": 20187, "end": 20223, "loc": { "start": { "line": 772, "column": 25 }, "end": { "line": 772, "column": 61 } }, "callee": { "type": "Identifier", "start": 20187, "end": 20198, "loc": { "start": { "line": 772, "column": 25 }, "end": { "line": 772, "column": 36 }, "identifierName": "formatDigit" }, "name": "formatDigit" }, "arguments": [ { "type": "Identifier", "start": 20199, "end": 20207, "loc": { "start": { "line": 772, "column": 37 }, "end": { "line": 772, "column": 45 }, "identifierName": "hundreds" }, "name": "hundreds" }, { "type": "StringLiteral", "start": 20209, "end": 20212, "loc": { "start": { "line": 772, "column": 47 }, "end": { "line": 772, "column": 50 } }, "extra": { "rawValue": "C", "raw": "\"C\"" }, "value": "C" }, { "type": "StringLiteral", "start": 20214, "end": 20217, "loc": { "start": { "line": 772, "column": 52 }, "end": { "line": 772, "column": 55 } }, "extra": { "rawValue": "D", "raw": "\"D\"" }, "value": "D" }, { "type": "StringLiteral", "start": 20219, "end": 20222, "loc": { "start": { "line": 772, "column": 57 }, "end": { "line": 772, "column": 60 } }, "extra": { "rawValue": "M", "raw": "\"M\"" }, "value": "M" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20232, "end": 20277, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 774, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20238, "end": 20276, "loc": { "start": { "line": 774, "column": 10 }, "end": { "line": 774, "column": 48 } }, "id": { "type": "Identifier", "start": 20238, "end": 20242, "loc": { "start": { "line": 774, "column": 10 }, "end": { "line": 774, "column": 14 }, "identifierName": "tens" }, "name": "tens" }, "init": { "type": "CallExpression", "start": 20245, "end": 20276, "loc": { "start": { "line": 774, "column": 17 }, "end": { "line": 774, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 20245, "end": 20255, "loc": { "start": { "line": 774, "column": 17 }, "end": { "line": 774, "column": 27 } }, "object": { "type": "Identifier", "start": 20245, "end": 20249, "loc": { "start": { "line": 774, "column": 17 }, "end": { "line": 774, "column": 21 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 20250, "end": 20255, "loc": { "start": { "line": 774, "column": 22 }, "end": { "line": 774, "column": 27 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 20256, "end": 20275, "loc": { "start": { "line": 774, "column": 28 }, "end": { "line": 774, "column": 47 } }, "left": { "type": "BinaryExpression", "start": 20257, "end": 20269, "loc": { "start": { "line": 774, "column": 29 }, "end": { "line": 774, "column": 41 } }, "left": { "type": "Identifier", "start": 20257, "end": 20263, "loc": { "start": { "line": 774, "column": 29 }, "end": { "line": 774, "column": 35 }, "identifierName": "number" }, "name": "number" }, "operator": "%", "right": { "type": "NumericLiteral", "start": 20266, "end": 20269, "loc": { "start": { "line": 774, "column": 38 }, "end": { "line": 774, "column": 41 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 }, "extra": { "parenthesized": true, "parenStart": 20256 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 20273, "end": 20275, "loc": { "start": { "line": 774, "column": 45 }, "end": { "line": 774, "column": 47 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20283, "end": 20333, "loc": { "start": { "line": 775, "column": 4 }, "end": { "line": 775, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20289, "end": 20332, "loc": { "start": { "line": 775, "column": 10 }, "end": { "line": 775, "column": 53 } }, "id": { "type": "Identifier", "start": 20289, "end": 20297, "loc": { "start": { "line": 775, "column": 10 }, "end": { "line": 775, "column": 18 }, "identifierName": "tensPart" }, "name": "tensPart" }, "init": { "type": "CallExpression", "start": 20300, "end": 20332, "loc": { "start": { "line": 775, "column": 21 }, "end": { "line": 775, "column": 53 } }, "callee": { "type": "Identifier", "start": 20300, "end": 20311, "loc": { "start": { "line": 775, "column": 21 }, "end": { "line": 775, "column": 32 }, "identifierName": "formatDigit" }, "name": "formatDigit" }, "arguments": [ { "type": "Identifier", "start": 20312, "end": 20316, "loc": { "start": { "line": 775, "column": 33 }, "end": { "line": 775, "column": 37 }, "identifierName": "tens" }, "name": "tens" }, { "type": "StringLiteral", "start": 20318, "end": 20321, "loc": { "start": { "line": 775, "column": 39 }, "end": { "line": 775, "column": 42 } }, "extra": { "rawValue": "X", "raw": "\"X\"" }, "value": "X" }, { "type": "StringLiteral", "start": 20323, "end": 20326, "loc": { "start": { "line": 775, "column": 44 }, "end": { "line": 775, "column": 47 } }, "extra": { "rawValue": "L", "raw": "\"L\"" }, "value": "L" }, { "type": "StringLiteral", "start": 20328, "end": 20331, "loc": { "start": { "line": 775, "column": 49 }, "end": { "line": 775, "column": 52 } }, "extra": { "rawValue": "C", "raw": "\"C\"" }, "value": "C" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20341, "end": 20367, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20347, "end": 20366, "loc": { "start": { "line": 777, "column": 10 }, "end": { "line": 777, "column": 29 } }, "id": { "type": "Identifier", "start": 20347, "end": 20352, "loc": { "start": { "line": 777, "column": 10 }, "end": { "line": 777, "column": 15 }, "identifierName": "units" }, "name": "units" }, "init": { "type": "BinaryExpression", "start": 20355, "end": 20366, "loc": { "start": { "line": 777, "column": 18 }, "end": { "line": 777, "column": 29 } }, "left": { "type": "Identifier", "start": 20355, "end": 20361, "loc": { "start": { "line": 777, "column": 18 }, "end": { "line": 777, "column": 24 }, "identifierName": "number" }, "name": "number" }, "operator": "%", "right": { "type": "NumericLiteral", "start": 20364, "end": 20366, "loc": { "start": { "line": 777, "column": 27 }, "end": { "line": 777, "column": 29 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20373, "end": 20425, "loc": { "start": { "line": 778, "column": 4 }, "end": { "line": 778, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20379, "end": 20424, "loc": { "start": { "line": 778, "column": 10 }, "end": { "line": 778, "column": 55 } }, "id": { "type": "Identifier", "start": 20379, "end": 20388, "loc": { "start": { "line": 778, "column": 10 }, "end": { "line": 778, "column": 19 }, "identifierName": "unitsPart" }, "name": "unitsPart" }, "init": { "type": "CallExpression", "start": 20391, "end": 20424, "loc": { "start": { "line": 778, "column": 22 }, "end": { "line": 778, "column": 55 } }, "callee": { "type": "Identifier", "start": 20391, "end": 20402, "loc": { "start": { "line": 778, "column": 22 }, "end": { "line": 778, "column": 33 }, "identifierName": "formatDigit" }, "name": "formatDigit" }, "arguments": [ { "type": "Identifier", "start": 20403, "end": 20408, "loc": { "start": { "line": 778, "column": 34 }, "end": { "line": 778, "column": 39 }, "identifierName": "units" }, "name": "units" }, { "type": "StringLiteral", "start": 20410, "end": 20413, "loc": { "start": { "line": 778, "column": 41 }, "end": { "line": 778, "column": 44 } }, "extra": { "rawValue": "I", "raw": "\"I\"" }, "value": "I" }, { "type": "StringLiteral", "start": 20415, "end": 20418, "loc": { "start": { "line": 778, "column": 46 }, "end": { "line": 778, "column": 49 } }, "extra": { "rawValue": "V", "raw": "\"V\"" }, "value": "V" }, { "type": "StringLiteral", "start": 20420, "end": 20423, "loc": { "start": { "line": 778, "column": 51 }, "end": { "line": 778, "column": 54 } }, "extra": { "rawValue": "X", "raw": "\"X\"" }, "value": "X" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20433, "end": 20503, "loc": { "start": { "line": 780, "column": 4 }, "end": { "line": 780, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20439, "end": 20502, "loc": { "start": { "line": 780, "column": 10 }, "end": { "line": 780, "column": 73 } }, "id": { "type": "Identifier", "start": 20439, "end": 20448, "loc": { "start": { "line": 780, "column": 10 }, "end": { "line": 780, "column": 19 }, "identifierName": "formatted" }, "name": "formatted" }, "init": { "type": "BinaryExpression", "start": 20451, "end": 20502, "loc": { "start": { "line": 780, "column": 22 }, "end": { "line": 780, "column": 73 } }, "left": { "type": "BinaryExpression", "start": 20451, "end": 20490, "loc": { "start": { "line": 780, "column": 22 }, "end": { "line": 780, "column": 61 } }, "left": { "type": "BinaryExpression", "start": 20451, "end": 20479, "loc": { "start": { "line": 780, "column": 22 }, "end": { "line": 780, "column": 50 } }, "left": { "type": "Identifier", "start": 20451, "end": 20464, "loc": { "start": { "line": 780, "column": 22 }, "end": { "line": 780, "column": 35 }, "identifierName": "thousandsPart" }, "name": "thousandsPart" }, "operator": "+", "right": { "type": "Identifier", "start": 20467, "end": 20479, "loc": { "start": { "line": 780, "column": 38 }, "end": { "line": 780, "column": 50 }, "identifierName": "hundredsPart" }, "name": "hundredsPart" } }, "operator": "+", "right": { "type": "Identifier", "start": 20482, "end": 20490, "loc": { "start": { "line": 780, "column": 53 }, "end": { "line": 780, "column": 61 }, "identifierName": "tensPart" }, "name": "tensPart" } }, "operator": "+", "right": { "type": "Identifier", "start": 20493, "end": 20502, "loc": { "start": { "line": 780, "column": 64 }, "end": { "line": 780, "column": 73 }, "identifierName": "unitsPart" }, "name": "unitsPart" } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 20511, "end": 20550, "loc": { "start": { "line": 782, "column": 4 }, "end": { "line": 782, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 20511, "end": 20549, "loc": { "start": { "line": 782, "column": 4 }, "end": { "line": 782, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20511, "end": 20537, "loc": { "start": { "line": 782, "column": 4 }, "end": { "line": 782, "column": 30 } }, "object": { "type": "Identifier", "start": 20511, "end": 20529, "loc": { "start": { "line": 782, "column": 4 }, "end": { "line": 782, "column": 22 }, "identifierName": "romanLiteralsCache" }, "name": "romanLiteralsCache" }, "property": { "type": "Identifier", "start": 20530, "end": 20536, "loc": { "start": { "line": 782, "column": 23 }, "end": { "line": 782, "column": 29 }, "identifierName": "number" }, "name": "number" }, "computed": true }, "right": { "type": "Identifier", "start": 20540, "end": 20549, "loc": { "start": { "line": 782, "column": 33 }, "end": { "line": 782, "column": 42 }, "identifierName": "formatted" }, "name": "formatted" } } }, { "type": "ReturnStatement", "start": 20556, "end": 20573, "loc": { "start": { "line": 783, "column": 4 }, "end": { "line": 783, "column": 21 } }, "argument": { "type": "Identifier", "start": 20563, "end": 20572, "loc": { "start": { "line": 783, "column": 11 }, "end": { "line": 783, "column": 20 }, "identifierName": "formatted" }, "name": "formatted" } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} number\r\n * @returns {string}\r\n ", "start": 18982, "end": 19043, "loc": { "start": { "line": 729, "column": 0 }, "end": { "line": 733, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} number\r\n * @returns {string}\r\n ", "start": 18982, "end": 19043, "loc": { "start": { "line": 729, "column": 0 }, "end": { "line": 733, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is android\r\n * @returns {boolean}\r\n ", "start": 134, "end": 205, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 8, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the IPC renderer, or null if not within the standalone\r\n * @returns {object|null}\r\n ", "start": 1067, "end": 1169, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 48, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } }, { "type": "CommentLine", "value": " When the element is not the last element", "start": 2903, "end": 2946, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 47 } } }, { "type": "CommentLine", "value": " Get the last element, and swap it with the one we want to delete", "start": 2995, "end": 3062, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 75 } } }, { "type": "CommentLine", "value": " Finally remove the last element", "start": 3154, "end": 3188, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div element\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 9827, "end": 9972, "loc": { "start": { "line": 392, "column": 0 }, "end": { "line": 397, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div\r\n * @param {Element} parent\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10283, "end": 10448, "loc": { "start": { "line": 410, "column": 0 }, "end": { "line": 416, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } }, { "type": "CommentLine", "value": " please note,", "start": 11795, "end": 11810, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 19 } } }, { "type": "CommentLine", "value": " that IE11 now returns undefined again for window.chrome", "start": 11816, "end": 11874, "loc": { "start": { "line": 467, "column": 4 }, "end": { "line": 467, "column": 62 } } }, { "type": "CommentLine", "value": " and new Opera 30 outputs true for window.chrome", "start": 11880, "end": 11930, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 54 } } }, { "type": "CommentLine", "value": " but needs to check if window.opr is not undefined", "start": 11936, "end": 11988, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 56 } } }, { "type": "CommentLine", "value": " and new IE Edge outputs to true now for window.chrome", "start": 11994, "end": 12050, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 60 } } }, { "type": "CommentLine", "value": " and if not iOS Chrome check", "start": 12056, "end": 12086, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 34 } } }, { "type": "CommentLine", "value": " so use the below updated condition", "start": 12092, "end": 12129, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 472, "column": 41 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 12215, "end": 12228, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 12344, "end": 12357, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 17 } } }, { "type": "CommentLine", "value": " is Google Chrome on IOS", "start": 12508, "end": 12534, "loc": { "start": { "line": 487, "column": 8 }, "end": { "line": 487, "column": 34 } } }, { "type": "CommentLine", "value": " is Google Chrome", "start": 12740, "end": 12759, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 27 } } }, { "type": "CommentLine", "value": " not Google Chrome", "start": 12805, "end": 12825, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} number\r\n * @returns {string}\r\n ", "start": 18982, "end": 19043, "loc": { "start": { "line": 729, "column": 0 }, "end": { "line": 733, "column": 3 } } }, { "type": "CommentLine", "value": " I", "start": 19461, "end": 19465, "loc": { "start": { "line": 748, "column": 20 }, "end": { "line": 748, "column": 24 } } }, { "type": "CommentLine", "value": " II", "start": 19517, "end": 19522, "loc": { "start": { "line": 750, "column": 20 }, "end": { "line": 750, "column": 25 } } }, { "type": "CommentLine", "value": " III", "start": 19581, "end": 19587, "loc": { "start": { "line": 752, "column": 20 }, "end": { "line": 752, "column": 26 } } }, { "type": "CommentLine", "value": " IV", "start": 19653, "end": 19658, "loc": { "start": { "line": 754, "column": 20 }, "end": { "line": 754, "column": 25 } } }, { "type": "CommentLine", "value": " IX", "start": 19722, "end": 19727, "loc": { "start": { "line": 756, "column": 20 }, "end": { "line": 756, "column": 25 } } }, { "type": "CommentLine", "value": " V, VI, VII, VIII", "start": 19807, "end": 19826, "loc": { "start": { "line": 759, "column": 16 }, "end": { "line": 759, "column": 35 } } } ], "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": "T", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11, "end": 12, "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 13, "end": 17, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../translations", "start": 18, "end": 35, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 35, "end": 36, "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 36 } } }, { "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": 40, "end": 45, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bigNumberSuffixTranslationKeys", "start": 46, "end": 76, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 77, "end": 78, "loc": { "start": { "line": 3, "column": 37 }, "end": { "line": 3, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 79, "end": 80, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "thousands", "start": 80, "end": 91, "loc": { "start": { "line": 3, "column": 40 }, "end": { "line": 3, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 91, "end": 92, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "millions", "start": 93, "end": 103, "loc": { "start": { "line": 3, "column": 53 }, "end": { "line": 3, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 103, "end": 104, "loc": { "start": { "line": 3, "column": 63 }, "end": { "line": 3, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "billions", "start": 105, "end": 115, "loc": { "start": { "line": 3, "column": 65 }, "end": { "line": 3, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 115, "end": 116, "loc": { "start": { "line": 3, "column": 75 }, "end": { "line": 3, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "trillions", "start": 117, "end": 128, "loc": { "start": { "line": 3, "column": 77 }, "end": { "line": 3, "column": 88 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 128, "end": 129, "loc": { "start": { "line": 3, "column": 88 }, "end": { "line": 3, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 129, "end": 130, "loc": { "start": { "line": 3, "column": 89 }, "end": { "line": 3, "column": 90 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is android\r\n * @returns {boolean}\r\n ", "start": 134, "end": 205, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 8, "column": 3 } } }, { "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": 207, "end": 213, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 214, "end": 222, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isAndroid", "start": 223, "end": 232, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 232, "end": 233, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 9, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 233, "end": 234, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 235, "end": 236, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 242, "end": 244, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 245, "end": 246, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 246, "end": 247, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 247, "end": 262, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 262, "end": 263, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 264, "end": 265, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 27 } } }, { "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": 275, "end": 281, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 282, "end": 287, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 287, "end": 288, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 294, "end": 295, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 5 } } }, { "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": 301, "end": 306, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platform", "start": 307, "end": 315, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 316, "end": 317, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 318, "end": 324, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 324, "end": 325, "loc": { "start": { "line": 13, "column": 27 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "device", "start": 325, "end": 331, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 331, "end": 332, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 13, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platform", "start": 332, "end": 340, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 13, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 340, "end": 341, "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 13, "column": 44 } } }, { "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": 347, "end": 353, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platform", "start": 354, "end": 362, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 363, "end": 366, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Android", "start": 367, "end": 376, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 14, "column": 33 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 377, "end": 379, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platform", "start": 380, "end": 388, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 389, "end": 392, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "amazon-fireos", "start": 393, "end": 408, "loc": { "start": { "line": 14, "column": 50 }, "end": { "line": 14, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 408, "end": 409, "loc": { "start": { "line": 14, "column": 65 }, "end": { "line": 14, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 411, "end": 412, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this platform is iOs\r\n * @returns {boolean}\r\n ", "start": 416, "end": 483, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 20, "column": 3 } } }, { "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": 485, "end": 491, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 492, "end": 500, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIos", "start": 501, "end": 506, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 506, "end": 507, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 507, "end": 508, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 509, "end": 510, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 516, "end": 518, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 519, "end": 520, "loc": { "start": { "line": 22, "column": 7 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 520, "end": 521, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 521, "end": 536, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 536, "end": 537, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 538, "end": 539, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 27 } } }, { "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": 549, "end": 555, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 556, "end": 561, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 561, "end": 562, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 568, "end": 569, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 5 } } }, { "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": 575, "end": 581, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 582, "end": 588, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 588, "end": 589, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "device", "start": 589, "end": 595, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 595, "end": 596, "loc": { "start": { "line": 25, "column": 24 }, "end": { "line": 25, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platform", "start": 596, "end": 604, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 605, "end": 608, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "iOS", "start": 609, "end": 614, "loc": { "start": { "line": 25, "column": 38 }, "end": { "line": 25, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 614, "end": 615, "loc": { "start": { "line": 25, "column": 43 }, "end": { "line": 25, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 617, "end": 618, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a platform name\r\n * @returns {\"android\" | \"browser\" | \"ios\" | \"standalone\" | \"unknown\"}\r\n ", "start": 622, "end": 730, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 31, "column": 3 } } }, { "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": 732, "end": 738, "loc": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 739, "end": 747, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 32, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getPlatformName", "start": 748, "end": 763, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 763, "end": 764, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 764, "end": 765, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 766, "end": 767, "loc": { "start": { "line": 32, "column": 34 }, "end": { "line": 32, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 773, "end": 775, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 776, "end": 777, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 777, "end": 792, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 792, "end": 793, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 794, "end": 795, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "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": 805, "end": 811, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "standalone", "start": 812, "end": 824, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 824, "end": 825, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 831, "end": 832, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 5 } } }, { "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": 833, "end": 837, "loc": { "start": { "line": 35, "column": 6 }, "end": { "line": 35, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 838, "end": 840, "loc": { "start": { "line": 35, "column": 11 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 841, "end": 842, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_BROWSER", "start": 842, "end": 854, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 854, "end": 855, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 856, "end": 857, "loc": { "start": { "line": 35, "column": 29 }, "end": { "line": 35, "column": 30 } } }, { "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": 867, "end": 873, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "browser", "start": 874, "end": 883, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 883, "end": 884, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 890, "end": 891, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 5 } } }, { "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": 892, "end": 896, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 897, "end": 899, "loc": { "start": { "line": 37, "column": 11 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 900, "end": 901, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 901, "end": 916, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 917, "end": 919, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isAndroid", "start": 920, "end": 929, "loc": { "start": { "line": 37, "column": 34 }, "end": { "line": 37, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 929, "end": 930, "loc": { "start": { "line": 37, "column": 43 }, "end": { "line": 37, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 930, "end": 931, "loc": { "start": { "line": 37, "column": 44 }, "end": { "line": 37, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 931, "end": 932, "loc": { "start": { "line": 37, "column": 45 }, "end": { "line": 37, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 933, "end": 934, "loc": { "start": { "line": 37, "column": 47 }, "end": { "line": 37, "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": 944, "end": 950, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "android", "start": 951, "end": 960, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 38, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 960, "end": 961, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 967, "end": 968, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 5 } } }, { "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": 969, "end": 973, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 974, "end": 976, "loc": { "start": { "line": 39, "column": 11 }, "end": { "line": 39, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 977, "end": 978, "loc": { "start": { "line": 39, "column": 14 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 978, "end": 993, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 994, "end": 996, "loc": { "start": { "line": 39, "column": 31 }, "end": { "line": 39, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIos", "start": 997, "end": 1002, "loc": { "start": { "line": 39, "column": 34 }, "end": { "line": 39, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1002, "end": 1003, "loc": { "start": { "line": 39, "column": 39 }, "end": { "line": 39, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1003, "end": 1004, "loc": { "start": { "line": 39, "column": 40 }, "end": { "line": 39, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1004, "end": 1005, "loc": { "start": { "line": 39, "column": 41 }, "end": { "line": 39, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1006, "end": 1007, "loc": { "start": { "line": 39, "column": 43 }, "end": { "line": 39, "column": 44 } } }, { "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": 1017, "end": 1023, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ios", "start": 1024, "end": 1029, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1029, "end": 1030, "loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1036, "end": 1037, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 5 } } }, { "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": 1043, "end": 1049, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 10 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "unknown", "start": 1050, "end": 1059, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1059, "end": 1060, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1062, "end": 1063, "loc": { "start": { "line": 43, "column": 0 }, "end": { "line": 43, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the IPC renderer, or null if not within the standalone\r\n * @returns {object|null}\r\n ", "start": 1067, "end": 1169, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 48, "column": 3 } } }, { "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": 1171, "end": 1174, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ipcRenderer", "start": 1175, "end": 1186, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1187, "end": 1188, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1189, "end": 1193, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1193, "end": 1194, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 23 } } }, { "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": 1196, "end": 1202, "loc": { "start": { "line": 50, "column": 0 }, "end": { "line": 50, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1203, "end": 1211, "loc": { "start": { "line": 50, "column": 7 }, "end": { "line": 50, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIPCRenderer", "start": 1212, "end": 1226, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1226, "end": 1227, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1229, "end": 1230, "loc": { "start": { "line": 50, "column": 33 }, "end": { "line": 50, "column": 34 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1236, "end": 1238, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1239, "end": 1240, "loc": { "start": { "line": 51, "column": 7 }, "end": { "line": 51, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1240, "end": 1241, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 1241, "end": 1256, "loc": { "start": { "line": 51, "column": 9 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1256, "end": 1257, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1258, "end": 1259, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 27 } } }, { "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": 1269, "end": 1275, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1276, "end": 1280, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1280, "end": 1281, "loc": { "start": { "line": 52, "column": 19 }, "end": { "line": 52, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1294, "end": 1296, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 54, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1298, "end": 1299, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ipcRenderer", "start": 1299, "end": 1310, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1312, "end": 1313, "loc": { "start": { "line": 54, "column": 22 }, "end": { "line": 54, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ipcRenderer", "start": 1323, "end": 1334, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1335, "end": 1336, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eval", "start": 1337, "end": 1341, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1341, "end": 1342, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "require", "start": 1342, "end": 1351, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1351, "end": 1352, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1352, "end": 1353, "loc": { "start": { "line": 55, "column": 37 }, "end": { "line": 55, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "electron", "start": 1353, "end": 1363, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1363, "end": 1364, "loc": { "start": { "line": 55, "column": 48 }, "end": { "line": 55, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1364, "end": 1365, "loc": { "start": { "line": 55, "column": 49 }, "end": { "line": 55, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ipcRenderer", "start": 1365, "end": 1376, "loc": { "start": { "line": 55, "column": 50 }, "end": { "line": 55, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1376, "end": 1377, "loc": { "start": { "line": 55, "column": 61 }, "end": { "line": 55, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1383, "end": 1384, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 5 } } }, { "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": 1390, "end": 1396, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ipcRenderer", "start": 1397, "end": 1408, "loc": { "start": { "line": 57, "column": 11 }, "end": { "line": 57, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1408, "end": 1409, "loc": { "start": { "line": 57, "column": 22 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1411, "end": 1412, "loc": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Makes a new 2D array with undefined contents\r\n * @param {number} w\r\n * @param {number} h\r\n * @returns {Array>}\r\n ", "start": 1416, "end": 1550, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 65, "column": 3 } } }, { "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": 1552, "end": 1558, "loc": { "start": { "line": 66, "column": 0 }, "end": { "line": 66, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1559, "end": 1567, "loc": { "start": { "line": 66, "column": 7 }, "end": { "line": 66, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 1568, "end": 1588, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1588, "end": 1589, "loc": { "start": { "line": 66, "column": 36 }, "end": { "line": 66, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 1589, "end": 1590, "loc": { "start": { "line": 66, "column": 37 }, "end": { "line": 66, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1590, "end": 1591, "loc": { "start": { "line": 66, "column": 38 }, "end": { "line": 66, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 1592, "end": 1593, "loc": { "start": { "line": 66, "column": 40 }, "end": { "line": 66, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1593, "end": 1594, "loc": { "start": { "line": 66, "column": 41 }, "end": { "line": 66, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1595, "end": 1596, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "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": 1602, "end": 1607, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 1608, "end": 1614, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1615, "end": 1616, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 18 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 1617, "end": 1620, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 1621, "end": 1626, "loc": { "start": { "line": 67, "column": 23 }, "end": { "line": 67, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1626, "end": 1627, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 1627, "end": 1628, "loc": { "start": { "line": 67, "column": 29 }, "end": { "line": 67, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1628, "end": 1629, "loc": { "start": { "line": 67, "column": 30 }, "end": { "line": 67, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1629, "end": 1630, "loc": { "start": { "line": 67, "column": 31 }, "end": { "line": 67, "column": 32 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 1636, "end": 1639, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1640, "end": 1641, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 9 } } }, { "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": 1641, "end": 1644, "loc": { "start": { "line": 68, "column": 9 }, "end": { "line": 68, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1645, "end": 1646, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1647, "end": 1648, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1649, "end": 1650, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1650, "end": 1651, "loc": { "start": { "line": 68, "column": 18 }, "end": { "line": 68, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1652, "end": 1653, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1654, "end": 1655, "loc": { "start": { "line": 68, "column": 22 }, "end": { "line": 68, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 1656, "end": 1657, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1657, "end": 1658, "loc": { "start": { "line": 68, "column": 25 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1659, "end": 1661, "loc": { "start": { "line": 68, "column": 27 }, "end": { "line": 68, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1661, "end": 1662, "loc": { "start": { "line": 68, "column": 29 }, "end": { "line": 68, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1662, "end": 1663, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1664, "end": 1665, "loc": { "start": { "line": 68, "column": 32 }, "end": { "line": 68, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 1675, "end": 1681, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1681, "end": 1682, "loc": { "start": { "line": 69, "column": 14 }, "end": { "line": 69, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1682, "end": 1683, "loc": { "start": { "line": 69, "column": 15 }, "end": { "line": 69, "column": 16 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1683, "end": 1684, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1685, "end": 1686, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 19 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 1687, "end": 1690, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 1691, "end": 1696, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1696, "end": 1697, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 1697, "end": 1698, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1698, "end": 1699, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1699, "end": 1700, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1706, "end": 1707, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 5 } } }, { "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": 1713, "end": 1719, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 1720, "end": 1726, "loc": { "start": { "line": 71, "column": 11 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1726, "end": 1727, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1729, "end": 1730, "loc": { "start": { "line": 72, "column": 0 }, "end": { "line": 72, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a new map (an empty object without any props)\r\n ", "start": 1734, "end": 1800, "loc": { "start": { "line": 74, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "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": 1802, "end": 1808, "loc": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1809, "end": 1817, "loc": { "start": { "line": 77, "column": 7 }, "end": { "line": 77, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newEmptyMap", "start": 1818, "end": 1829, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1830, "end": 1831, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1832, "end": 1833, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 31 } } }, { "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": 1839, "end": 1845, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 1846, "end": 1852, "loc": { "start": { "line": 78, "column": 11 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 78, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "create", "start": 1853, "end": 1859, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1859, "end": 1860, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 25 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1860, "end": 1864, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1864, "end": 1865, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1865, "end": 1866, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1868, "end": 1869, "loc": { "start": { "line": 79, "column": 0 }, "end": { "line": 79, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a random integer in the range [start,end]\r\n * @param {number} start\r\n * @param {number} end\r\n ", "start": 1873, "end": 1985, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 85, "column": 3 } } }, { "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": 1987, "end": 1993, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 86, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1994, "end": 2002, "loc": { "start": { "line": 86, "column": 7 }, "end": { "line": 86, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "randomInt", "start": 2003, "end": 2012, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2012, "end": 2013, "loc": { "start": { "line": 86, "column": 25 }, "end": { "line": 86, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 2013, "end": 2018, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2018, "end": 2019, "loc": { "start": { "line": 86, "column": 31 }, "end": { "line": 86, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "end", "start": 2020, "end": 2023, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2023, "end": 2024, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2025, "end": 2026, "loc": { "start": { "line": 86, "column": 38 }, "end": { "line": 86, "column": 39 } } }, { "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": 2032, "end": 2038, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 2039, "end": 2044, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 16 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2045, "end": 2046, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2047, "end": 2051, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2051, "end": 2052, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 2052, "end": 2057, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2057, "end": 2058, "loc": { "start": { "line": 87, "column": 29 }, "end": { "line": 87, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2058, "end": 2062, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2062, "end": 2063, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 2063, "end": 2069, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2069, "end": 2070, "loc": { "start": { "line": 87, "column": 41 }, "end": { "line": 87, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2070, "end": 2071, "loc": { "start": { "line": 87, "column": 42 }, "end": { "line": 87, "column": 43 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2072, "end": 2073, "loc": { "start": { "line": 87, "column": 44 }, "end": { "line": 87, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2074, "end": 2075, "loc": { "start": { "line": 87, "column": 46 }, "end": { "line": 87, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "end", "start": 2075, "end": 2078, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 87, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2079, "end": 2080, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 2081, "end": 2086, "loc": { "start": { "line": 87, "column": 53 }, "end": { "line": 87, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2086, "end": 2087, "loc": { "start": { "line": 87, "column": 58 }, "end": { "line": 87, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2087, "end": 2088, "loc": { "start": { "line": 87, "column": 59 }, "end": { "line": 87, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2088, "end": 2089, "loc": { "start": { "line": 87, "column": 60 }, "end": { "line": 87, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2091, "end": 2092, "loc": { "start": { "line": 88, "column": 0 }, "end": { "line": 88, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Access an object in a very annoying way, used for obsfuscation.\r\n * @param {any} obj\r\n * @param {Array} keys\r\n ", "start": 2096, "end": 2225, "loc": { "start": { "line": 90, "column": 0 }, "end": { "line": 94, "column": 3 } } }, { "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": 2227, "end": 2233, "loc": { "start": { "line": 95, "column": 0 }, "end": { "line": 95, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2234, "end": 2242, "loc": { "start": { "line": 95, "column": 7 }, "end": { "line": 95, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "accessNestedPropertyReverse", "start": 2243, "end": 2270, "loc": { "start": { "line": 95, "column": 16 }, "end": { "line": 95, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2270, "end": 2271, "loc": { "start": { "line": 95, "column": 43 }, "end": { "line": 95, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 2271, "end": 2274, "loc": { "start": { "line": 95, "column": 44 }, "end": { "line": 95, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2274, "end": 2275, "loc": { "start": { "line": 95, "column": 47 }, "end": { "line": 95, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 2276, "end": 2280, "loc": { "start": { "line": 95, "column": 49 }, "end": { "line": 95, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2280, "end": 2281, "loc": { "start": { "line": 95, "column": 53 }, "end": { "line": 95, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2282, "end": 2283, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 56 } } }, { "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": 2289, "end": 2292, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 2293, "end": 2299, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2300, "end": 2301, "loc": { "start": { "line": 96, "column": 15 }, "end": { "line": 96, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 2302, "end": 2305, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2305, "end": 2306, "loc": { "start": { "line": 96, "column": 20 }, "end": { "line": 96, "column": 21 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2312, "end": 2315, "loc": { "start": { "line": 97, "column": 4 }, "end": { "line": 97, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2316, "end": 2317, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 9 } } }, { "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": 2317, "end": 2320, "loc": { "start": { "line": 97, "column": 9 }, "end": { "line": 97, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2321, "end": 2322, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2323, "end": 2324, "loc": { "start": { "line": 97, "column": 15 }, "end": { "line": 97, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 2325, "end": 2329, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2329, "end": 2330, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2330, "end": 2336, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 97, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2337, "end": 2338, "loc": { "start": { "line": 97, "column": 29 }, "end": { "line": 97, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2339, "end": 2340, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2340, "end": 2341, "loc": { "start": { "line": 97, "column": 32 }, "end": { "line": 97, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2342, "end": 2343, "loc": { "start": { "line": 97, "column": 34 }, "end": { "line": 97, "column": 35 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 2344, "end": 2346, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2347, "end": 2348, "loc": { "start": { "line": 97, "column": 39 }, "end": { "line": 97, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2348, "end": 2349, "loc": { "start": { "line": 97, "column": 40 }, "end": { "line": 97, "column": 41 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 2350, "end": 2352, "loc": { "start": { "line": 97, "column": 42 }, "end": { "line": 97, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2352, "end": 2353, "loc": { "start": { "line": 97, "column": 44 }, "end": { "line": 97, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2353, "end": 2354, "loc": { "start": { "line": 97, "column": 45 }, "end": { "line": 97, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2355, "end": 2356, "loc": { "start": { "line": 97, "column": 47 }, "end": { "line": 97, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 2366, "end": 2372, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2373, "end": 2374, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 2375, "end": 2381, "loc": { "start": { "line": 98, "column": 17 }, "end": { "line": 98, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2381, "end": 2382, "loc": { "start": { "line": 98, "column": 23 }, "end": { "line": 98, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 2382, "end": 2386, "loc": { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2386, "end": 2387, "loc": { "start": { "line": 98, "column": 28 }, "end": { "line": 98, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2387, "end": 2388, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 98, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2388, "end": 2389, "loc": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2389, "end": 2390, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2390, "end": 2391, "loc": { "start": { "line": 98, "column": 32 }, "end": { "line": 98, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2397, "end": 2398, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 5 } } }, { "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": 2404, "end": 2410, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 2411, "end": 2417, "loc": { "start": { "line": 100, "column": 11 }, "end": { "line": 100, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2417, "end": 2418, "loc": { "start": { "line": 100, "column": 17 }, "end": { "line": 100, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2420, "end": 2421, "loc": { "start": { "line": 101, "column": 0 }, "end": { "line": 101, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Chooses a random entry of an array\r\n * @template T\r\n * @param {T[]} arr\r\n * @returns {T}\r\n ", "start": 2425, "end": 2526, "loc": { "start": { "line": 103, "column": 0 }, "end": { "line": 108, "column": 3 } } }, { "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": 2528, "end": 2534, "loc": { "start": { "line": 109, "column": 0 }, "end": { "line": 109, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2535, "end": 2543, "loc": { "start": { "line": 109, "column": 7 }, "end": { "line": 109, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "randomChoice", "start": 2544, "end": 2556, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2556, "end": 2557, "loc": { "start": { "line": 109, "column": 28 }, "end": { "line": 109, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arr", "start": 2557, "end": 2560, "loc": { "start": { "line": 109, "column": 29 }, "end": { "line": 109, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 109, "column": 32 }, "end": { "line": 109, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2562, "end": 2563, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 109, "column": 35 } } }, { "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": 2569, "end": 2575, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arr", "start": 2576, "end": 2579, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2579, "end": 2580, "loc": { "start": { "line": 110, "column": 14 }, "end": { "line": 110, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2580, "end": 2584, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2584, "end": 2585, "loc": { "start": { "line": 110, "column": 19 }, "end": { "line": 110, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 2585, "end": 2590, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2590, "end": 2591, "loc": { "start": { "line": 110, "column": 25 }, "end": { "line": 110, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2591, "end": 2595, "loc": { "start": { "line": 110, "column": 26 }, "end": { "line": 110, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2595, "end": 2596, "loc": { "start": { "line": 110, "column": 30 }, "end": { "line": 110, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 2596, "end": 2602, "loc": { "start": { "line": 110, "column": 31 }, "end": { "line": 110, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2602, "end": 2603, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2603, "end": 2604, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 39 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2605, "end": 2606, "loc": { "start": { "line": 110, "column": 40 }, "end": { "line": 110, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arr", "start": 2607, "end": 2610, "loc": { "start": { "line": 110, "column": 42 }, "end": { "line": 110, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2610, "end": 2611, "loc": { "start": { "line": 110, "column": 45 }, "end": { "line": 110, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2611, "end": 2617, "loc": { "start": { "line": 110, "column": 46 }, "end": { "line": 110, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2617, "end": 2618, "loc": { "start": { "line": 110, "column": 52 }, "end": { "line": 110, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2618, "end": 2619, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2619, "end": 2620, "loc": { "start": { "line": 110, "column": 54 }, "end": { "line": 110, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 111, "column": 0 }, "end": { "line": 111, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 2627, "end": 2751, "loc": { "start": { "line": 113, "column": 0 }, "end": { "line": 117, "column": 3 } } }, { "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": 2753, "end": 2759, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 118, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2760, "end": 2768, "loc": { "start": { "line": 118, "column": 7 }, "end": { "line": 118, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDelete", "start": 2769, "end": 2784, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2784, "end": 2785, "loc": { "start": { "line": 118, "column": 31 }, "end": { "line": 118, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 2785, "end": 2790, "loc": { "start": { "line": 118, "column": 32 }, "end": { "line": 118, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2790, "end": 2791, "loc": { "start": { "line": 118, "column": 37 }, "end": { "line": 118, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 2792, "end": 2797, "loc": { "start": { "line": 118, "column": 39 }, "end": { "line": 118, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2797, "end": 2798, "loc": { "start": { "line": 118, "column": 44 }, "end": { "line": 118, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2799, "end": 2800, "loc": { "start": { "line": 118, "column": 46 }, "end": { "line": 118, "column": 47 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2806, "end": 2808, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 119, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2809, "end": 2810, "loc": { "start": { "line": 119, "column": 7 }, "end": { "line": 119, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 2810, "end": 2815, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 13 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2816, "end": 2817, "loc": { "start": { "line": 119, "column": 14 }, "end": { "line": 119, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2818, "end": 2819, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2820, "end": 2822, "loc": { "start": { "line": 119, "column": 18 }, "end": { "line": 119, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 2823, "end": 2828, "loc": { "start": { "line": 119, "column": 21 }, "end": { "line": 119, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 2829, "end": 2831, "loc": { "start": { "line": 119, "column": 27 }, "end": { "line": 119, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 2832, "end": 2837, "loc": { "start": { "line": 119, "column": 30 }, "end": { "line": 119, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2837, "end": 2838, "loc": { "start": { "line": 119, "column": 35 }, "end": { "line": 119, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2838, "end": 2844, "loc": { "start": { "line": 119, "column": 36 }, "end": { "line": 119, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2844, "end": 2845, "loc": { "start": { "line": 119, "column": 42 }, "end": { "line": 119, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2846, "end": 2847, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 119, "column": 45 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 2857, "end": 2862, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2863, "end": 2866, "loc": { "start": { "line": 120, "column": 14 }, "end": { "line": 120, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 2867, "end": 2872, "loc": { "start": { "line": 120, "column": 18 }, "end": { "line": 120, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2872, "end": 2873, "loc": { "start": { "line": 120, "column": 23 }, "end": { "line": 120, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Out of bounds", "start": 2873, "end": 2888, "loc": { "start": { "line": 120, "column": 24 }, "end": { "line": 120, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2888, "end": 2889, "loc": { "start": { "line": 120, "column": 39 }, "end": { "line": 120, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2889, "end": 2890, "loc": { "start": { "line": 120, "column": 40 }, "end": { "line": 120, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2896, "end": 2897, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 5 } } }, { "type": "CommentLine", "value": " When the element is not the last element", "start": 2903, "end": 2946, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 47 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2952, "end": 2954, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2955, "end": 2956, "loc": { "start": { "line": 123, "column": 7 }, "end": { "line": 123, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 2956, "end": 2961, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2962, "end": 2965, "loc": { "start": { "line": 123, "column": 14 }, "end": { "line": 123, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 2966, "end": 2971, "loc": { "start": { "line": 123, "column": 18 }, "end": { "line": 123, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2971, "end": 2972, "loc": { "start": { "line": 123, "column": 23 }, "end": { "line": 123, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2972, "end": 2978, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 30 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 2979, "end": 2980, "loc": { "start": { "line": 123, "column": 31 }, "end": { "line": 123, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2981, "end": 2982, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 123, "column": 34 }, "end": { "line": 123, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2984, "end": 2985, "loc": { "start": { "line": 123, "column": 36 }, "end": { "line": 123, "column": 37 } } }, { "type": "CommentLine", "value": " Get the last element, and swap it with the one we want to delete", "start": 2995, "end": 3062, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 75 } } }, { "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": 3072, "end": 3077, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "last", "start": 3078, "end": 3082, "loc": { "start": { "line": 125, "column": 14 }, "end": { "line": 125, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3083, "end": 3084, "loc": { "start": { "line": 125, "column": 19 }, "end": { "line": 125, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3085, "end": 3090, "loc": { "start": { "line": 125, "column": 21 }, "end": { "line": 125, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3090, "end": 3091, "loc": { "start": { "line": 125, "column": 26 }, "end": { "line": 125, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3091, "end": 3096, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3096, "end": 3097, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3097, "end": 3103, "loc": { "start": { "line": 125, "column": 33 }, "end": { "line": 125, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 3104, "end": 3105, "loc": { "start": { "line": 125, "column": 40 }, "end": { "line": 125, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3106, "end": 3107, "loc": { "start": { "line": 125, "column": 42 }, "end": { "line": 125, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3107, "end": 3108, "loc": { "start": { "line": 125, "column": 43 }, "end": { "line": 125, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3108, "end": 3109, "loc": { "start": { "line": 125, "column": 44 }, "end": { "line": 125, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3119, "end": 3124, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 13 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3124, "end": 3125, "loc": { "start": { "line": 126, "column": 13 }, "end": { "line": 126, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 3125, "end": 3130, "loc": { "start": { "line": 126, "column": 14 }, "end": { "line": 126, "column": 19 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3130, "end": 3131, "loc": { "start": { "line": 126, "column": 19 }, "end": { "line": 126, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3132, "end": 3133, "loc": { "start": { "line": 126, "column": 21 }, "end": { "line": 126, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "last", "start": 3134, "end": 3138, "loc": { "start": { "line": 126, "column": 23 }, "end": { "line": 126, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3138, "end": 3139, "loc": { "start": { "line": 126, "column": 27 }, "end": { "line": 126, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3145, "end": 3146, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 5 } } }, { "type": "CommentLine", "value": " Finally remove the last element", "start": 3154, "end": 3188, "loc": { "start": { "line": 129, "column": 4 }, "end": { "line": 129, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3194, "end": 3199, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3199, "end": 3200, "loc": { "start": { "line": 130, "column": 9 }, "end": { "line": 130, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3200, "end": 3206, "loc": { "start": { "line": 130, "column": 10 }, "end": { "line": 130, "column": 16 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 3207, "end": 3209, "loc": { "start": { "line": 130, "column": 17 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3210, "end": 3211, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3211, "end": 3212, "loc": { "start": { "line": 130, "column": 21 }, "end": { "line": 130, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3214, "end": 3215, "loc": { "start": { "line": 131, "column": 0 }, "end": { "line": 131, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array by swapping with the last element. Searches\r\n * for the value in the array first\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3219, "end": 3387, "loc": { "start": { "line": 133, "column": 0 }, "end": { "line": 138, "column": 3 } } }, { "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": 3389, "end": 3395, "loc": { "start": { "line": 139, "column": 0 }, "end": { "line": 139, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3396, "end": 3404, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 139, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDeleteValue", "start": 3405, "end": 3425, "loc": { "start": { "line": 139, "column": 16 }, "end": { "line": 139, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3425, "end": 3426, "loc": { "start": { "line": 139, "column": 36 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3426, "end": 3431, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3431, "end": 3432, "loc": { "start": { "line": 139, "column": 42 }, "end": { "line": 139, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3433, "end": 3438, "loc": { "start": { "line": 139, "column": 44 }, "end": { "line": 139, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3438, "end": 3439, "loc": { "start": { "line": 139, "column": 49 }, "end": { "line": 139, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3440, "end": 3441, "loc": { "start": { "line": 139, "column": 51 }, "end": { "line": 139, "column": 52 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3447, "end": 3449, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3450, "end": 3451, "loc": { "start": { "line": 140, "column": 7 }, "end": { "line": 140, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3451, "end": 3456, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 3457, "end": 3459, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 16 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3460, "end": 3464, "loc": { "start": { "line": 140, "column": 17 }, "end": { "line": 140, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3464, "end": 3465, "loc": { "start": { "line": 140, "column": 21 }, "end": { "line": 140, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3466, "end": 3467, "loc": { "start": { "line": 140, "column": 23 }, "end": { "line": 140, "column": 24 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 3477, "end": 3482, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 3483, "end": 3486, "loc": { "start": { "line": 141, "column": 14 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 3487, "end": 3492, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3492, "end": 3493, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Tried to delete from non array!", "start": 3493, "end": 3526, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3526, "end": 3527, "loc": { "start": { "line": 141, "column": 57 }, "end": { "line": 141, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3527, "end": 3528, "loc": { "start": { "line": 141, "column": 58 }, "end": { "line": 141, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3534, "end": 3535, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 5 } } }, { "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": 3541, "end": 3546, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 3547, "end": 3552, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3553, "end": 3554, "loc": { "start": { "line": 143, "column": 16 }, "end": { "line": 143, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3555, "end": 3560, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3560, "end": 3561, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 3561, "end": 3568, "loc": { "start": { "line": 143, "column": 24 }, "end": { "line": 143, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3568, "end": 3569, "loc": { "start": { "line": 143, "column": 31 }, "end": { "line": 143, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3569, "end": 3574, "loc": { "start": { "line": 143, "column": 32 }, "end": { "line": 143, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3574, "end": 3575, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3575, "end": 3576, "loc": { "start": { "line": 143, "column": 38 }, "end": { "line": 143, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3582, "end": 3584, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3585, "end": 3586, "loc": { "start": { "line": 144, "column": 7 }, "end": { "line": 144, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 3586, "end": 3591, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 13 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3592, "end": 3593, "loc": { "start": { "line": 144, "column": 14 }, "end": { "line": 144, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3594, "end": 3595, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3595, "end": 3596, "loc": { "start": { "line": 144, "column": 17 }, "end": { "line": 144, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3597, "end": 3598, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 3608, "end": 3615, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3615, "end": 3616, "loc": { "start": { "line": 145, "column": 15 }, "end": { "line": 145, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 3616, "end": 3621, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3621, "end": 3622, "loc": { "start": { "line": 145, "column": 21 }, "end": { "line": 145, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Value", "start": 3622, "end": 3629, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3629, "end": 3630, "loc": { "start": { "line": 145, "column": 29 }, "end": { "line": 145, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3631, "end": 3636, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3636, "end": 3637, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "not contained in array:", "start": 3638, "end": 3663, "loc": { "start": { "line": 145, "column": 38 }, "end": { "line": 145, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3663, "end": 3664, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3665, "end": 3670, "loc": { "start": { "line": 145, "column": 65 }, "end": { "line": 145, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3670, "end": 3671, "loc": { "start": { "line": 145, "column": 70 }, "end": { "line": 145, "column": 71 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3672, "end": 3675, "loc": { "start": { "line": 145, "column": 72 }, "end": { "line": 145, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3675, "end": 3676, "loc": { "start": { "line": 145, "column": 75 }, "end": { "line": 145, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3676, "end": 3677, "loc": { "start": { "line": 145, "column": 76 }, "end": { "line": 145, "column": 77 } } }, { "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": 3687, "end": 3693, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3694, "end": 3699, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3699, "end": 3700, "loc": { "start": { "line": 146, "column": 20 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3706, "end": 3707, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 5 } } }, { "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": 3713, "end": 3719, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDelete", "start": 3720, "end": 3735, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3735, "end": 3736, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3736, "end": 3741, "loc": { "start": { "line": 148, "column": 27 }, "end": { "line": 148, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3741, "end": 3742, "loc": { "start": { "line": 148, "column": 32 }, "end": { "line": 148, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 3743, "end": 3748, "loc": { "start": { "line": 148, "column": 34 }, "end": { "line": 148, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3748, "end": 3749, "loc": { "start": { "line": 148, "column": 39 }, "end": { "line": 148, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3749, "end": 3750, "loc": { "start": { "line": 148, "column": 40 }, "end": { "line": 148, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3752, "end": 3753, "loc": { "start": { "line": 149, "column": 0 }, "end": { "line": 149, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * @see fastArrayDeleteValue\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 3757, "end": 3848, "loc": { "start": { "line": 151, "column": 0 }, "end": { "line": 155, "column": 3 } } }, { "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": 3850, "end": 3856, "loc": { "start": { "line": 156, "column": 0 }, "end": { "line": 156, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3857, "end": 3865, "loc": { "start": { "line": 156, "column": 7 }, "end": { "line": 156, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDeleteValueIfContained", "start": 3866, "end": 3897, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3897, "end": 3898, "loc": { "start": { "line": 156, "column": 47 }, "end": { "line": 156, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3898, "end": 3903, "loc": { "start": { "line": 156, "column": 48 }, "end": { "line": 156, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3903, "end": 3904, "loc": { "start": { "line": 156, "column": 53 }, "end": { "line": 156, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3905, "end": 3910, "loc": { "start": { "line": 156, "column": 55 }, "end": { "line": 156, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3910, "end": 3911, "loc": { "start": { "line": 156, "column": 60 }, "end": { "line": 156, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3912, "end": 3913, "loc": { "start": { "line": 156, "column": 62 }, "end": { "line": 156, "column": 63 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3919, "end": 3921, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3922, "end": 3923, "loc": { "start": { "line": 157, "column": 7 }, "end": { "line": 157, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 3923, "end": 3928, "loc": { "start": { "line": 157, "column": 8 }, "end": { "line": 157, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 3929, "end": 3931, "loc": { "start": { "line": 157, "column": 14 }, "end": { "line": 157, "column": 16 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3932, "end": 3936, "loc": { "start": { "line": 157, "column": 17 }, "end": { "line": 157, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3936, "end": 3937, "loc": { "start": { "line": 157, "column": 21 }, "end": { "line": 157, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3938, "end": 3939, "loc": { "start": { "line": 157, "column": 23 }, "end": { "line": 157, "column": 24 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 3949, "end": 3954, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 3955, "end": 3958, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 3959, "end": 3964, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3964, "end": 3965, "loc": { "start": { "line": 158, "column": 23 }, "end": { "line": 158, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Tried to delete from non array!", "start": 3965, "end": 3998, "loc": { "start": { "line": 158, "column": 24 }, "end": { "line": 158, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3998, "end": 3999, "loc": { "start": { "line": 158, "column": 57 }, "end": { "line": 158, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3999, "end": 4000, "loc": { "start": { "line": 158, "column": 58 }, "end": { "line": 158, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4006, "end": 4007, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 159, "column": 5 } } }, { "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": 4013, "end": 4018, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4019, "end": 4024, "loc": { "start": { "line": 160, "column": 10 }, "end": { "line": 160, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4025, "end": 4026, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4027, "end": 4032, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4032, "end": 4033, "loc": { "start": { "line": 160, "column": 23 }, "end": { "line": 160, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 4033, "end": 4040, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 160, "column": 31 }, "end": { "line": 160, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4041, "end": 4046, "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4046, "end": 4047, "loc": { "start": { "line": 160, "column": 37 }, "end": { "line": 160, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4047, "end": 4048, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4054, "end": 4056, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4057, "end": 4058, "loc": { "start": { "line": 161, "column": 7 }, "end": { "line": 161, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4058, "end": 4063, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4064, "end": 4065, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4066, "end": 4067, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4067, "end": 4068, "loc": { "start": { "line": 161, "column": 17 }, "end": { "line": 161, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4069, "end": 4070, "loc": { "start": { "line": 161, "column": 19 }, "end": { "line": 161, "column": 20 } } }, { "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": 4080, "end": 4086, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4087, "end": 4092, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4092, "end": 4093, "loc": { "start": { "line": 162, "column": 20 }, "end": { "line": 162, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4099, "end": 4100, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 5 } } }, { "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": 4106, "end": 4112, "loc": { "start": { "line": 164, "column": 4 }, "end": { "line": 164, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDelete", "start": 4113, "end": 4128, "loc": { "start": { "line": 164, "column": 11 }, "end": { "line": 164, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4128, "end": 4129, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4129, "end": 4134, "loc": { "start": { "line": 164, "column": 27 }, "end": { "line": 164, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4134, "end": 4135, "loc": { "start": { "line": 164, "column": 32 }, "end": { "line": 164, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4136, "end": 4141, "loc": { "start": { "line": 164, "column": 34 }, "end": { "line": 164, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4141, "end": 4142, "loc": { "start": { "line": 164, "column": 39 }, "end": { "line": 164, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4142, "end": 4143, "loc": { "start": { "line": 164, "column": 40 }, "end": { "line": 164, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4145, "end": 4146, "loc": { "start": { "line": 165, "column": 0 }, "end": { "line": 165, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes from an array at the given index\r\n * @param {Array} array\r\n * @param {number} index\r\n ", "start": 4150, "end": 4259, "loc": { "start": { "line": 167, "column": 0 }, "end": { "line": 171, "column": 3 } } }, { "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": 4261, "end": 4267, "loc": { "start": { "line": 172, "column": 0 }, "end": { "line": 172, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4268, "end": 4276, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayDelete", "start": 4277, "end": 4288, "loc": { "start": { "line": 172, "column": 16 }, "end": { "line": 172, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4288, "end": 4289, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4289, "end": 4294, "loc": { "start": { "line": 172, "column": 28 }, "end": { "line": 172, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4294, "end": 4295, "loc": { "start": { "line": 172, "column": 33 }, "end": { "line": 172, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4296, "end": 4301, "loc": { "start": { "line": 172, "column": 35 }, "end": { "line": 172, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4301, "end": 4302, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4303, "end": 4304, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 43 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4310, "end": 4312, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4313, "end": 4314, "loc": { "start": { "line": 173, "column": 7 }, "end": { "line": 173, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4314, "end": 4319, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4320, "end": 4321, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4322, "end": 4323, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4324, "end": 4326, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 173, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4327, "end": 4332, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 4333, "end": 4335, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4336, "end": 4341, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4341, "end": 4342, "loc": { "start": { "line": 173, "column": 35 }, "end": { "line": 173, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4342, "end": 4348, "loc": { "start": { "line": 173, "column": 36 }, "end": { "line": 173, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4348, "end": 4349, "loc": { "start": { "line": 173, "column": 42 }, "end": { "line": 173, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4350, "end": 4351, "loc": { "start": { "line": 173, "column": 44 }, "end": { "line": 173, "column": 45 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 4361, "end": 4366, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 4367, "end": 4370, "loc": { "start": { "line": 174, "column": 14 }, "end": { "line": 174, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 4371, "end": 4376, "loc": { "start": { "line": 174, "column": 18 }, "end": { "line": 174, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4376, "end": 4377, "loc": { "start": { "line": 174, "column": 23 }, "end": { "line": 174, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Out of bounds", "start": 4377, "end": 4392, "loc": { "start": { "line": 174, "column": 24 }, "end": { "line": 174, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4392, "end": 4393, "loc": { "start": { "line": 174, "column": 39 }, "end": { "line": 174, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4393, "end": 4394, "loc": { "start": { "line": 174, "column": 40 }, "end": { "line": 174, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4400, "end": 4401, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 175, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4407, "end": 4412, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 176, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4412, "end": 4413, "loc": { "start": { "line": 176, "column": 9 }, "end": { "line": 176, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 4413, "end": 4419, "loc": { "start": { "line": 176, "column": 10 }, "end": { "line": 176, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4419, "end": 4420, "loc": { "start": { "line": 176, "column": 16 }, "end": { "line": 176, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4420, "end": 4425, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4425, "end": 4426, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4427, "end": 4428, "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4428, "end": 4429, "loc": { "start": { "line": 176, "column": 25 }, "end": { "line": 176, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4429, "end": 4430, "loc": { "start": { "line": 176, "column": 26 }, "end": { "line": 176, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4432, "end": 4433, "loc": { "start": { "line": 177, "column": 0 }, "end": { "line": 177, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes the given value from an array\r\n * @param {Array} array\r\n * @param {any} value\r\n ", "start": 4437, "end": 4540, "loc": { "start": { "line": 179, "column": 0 }, "end": { "line": 183, "column": 3 } } }, { "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": 4542, "end": 4548, "loc": { "start": { "line": 184, "column": 0 }, "end": { "line": 184, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4549, "end": 4557, "loc": { "start": { "line": 184, "column": 7 }, "end": { "line": 184, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayDeleteValue", "start": 4558, "end": 4574, "loc": { "start": { "line": 184, "column": 16 }, "end": { "line": 184, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4574, "end": 4575, "loc": { "start": { "line": 184, "column": 32 }, "end": { "line": 184, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4575, "end": 4580, "loc": { "start": { "line": 184, "column": 33 }, "end": { "line": 184, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4580, "end": 4581, "loc": { "start": { "line": 184, "column": 38 }, "end": { "line": 184, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4582, "end": 4587, "loc": { "start": { "line": 184, "column": 40 }, "end": { "line": 184, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4587, "end": 4588, "loc": { "start": { "line": 184, "column": 45 }, "end": { "line": 184, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 184, "column": 47 }, "end": { "line": 184, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4596, "end": 4598, "loc": { "start": { "line": 185, "column": 4 }, "end": { "line": 185, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4599, "end": 4600, "loc": { "start": { "line": 185, "column": 7 }, "end": { "line": 185, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4600, "end": 4605, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 4606, "end": 4608, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 16 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 4609, "end": 4613, "loc": { "start": { "line": 185, "column": 17 }, "end": { "line": 185, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4613, "end": 4614, "loc": { "start": { "line": 185, "column": 21 }, "end": { "line": 185, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4615, "end": 4616, "loc": { "start": { "line": 185, "column": 23 }, "end": { "line": 185, "column": 24 } } }, { "type": { "label": "throw", "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "throw", "start": 4626, "end": 4631, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 13 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 4632, "end": 4635, "loc": { "start": { "line": 186, "column": 14 }, "end": { "line": 186, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 4636, "end": 4641, "loc": { "start": { "line": 186, "column": 18 }, "end": { "line": 186, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4641, "end": 4642, "loc": { "start": { "line": 186, "column": 23 }, "end": { "line": 186, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Tried to delete from non array!", "start": 4642, "end": 4675, "loc": { "start": { "line": 186, "column": 24 }, "end": { "line": 186, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4675, "end": 4676, "loc": { "start": { "line": 186, "column": 57 }, "end": { "line": 186, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4676, "end": 4677, "loc": { "start": { "line": 186, "column": 58 }, "end": { "line": 186, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4683, "end": 4684, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 5 } } }, { "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": 4690, "end": 4695, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4696, "end": 4701, "loc": { "start": { "line": 188, "column": 10 }, "end": { "line": 188, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4702, "end": 4703, "loc": { "start": { "line": 188, "column": 16 }, "end": { "line": 188, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4704, "end": 4709, "loc": { "start": { "line": 188, "column": 18 }, "end": { "line": 188, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4709, "end": 4710, "loc": { "start": { "line": 188, "column": 23 }, "end": { "line": 188, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 4710, "end": 4717, "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 188, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4717, "end": 4718, "loc": { "start": { "line": 188, "column": 31 }, "end": { "line": 188, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4718, "end": 4723, "loc": { "start": { "line": 188, "column": 32 }, "end": { "line": 188, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4723, "end": 4724, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4724, "end": 4725, "loc": { "start": { "line": 188, "column": 38 }, "end": { "line": 188, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4731, "end": 4733, "loc": { "start": { "line": 189, "column": 4 }, "end": { "line": 189, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4734, "end": 4735, "loc": { "start": { "line": 189, "column": 7 }, "end": { "line": 189, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4735, "end": 4740, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 13 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4741, "end": 4742, "loc": { "start": { "line": 189, "column": 14 }, "end": { "line": 189, "column": 15 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4743, "end": 4744, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4744, "end": 4745, "loc": { "start": { "line": 189, "column": 17 }, "end": { "line": 189, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4746, "end": 4747, "loc": { "start": { "line": 189, "column": 19 }, "end": { "line": 189, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 4757, "end": 4764, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4764, "end": 4765, "loc": { "start": { "line": 190, "column": 15 }, "end": { "line": 190, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 4765, "end": 4770, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4770, "end": 4771, "loc": { "start": { "line": 190, "column": 21 }, "end": { "line": 190, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Value", "start": 4771, "end": 4778, "loc": { "start": { "line": 190, "column": 22 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4780, "end": 4785, "loc": { "start": { "line": 190, "column": 31 }, "end": { "line": 190, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 190, "column": 36 }, "end": { "line": 190, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "not contained in array:", "start": 4787, "end": 4812, "loc": { "start": { "line": 190, "column": 38 }, "end": { "line": 190, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4812, "end": 4813, "loc": { "start": { "line": 190, "column": 63 }, "end": { "line": 190, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4814, "end": 4819, "loc": { "start": { "line": 190, "column": 65 }, "end": { "line": 190, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4819, "end": 4820, "loc": { "start": { "line": 190, "column": 70 }, "end": { "line": 190, "column": 71 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4821, "end": 4824, "loc": { "start": { "line": 190, "column": 72 }, "end": { "line": 190, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4824, "end": 4825, "loc": { "start": { "line": 190, "column": 75 }, "end": { "line": 190, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4825, "end": 4826, "loc": { "start": { "line": 190, "column": 76 }, "end": { "line": 190, "column": 77 } } }, { "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": 4836, "end": 4842, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4843, "end": 4848, "loc": { "start": { "line": 191, "column": 15 }, "end": { "line": 191, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4848, "end": 4849, "loc": { "start": { "line": 191, "column": 20 }, "end": { "line": 191, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4855, "end": 4856, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 192, "column": 5 } } }, { "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": 4862, "end": 4868, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayDelete", "start": 4869, "end": 4880, "loc": { "start": { "line": 193, "column": 11 }, "end": { "line": 193, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4880, "end": 4881, "loc": { "start": { "line": 193, "column": 22 }, "end": { "line": 193, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 4881, "end": 4886, "loc": { "start": { "line": 193, "column": 23 }, "end": { "line": 193, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4886, "end": 4887, "loc": { "start": { "line": 193, "column": 28 }, "end": { "line": 193, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 4888, "end": 4893, "loc": { "start": { "line": 193, "column": 30 }, "end": { "line": 193, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4893, "end": 4894, "loc": { "start": { "line": 193, "column": 35 }, "end": { "line": 193, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4894, "end": 4895, "loc": { "start": { "line": 193, "column": 36 }, "end": { "line": 193, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4897, "end": 4898, "loc": { "start": { "line": 194, "column": 0 }, "end": { "line": 194, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Compare two floats for epsilon equality\r\n * @param {number} a\r\n * @param {number} b\r\n * @returns {boolean}\r\n ", "start": 4902, "end": 5021, "loc": { "start": { "line": 196, "column": 0 }, "end": { "line": 201, "column": 3 } } }, { "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": 5023, "end": 5029, "loc": { "start": { "line": 202, "column": 0 }, "end": { "line": 202, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 5030, "end": 5038, "loc": { "start": { "line": 202, "column": 7 }, "end": { "line": 202, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilonCompare", "start": 5039, "end": 5053, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5053, "end": 5054, "loc": { "start": { "line": 202, "column": 30 }, "end": { "line": 202, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 5054, "end": 5055, "loc": { "start": { "line": 202, "column": 31 }, "end": { "line": 202, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5055, "end": 5056, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 5057, "end": 5058, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5058, "end": 5059, "loc": { "start": { "line": 202, "column": 35 }, "end": { "line": 202, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilon", "start": 5060, "end": 5067, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5068, "end": 5069, "loc": { "start": { "line": 202, "column": 45 }, "end": { "line": 202, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.00001, "start": 5070, "end": 5074, "loc": { "start": { "line": 202, "column": 47 }, "end": { "line": 202, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 202, "column": 51 }, "end": { "line": 202, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5076, "end": 5077, "loc": { "start": { "line": 202, "column": 53 }, "end": { "line": 202, "column": 54 } } }, { "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": 5083, "end": 5089, "loc": { "start": { "line": 203, "column": 4 }, "end": { "line": 203, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 5090, "end": 5094, "loc": { "start": { "line": 203, "column": 11 }, "end": { "line": 203, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 203, "column": 15 }, "end": { "line": 203, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abs", "start": 5095, "end": 5098, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5098, "end": 5099, "loc": { "start": { "line": 203, "column": 19 }, "end": { "line": 203, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 5099, "end": 5100, "loc": { "start": { "line": 203, "column": 20 }, "end": { "line": 203, "column": 21 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5101, "end": 5102, "loc": { "start": { "line": 203, "column": 22 }, "end": { "line": 203, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 5103, "end": 5104, "loc": { "start": { "line": 203, "column": 24 }, "end": { "line": 203, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5104, "end": 5105, "loc": { "start": { "line": 203, "column": 25 }, "end": { "line": 203, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5106, "end": 5107, "loc": { "start": { "line": 203, "column": 27 }, "end": { "line": 203, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "epsilon", "start": 5108, "end": 5115, "loc": { "start": { "line": 203, "column": 29 }, "end": { "line": 203, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5115, "end": 5116, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5118, "end": 5119, "loc": { "start": { "line": 204, "column": 0 }, "end": { "line": 204, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Interpolates two numbers\r\n * @param {number} a\r\n * @param {number} b\r\n * @param {number} x Mix factor, 0 means 100% a, 1 means 100%b, rest is interpolated\r\n ", "start": 5123, "end": 5290, "loc": { "start": { "line": 206, "column": 0 }, "end": { "line": 211, "column": 3 } } }, { "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": 5292, "end": 5298, "loc": { "start": { "line": 212, "column": 0 }, "end": { "line": 212, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 5299, "end": 5307, "loc": { "start": { "line": 212, "column": 7 }, "end": { "line": 212, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lerp", "start": 5308, "end": 5312, "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 212, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 212, "column": 20 }, "end": { "line": 212, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 5313, "end": 5314, "loc": { "start": { "line": 212, "column": 21 }, "end": { "line": 212, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5314, "end": 5315, "loc": { "start": { "line": 212, "column": 22 }, "end": { "line": 212, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 5316, "end": 5317, "loc": { "start": { "line": 212, "column": 24 }, "end": { "line": 212, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5317, "end": 5318, "loc": { "start": { "line": 212, "column": 25 }, "end": { "line": 212, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5319, "end": 5320, "loc": { "start": { "line": 212, "column": 27 }, "end": { "line": 212, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5320, "end": 5321, "loc": { "start": { "line": 212, "column": 28 }, "end": { "line": 212, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5322, "end": 5323, "loc": { "start": { "line": 212, "column": 30 }, "end": { "line": 212, "column": 31 } } }, { "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": 5329, "end": 5335, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 213, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 5336, "end": 5337, "loc": { "start": { "line": 213, "column": 11 }, "end": { "line": 213, "column": 12 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5338, "end": 5339, "loc": { "start": { "line": 213, "column": 13 }, "end": { "line": 213, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5340, "end": 5341, "loc": { "start": { "line": 213, "column": 15 }, "end": { "line": 213, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5341, "end": 5342, "loc": { "start": { "line": 213, "column": 16 }, "end": { "line": 213, "column": 17 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5343, "end": 5344, "loc": { "start": { "line": 213, "column": 18 }, "end": { "line": 213, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5345, "end": 5346, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5346, "end": 5347, "loc": { "start": { "line": 213, "column": 21 }, "end": { "line": 213, "column": 22 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5348, "end": 5349, "loc": { "start": { "line": 213, "column": 23 }, "end": { "line": 213, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 5350, "end": 5351, "loc": { "start": { "line": 213, "column": 25 }, "end": { "line": 213, "column": 26 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5352, "end": 5353, "loc": { "start": { "line": 213, "column": 27 }, "end": { "line": 213, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5354, "end": 5355, "loc": { "start": { "line": 213, "column": 29 }, "end": { "line": 213, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5355, "end": 5356, "loc": { "start": { "line": 213, "column": 30 }, "end": { "line": 213, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5358, "end": 5359, "loc": { "start": { "line": 214, "column": 0 }, "end": { "line": 214, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a value which is nice to display, e.g. 15669 -> 15000. Also handles fractional stuff\r\n * @param {number} num\r\n ", "start": 5363, "end": 5490, "loc": { "start": { "line": 216, "column": 0 }, "end": { "line": 219, "column": 3 } } }, { "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": 5492, "end": 5498, "loc": { "start": { "line": 220, "column": 0 }, "end": { "line": 220, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 5499, "end": 5507, "loc": { "start": { "line": 220, "column": 7 }, "end": { "line": 220, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findNiceValue", "start": 5508, "end": 5521, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5521, "end": 5522, "loc": { "start": { "line": 220, "column": 29 }, "end": { "line": 220, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5522, "end": 5525, "loc": { "start": { "line": 220, "column": 30 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5525, "end": 5526, "loc": { "start": { "line": 220, "column": 33 }, "end": { "line": 220, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5527, "end": 5528, "loc": { "start": { "line": 220, "column": 35 }, "end": { "line": 220, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5534, "end": 5536, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 221, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5537, "end": 5538, "loc": { "start": { "line": 221, "column": 7 }, "end": { "line": 221, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5538, "end": 5541, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5542, "end": 5543, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100000000, "start": 5544, "end": 5547, "loc": { "start": { "line": 221, "column": 14 }, "end": { "line": 221, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5547, "end": 5548, "loc": { "start": { "line": 221, "column": 17 }, "end": { "line": 221, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5549, "end": 5550, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 20 } } }, { "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": 5560, "end": 5566, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5567, "end": 5570, "loc": { "start": { "line": 222, "column": 15 }, "end": { "line": 222, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5570, "end": 5571, "loc": { "start": { "line": 222, "column": 18 }, "end": { "line": 222, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5577, "end": 5578, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5584, "end": 5586, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5587, "end": 5588, "loc": { "start": { "line": 224, "column": 7 }, "end": { "line": 224, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5588, "end": 5591, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5592, "end": 5593, "loc": { "start": { "line": 224, "column": 12 }, "end": { "line": 224, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.00001, "start": 5594, "end": 5601, "loc": { "start": { "line": 224, "column": 14 }, "end": { "line": 224, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5601, "end": 5602, "loc": { "start": { "line": 224, "column": 21 }, "end": { "line": 224, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5603, "end": 5604, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 224, "column": 24 } } }, { "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": 5614, "end": 5620, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5621, "end": 5622, "loc": { "start": { "line": 225, "column": 15 }, "end": { "line": 225, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5622, "end": 5623, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5629, "end": 5630, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 226, "column": 5 } } }, { "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": 5638, "end": 5641, "loc": { "start": { "line": 228, "column": 4 }, "end": { "line": 228, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5642, "end": 5653, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5654, "end": 5655, "loc": { "start": { "line": 228, "column": 20 }, "end": { "line": 228, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5656, "end": 5657, "loc": { "start": { "line": 228, "column": 22 }, "end": { "line": 228, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5657, "end": 5658, "loc": { "start": { "line": 228, "column": 23 }, "end": { "line": 228, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5664, "end": 5666, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5667, "end": 5668, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5668, "end": 5671, "loc": { "start": { "line": 229, "column": 8 }, "end": { "line": 229, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5672, "end": 5673, "loc": { "start": { "line": 229, "column": 12 }, "end": { "line": 229, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 50000, "start": 5674, "end": 5679, "loc": { "start": { "line": 229, "column": 14 }, "end": { "line": 229, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5679, "end": 5680, "loc": { "start": { "line": 229, "column": 19 }, "end": { "line": 229, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5681, "end": 5682, "loc": { "start": { "line": 229, "column": 21 }, "end": { "line": 229, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5692, "end": 5703, "loc": { "start": { "line": 230, "column": 8 }, "end": { "line": 230, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5704, "end": 5705, "loc": { "start": { "line": 230, "column": 20 }, "end": { "line": 230, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10000, "start": 5706, "end": 5711, "loc": { "start": { "line": 230, "column": 22 }, "end": { "line": 230, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5711, "end": 5712, "loc": { "start": { "line": 230, "column": 27 }, "end": { "line": 230, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5718, "end": 5719, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 5 } } }, { "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": 5720, "end": 5724, "loc": { "start": { "line": 231, "column": 6 }, "end": { "line": 231, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5725, "end": 5727, "loc": { "start": { "line": 231, "column": 11 }, "end": { "line": 231, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5728, "end": 5729, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5729, "end": 5732, "loc": { "start": { "line": 231, "column": 15 }, "end": { "line": 231, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5733, "end": 5734, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20000, "start": 5735, "end": 5740, "loc": { "start": { "line": 231, "column": 21 }, "end": { "line": 231, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5740, "end": 5741, "loc": { "start": { "line": 231, "column": 26 }, "end": { "line": 231, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5742, "end": 5743, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5753, "end": 5764, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5765, "end": 5766, "loc": { "start": { "line": 232, "column": 20 }, "end": { "line": 232, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5000, "start": 5767, "end": 5771, "loc": { "start": { "line": 232, "column": 22 }, "end": { "line": 232, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5771, "end": 5772, "loc": { "start": { "line": 232, "column": 26 }, "end": { "line": 232, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5778, "end": 5779, "loc": { "start": { "line": 233, "column": 4 }, "end": { "line": 233, "column": 5 } } }, { "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": 5780, "end": 5784, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5785, "end": 5787, "loc": { "start": { "line": 233, "column": 11 }, "end": { "line": 233, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5788, "end": 5789, "loc": { "start": { "line": 233, "column": 14 }, "end": { "line": 233, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5789, "end": 5792, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5793, "end": 5794, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5000, "start": 5795, "end": 5799, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5799, "end": 5800, "loc": { "start": { "line": 233, "column": 25 }, "end": { "line": 233, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5801, "end": 5802, "loc": { "start": { "line": 233, "column": 27 }, "end": { "line": 233, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5812, "end": 5823, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5824, "end": 5825, "loc": { "start": { "line": 234, "column": 20 }, "end": { "line": 234, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 5826, "end": 5830, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5830, "end": 5831, "loc": { "start": { "line": 234, "column": 26 }, "end": { "line": 234, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5837, "end": 5838, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 5 } } }, { "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": 5839, "end": 5843, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5844, "end": 5846, "loc": { "start": { "line": 235, "column": 11 }, "end": { "line": 235, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5847, "end": 5848, "loc": { "start": { "line": 235, "column": 14 }, "end": { "line": 235, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5848, "end": 5851, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5852, "end": 5853, "loc": { "start": { "line": 235, "column": 19 }, "end": { "line": 235, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2000, "start": 5854, "end": 5858, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5858, "end": 5859, "loc": { "start": { "line": 235, "column": 25 }, "end": { "line": 235, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5860, "end": 5861, "loc": { "start": { "line": 235, "column": 27 }, "end": { "line": 235, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5871, "end": 5882, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5883, "end": 5884, "loc": { "start": { "line": 236, "column": 20 }, "end": { "line": 236, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 500, "start": 5885, "end": 5888, "loc": { "start": { "line": 236, "column": 22 }, "end": { "line": 236, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5888, "end": 5889, "loc": { "start": { "line": 236, "column": 25 }, "end": { "line": 236, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5895, "end": 5896, "loc": { "start": { "line": 237, "column": 4 }, "end": { "line": 237, "column": 5 } } }, { "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": 5897, "end": 5901, "loc": { "start": { "line": 237, "column": 6 }, "end": { "line": 237, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5902, "end": 5904, "loc": { "start": { "line": 237, "column": 11 }, "end": { "line": 237, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5905, "end": 5906, "loc": { "start": { "line": 237, "column": 14 }, "end": { "line": 237, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5906, "end": 5909, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5910, "end": 5911, "loc": { "start": { "line": 237, "column": 19 }, "end": { "line": 237, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 5912, "end": 5916, "loc": { "start": { "line": 237, "column": 21 }, "end": { "line": 237, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5916, "end": 5917, "loc": { "start": { "line": 237, "column": 25 }, "end": { "line": 237, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5918, "end": 5919, "loc": { "start": { "line": 237, "column": 27 }, "end": { "line": 237, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5929, "end": 5940, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5941, "end": 5942, "loc": { "start": { "line": 238, "column": 20 }, "end": { "line": 238, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 5943, "end": 5946, "loc": { "start": { "line": 238, "column": 22 }, "end": { "line": 238, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5946, "end": 5947, "loc": { "start": { "line": 238, "column": 25 }, "end": { "line": 238, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5953, "end": 5954, "loc": { "start": { "line": 239, "column": 4 }, "end": { "line": 239, "column": 5 } } }, { "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": 5955, "end": 5959, "loc": { "start": { "line": 239, "column": 6 }, "end": { "line": 239, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5960, "end": 5962, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5963, "end": 5964, "loc": { "start": { "line": 239, "column": 14 }, "end": { "line": 239, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 5964, "end": 5967, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5968, "end": 5969, "loc": { "start": { "line": 239, "column": 19 }, "end": { "line": 239, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 5970, "end": 5973, "loc": { "start": { "line": 239, "column": 21 }, "end": { "line": 239, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5973, "end": 5974, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5975, "end": 5976, "loc": { "start": { "line": 239, "column": 26 }, "end": { "line": 239, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 5986, "end": 5997, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5998, "end": 5999, "loc": { "start": { "line": 240, "column": 20 }, "end": { "line": 240, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 6000, "end": 6002, "loc": { "start": { "line": 240, "column": 22 }, "end": { "line": 240, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6002, "end": 6003, "loc": { "start": { "line": 240, "column": 24 }, "end": { "line": 240, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6009, "end": 6010, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 5 } } }, { "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": 6011, "end": 6015, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6016, "end": 6018, "loc": { "start": { "line": 241, "column": 11 }, "end": { "line": 241, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6019, "end": 6020, "loc": { "start": { "line": 241, "column": 14 }, "end": { "line": 241, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6020, "end": 6023, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 18 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 6024, "end": 6025, "loc": { "start": { "line": 241, "column": 19 }, "end": { "line": 241, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 6026, "end": 6028, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6028, "end": 6029, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6030, "end": 6031, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 6041, "end": 6052, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6053, "end": 6054, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 6055, "end": 6056, "loc": { "start": { "line": 242, "column": 22 }, "end": { "line": 242, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6056, "end": 6057, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6063, "end": 6064, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 5 } } }, { "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": 6072, "end": 6077, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "niceValue", "start": 6078, "end": 6087, "loc": { "start": { "line": 245, "column": 10 }, "end": { "line": 245, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6088, "end": 6089, "loc": { "start": { "line": 245, "column": 20 }, "end": { "line": 245, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6090, "end": 6094, "loc": { "start": { "line": 245, "column": 22 }, "end": { "line": 245, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6094, "end": 6095, "loc": { "start": { "line": 245, "column": 26 }, "end": { "line": 245, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 6095, "end": 6100, "loc": { "start": { "line": 245, "column": 27 }, "end": { "line": 245, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6100, "end": 6101, "loc": { "start": { "line": 245, "column": 32 }, "end": { "line": 245, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6101, "end": 6104, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 36 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 6105, "end": 6106, "loc": { "start": { "line": 245, "column": 37 }, "end": { "line": 245, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 6107, "end": 6118, "loc": { "start": { "line": 245, "column": 39 }, "end": { "line": 245, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6118, "end": 6119, "loc": { "start": { "line": 245, "column": 50 }, "end": { "line": 245, "column": 51 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 6120, "end": 6121, "loc": { "start": { "line": 245, "column": 52 }, "end": { "line": 245, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "roundAmount", "start": 6122, "end": 6133, "loc": { "start": { "line": 245, "column": 54 }, "end": { "line": 245, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6133, "end": 6134, "loc": { "start": { "line": 245, "column": 65 }, "end": { "line": 245, "column": 66 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6140, "end": 6142, "loc": { "start": { "line": 246, "column": 4 }, "end": { "line": 246, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6143, "end": 6144, "loc": { "start": { "line": 246, "column": 7 }, "end": { "line": 246, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6144, "end": 6147, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 6148, "end": 6150, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 6151, "end": 6153, "loc": { "start": { "line": 246, "column": 15 }, "end": { "line": 246, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6153, "end": 6154, "loc": { "start": { "line": 246, "column": 17 }, "end": { "line": 246, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6155, "end": 6156, "loc": { "start": { "line": 246, "column": 19 }, "end": { "line": 246, "column": 20 } } }, { "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": 6166, "end": 6172, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6173, "end": 6177, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6177, "end": 6178, "loc": { "start": { "line": 247, "column": 19 }, "end": { "line": 247, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 6178, "end": 6183, "loc": { "start": { "line": 247, "column": 20 }, "end": { "line": 247, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6183, "end": 6184, "loc": { "start": { "line": 247, "column": 25 }, "end": { "line": 247, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "niceValue", "start": 6184, "end": 6193, "loc": { "start": { "line": 247, "column": 26 }, "end": { "line": 247, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6193, "end": 6194, "loc": { "start": { "line": 247, "column": 35 }, "end": { "line": 247, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6194, "end": 6195, "loc": { "start": { "line": 247, "column": 36 }, "end": { "line": 247, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6201, "end": 6202, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6208, "end": 6210, "loc": { "start": { "line": 249, "column": 4 }, "end": { "line": 249, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6211, "end": 6212, "loc": { "start": { "line": 249, "column": 7 }, "end": { "line": 249, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6212, "end": 6215, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 6216, "end": 6218, "loc": { "start": { "line": 249, "column": 12 }, "end": { "line": 249, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 6219, "end": 6220, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6220, "end": 6221, "loc": { "start": { "line": 249, "column": 16 }, "end": { "line": 249, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6222, "end": 6223, "loc": { "start": { "line": 249, "column": 18 }, "end": { "line": 249, "column": 19 } } }, { "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": 6233, "end": 6239, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6240, "end": 6244, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6244, "end": 6245, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 6245, "end": 6250, "loc": { "start": { "line": 250, "column": 20 }, "end": { "line": 250, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6250, "end": 6251, "loc": { "start": { "line": 250, "column": 25 }, "end": { "line": 250, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "niceValue", "start": 6251, "end": 6260, "loc": { "start": { "line": 250, "column": 26 }, "end": { "line": 250, "column": 35 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 6261, "end": 6262, "loc": { "start": { "line": 250, "column": 36 }, "end": { "line": 250, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 6263, "end": 6265, "loc": { "start": { "line": 250, "column": 38 }, "end": { "line": 250, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6265, "end": 6266, "loc": { "start": { "line": 250, "column": 40 }, "end": { "line": 250, "column": 41 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 6267, "end": 6268, "loc": { "start": { "line": 250, "column": 42 }, "end": { "line": 250, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 6269, "end": 6271, "loc": { "start": { "line": 250, "column": 44 }, "end": { "line": 250, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6271, "end": 6272, "loc": { "start": { "line": 250, "column": 46 }, "end": { "line": 250, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6278, "end": 6279, "loc": { "start": { "line": 251, "column": 4 }, "end": { "line": 251, "column": 5 } } }, { "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": 6287, "end": 6293, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6294, "end": 6298, "loc": { "start": { "line": 253, "column": 11 }, "end": { "line": 253, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6298, "end": 6299, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 253, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 6299, "end": 6304, "loc": { "start": { "line": 253, "column": 16 }, "end": { "line": 253, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6304, "end": 6305, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "niceValue", "start": 6305, "end": 6314, "loc": { "start": { "line": 253, "column": 22 }, "end": { "line": 253, "column": 31 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 6315, "end": 6316, "loc": { "start": { "line": 253, "column": 32 }, "end": { "line": 253, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 6317, "end": 6320, "loc": { "start": { "line": 253, "column": 34 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6320, "end": 6321, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 38 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 6322, "end": 6323, "loc": { "start": { "line": 253, "column": 39 }, "end": { "line": 253, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 6324, "end": 6327, "loc": { "start": { "line": 253, "column": 41 }, "end": { "line": 253, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6327, "end": 6328, "loc": { "start": { "line": 253, "column": 44 }, "end": { "line": 253, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6330, "end": 6331, "loc": { "start": { "line": 254, "column": 0 }, "end": { "line": 254, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a nice integer value\r\n * @see findNiceValue\r\n * @param {number} num\r\n ", "start": 6335, "end": 6421, "loc": { "start": { "line": 256, "column": 0 }, "end": { "line": 260, "column": 3 } } }, { "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": 6423, "end": 6429, "loc": { "start": { "line": 261, "column": 0 }, "end": { "line": 261, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 6430, "end": 6438, "loc": { "start": { "line": 261, "column": 7 }, "end": { "line": 261, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findNiceIntegerValue", "start": 6439, "end": 6459, "loc": { "start": { "line": 261, "column": 16 }, "end": { "line": 261, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6459, "end": 6460, "loc": { "start": { "line": 261, "column": 36 }, "end": { "line": 261, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6460, "end": 6463, "loc": { "start": { "line": 261, "column": 37 }, "end": { "line": 261, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6463, "end": 6464, "loc": { "start": { "line": 261, "column": 40 }, "end": { "line": 261, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6465, "end": 6466, "loc": { "start": { "line": 261, "column": 42 }, "end": { "line": 261, "column": 43 } } }, { "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": 6472, "end": 6478, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6479, "end": 6483, "loc": { "start": { "line": 262, "column": 11 }, "end": { "line": 262, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6483, "end": 6484, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ceil", "start": 6484, "end": 6488, "loc": { "start": { "line": 262, "column": 16 }, "end": { "line": 262, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6488, "end": 6489, "loc": { "start": { "line": 262, "column": 20 }, "end": { "line": 262, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findNiceValue", "start": 6489, "end": 6502, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6502, "end": 6503, "loc": { "start": { "line": 262, "column": 34 }, "end": { "line": 262, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6503, "end": 6506, "loc": { "start": { "line": 262, "column": 35 }, "end": { "line": 262, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6506, "end": 6507, "loc": { "start": { "line": 262, "column": 38 }, "end": { "line": 262, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6507, "end": 6508, "loc": { "start": { "line": 262, "column": 39 }, "end": { "line": 262, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6508, "end": 6509, "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6511, "end": 6512, "loc": { "start": { "line": 263, "column": 0 }, "end": { "line": 263, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a big number\r\n * @param {number} num\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n * @returns {string}\r\n ", "start": 6516, "end": 6686, "loc": { "start": { "line": 265, "column": 0 }, "end": { "line": 270, "column": 3 } } }, { "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": 6688, "end": 6694, "loc": { "start": { "line": 271, "column": 0 }, "end": { "line": 271, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 6695, "end": 6703, "loc": { "start": { "line": 271, "column": 7 }, "end": { "line": 271, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatBigNumber", "start": 6704, "end": 6719, "loc": { "start": { "line": 271, "column": 16 }, "end": { "line": 271, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6719, "end": 6720, "loc": { "start": { "line": 271, "column": 31 }, "end": { "line": 271, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6720, "end": 6723, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6723, "end": 6724, "loc": { "start": { "line": 271, "column": 35 }, "end": { "line": 271, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 6725, "end": 6734, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6735, "end": 6736, "loc": { "start": { "line": 271, "column": 47 }, "end": { "line": 271, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 6737, "end": 6738, "loc": { "start": { "line": 271, "column": 49 }, "end": { "line": 271, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6738, "end": 6739, "loc": { "start": { "line": 271, "column": 50 }, "end": { "line": 271, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 6739, "end": 6745, "loc": { "start": { "line": 271, "column": 51 }, "end": { "line": 271, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6745, "end": 6746, "loc": { "start": { "line": 271, "column": 57 }, "end": { "line": 271, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decimalSeparator", "start": 6746, "end": 6762, "loc": { "start": { "line": 271, "column": 58 }, "end": { "line": 271, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6762, "end": 6763, "loc": { "start": { "line": 271, "column": 74 }, "end": { "line": 271, "column": 75 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6764, "end": 6765, "loc": { "start": { "line": 271, "column": 76 }, "end": { "line": 271, "column": 77 } } }, { "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": 6771, "end": 6776, "loc": { "start": { "line": 272, "column": 4 }, "end": { "line": 272, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 6777, "end": 6781, "loc": { "start": { "line": 272, "column": 10 }, "end": { "line": 272, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6782, "end": 6783, "loc": { "start": { "line": 272, "column": 15 }, "end": { "line": 272, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6784, "end": 6787, "loc": { "start": { "line": 272, "column": 17 }, "end": { "line": 272, "column": 20 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6788, "end": 6789, "loc": { "start": { "line": 272, "column": 21 }, "end": { "line": 272, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6790, "end": 6791, "loc": { "start": { "line": 272, "column": 23 }, "end": { "line": 272, "column": 24 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6792, "end": 6793, "loc": { "start": { "line": 272, "column": 25 }, "end": { "line": 272, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-", "start": 6794, "end": 6797, "loc": { "start": { "line": 272, "column": 27 }, "end": { "line": 272, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6798, "end": 6799, "loc": { "start": { "line": 272, "column": 31 }, "end": { "line": 272, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 6800, "end": 6802, "loc": { "start": { "line": 272, "column": 33 }, "end": { "line": 272, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6802, "end": 6803, "loc": { "start": { "line": 272, "column": 35 }, "end": { "line": 272, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6809, "end": 6812, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 273, "column": 7 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6813, "end": 6814, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6815, "end": 6819, "loc": { "start": { "line": 273, "column": 10 }, "end": { "line": 273, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6819, "end": 6820, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abs", "start": 6820, "end": 6823, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6823, "end": 6824, "loc": { "start": { "line": 273, "column": 18 }, "end": { "line": 273, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6824, "end": 6827, "loc": { "start": { "line": 273, "column": 19 }, "end": { "line": 273, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6827, "end": 6828, "loc": { "start": { "line": 273, "column": 22 }, "end": { "line": 273, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6828, "end": 6829, "loc": { "start": { "line": 273, "column": 23 }, "end": { "line": 273, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6837, "end": 6839, "loc": { "start": { "line": 275, "column": 4 }, "end": { "line": 275, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6840, "end": 6841, "loc": { "start": { "line": 275, "column": 7 }, "end": { "line": 275, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6841, "end": 6844, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 6845, "end": 6846, "loc": { "start": { "line": 275, "column": 12 }, "end": { "line": 275, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1e+54, "start": 6847, "end": 6851, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6851, "end": 6852, "loc": { "start": { "line": 275, "column": 18 }, "end": { "line": 275, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6853, "end": 6854, "loc": { "start": { "line": 275, "column": 20 }, "end": { "line": 275, "column": 21 } } }, { "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": 6864, "end": 6870, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 6871, "end": 6875, "loc": { "start": { "line": 276, "column": 15 }, "end": { "line": 276, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6876, "end": 6877, "loc": { "start": { "line": 276, "column": 20 }, "end": { "line": 276, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 6878, "end": 6879, "loc": { "start": { "line": 276, "column": 22 }, "end": { "line": 276, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6879, "end": 6880, "loc": { "start": { "line": 276, "column": 23 }, "end": { "line": 276, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 6880, "end": 6886, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6886, "end": 6887, "loc": { "start": { "line": 276, "column": 30 }, "end": { "line": 276, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "infinite", "start": 6887, "end": 6895, "loc": { "start": { "line": 276, "column": 31 }, "end": { "line": 276, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6895, "end": 6896, "loc": { "start": { "line": 276, "column": 39 }, "end": { "line": 276, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6902, "end": 6903, "loc": { "start": { "line": 277, "column": 4 }, "end": { "line": 277, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6911, "end": 6913, "loc": { "start": { "line": 279, "column": 4 }, "end": { "line": 279, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6914, "end": 6915, "loc": { "start": { "line": 279, "column": 7 }, "end": { "line": 279, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6915, "end": 6918, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6919, "end": 6920, "loc": { "start": { "line": 279, "column": 12 }, "end": { "line": 279, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 6921, "end": 6923, "loc": { "start": { "line": 279, "column": 14 }, "end": { "line": 279, "column": 16 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6924, "end": 6926, "loc": { "start": { "line": 279, "column": 17 }, "end": { "line": 279, "column": 19 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6927, "end": 6928, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 6928, "end": 6934, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6934, "end": 6935, "loc": { "start": { "line": 279, "column": 27 }, "end": { "line": 279, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInteger", "start": 6935, "end": 6944, "loc": { "start": { "line": 279, "column": 28 }, "end": { "line": 279, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6944, "end": 6945, "loc": { "start": { "line": 279, "column": 37 }, "end": { "line": 279, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6945, "end": 6948, "loc": { "start": { "line": 279, "column": 38 }, "end": { "line": 279, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6948, "end": 6949, "loc": { "start": { "line": 279, "column": 41 }, "end": { "line": 279, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6949, "end": 6950, "loc": { "start": { "line": 279, "column": 42 }, "end": { "line": 279, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6951, "end": 6952, "loc": { "start": { "line": 279, "column": 44 }, "end": { "line": 279, "column": 45 } } }, { "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": 6962, "end": 6968, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 6969, "end": 6973, "loc": { "start": { "line": 280, "column": 15 }, "end": { "line": 280, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6974, "end": 6975, "loc": { "start": { "line": 280, "column": 20 }, "end": { "line": 280, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 6976, "end": 6979, "loc": { "start": { "line": 280, "column": 22 }, "end": { "line": 280, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6979, "end": 6980, "loc": { "start": { "line": 280, "column": 25 }, "end": { "line": 280, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toFixed", "start": 6980, "end": 6987, "loc": { "start": { "line": 280, "column": 26 }, "end": { "line": 280, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6987, "end": 6988, "loc": { "start": { "line": 280, "column": 33 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 6988, "end": 6989, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6989, "end": 6990, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6990, "end": 6991, "loc": { "start": { "line": 280, "column": 36 }, "end": { "line": 280, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6997, "end": 6998, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7004, "end": 7006, "loc": { "start": { "line": 282, "column": 4 }, "end": { "line": 282, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7007, "end": 7008, "loc": { "start": { "line": 282, "column": 7 }, "end": { "line": 282, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7008, "end": 7011, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7012, "end": 7013, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 50, "start": 7014, "end": 7016, "loc": { "start": { "line": 282, "column": 14 }, "end": { "line": 282, "column": 16 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7017, "end": 7019, "loc": { "start": { "line": 282, "column": 17 }, "end": { "line": 282, "column": 19 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7020, "end": 7021, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 7021, "end": 7027, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7027, "end": 7028, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInteger", "start": 7028, "end": 7037, "loc": { "start": { "line": 282, "column": 28 }, "end": { "line": 282, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7037, "end": 7038, "loc": { "start": { "line": 282, "column": 37 }, "end": { "line": 282, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7038, "end": 7041, "loc": { "start": { "line": 282, "column": 38 }, "end": { "line": 282, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7041, "end": 7042, "loc": { "start": { "line": 282, "column": 41 }, "end": { "line": 282, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7042, "end": 7043, "loc": { "start": { "line": 282, "column": 42 }, "end": { "line": 282, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7044, "end": 7045, "loc": { "start": { "line": 282, "column": 44 }, "end": { "line": 282, "column": 45 } } }, { "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": 7055, "end": 7061, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 7062, "end": 7066, "loc": { "start": { "line": 283, "column": 15 }, "end": { "line": 283, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7067, "end": 7068, "loc": { "start": { "line": 283, "column": 20 }, "end": { "line": 283, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7069, "end": 7072, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7072, "end": 7073, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toFixed", "start": 7073, "end": 7080, "loc": { "start": { "line": 283, "column": 26 }, "end": { "line": 283, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7080, "end": 7081, "loc": { "start": { "line": 283, "column": 33 }, "end": { "line": 283, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7081, "end": 7082, "loc": { "start": { "line": 283, "column": 34 }, "end": { "line": 283, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7082, "end": 7083, "loc": { "start": { "line": 283, "column": 35 }, "end": { "line": 283, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7083, "end": 7084, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7090, "end": 7091, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7097, "end": 7100, "loc": { "start": { "line": 285, "column": 4 }, "end": { "line": 285, "column": 7 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7101, "end": 7102, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 7103, "end": 7107, "loc": { "start": { "line": 285, "column": 10 }, "end": { "line": 285, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7107, "end": 7108, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 285, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 7108, "end": 7113, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7113, "end": 7114, "loc": { "start": { "line": 285, "column": 20 }, "end": { "line": 285, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7114, "end": 7117, "loc": { "start": { "line": 285, "column": 21 }, "end": { "line": 285, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7117, "end": 7118, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7118, "end": 7119, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 26 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7127, "end": 7129, "loc": { "start": { "line": 287, "column": 4 }, "end": { "line": 287, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7130, "end": 7131, "loc": { "start": { "line": 287, "column": 7 }, "end": { "line": 287, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7131, "end": 7134, "loc": { "start": { "line": 287, "column": 8 }, "end": { "line": 287, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7135, "end": 7136, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 7137, "end": 7141, "loc": { "start": { "line": 287, "column": 14 }, "end": { "line": 287, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7141, "end": 7142, "loc": { "start": { "line": 287, "column": 18 }, "end": { "line": 287, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7143, "end": 7144, "loc": { "start": { "line": 287, "column": 20 }, "end": { "line": 287, "column": 21 } } }, { "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": 7154, "end": 7160, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 7161, "end": 7165, "loc": { "start": { "line": 288, "column": 15 }, "end": { "line": 288, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7166, "end": 7167, "loc": { "start": { "line": 288, "column": 20 }, "end": { "line": 288, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 7168, "end": 7170, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 24 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7171, "end": 7172, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7173, "end": 7176, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7176, "end": 7177, "loc": { "start": { "line": 288, "column": 30 }, "end": { "line": 288, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7183, "end": 7184, "loc": { "start": { "line": 289, "column": 4 }, "end": { "line": 289, "column": 5 } } }, { "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": 7185, "end": 7189, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7190, "end": 7191, "loc": { "start": { "line": 289, "column": 11 }, "end": { "line": 289, "column": 12 } } }, { "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": 7201, "end": 7204, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigits", "start": 7205, "end": 7218, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7219, "end": 7220, "loc": { "start": { "line": 290, "column": 26 }, "end": { "line": 290, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 7221, "end": 7224, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7224, "end": 7225, "loc": { "start": { "line": 290, "column": 31 }, "end": { "line": 290, "column": 32 } } }, { "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": 7235, "end": 7238, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffix", "start": 7239, "end": 7245, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7246, "end": 7247, "loc": { "start": { "line": 291, "column": 19 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 7248, "end": 7250, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7250, "end": 7251, "loc": { "start": { "line": 291, "column": 23 }, "end": { "line": 291, "column": 24 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 7261, "end": 7264, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7265, "end": 7266, "loc": { "start": { "line": 292, "column": 12 }, "end": { "line": 292, "column": 13 } } }, { "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": 7266, "end": 7269, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffixIndex", "start": 7270, "end": 7281, "loc": { "start": { "line": 292, "column": 17 }, "end": { "line": 292, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7282, "end": 7283, "loc": { "start": { "line": 292, "column": 29 }, "end": { "line": 292, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7284, "end": 7285, "loc": { "start": { "line": 292, "column": 31 }, "end": { "line": 292, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7285, "end": 7286, "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffixIndex", "start": 7287, "end": 7298, "loc": { "start": { "line": 292, "column": 34 }, "end": { "line": 292, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7299, "end": 7300, "loc": { "start": { "line": 292, "column": 46 }, "end": { "line": 292, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bigNumberSuffixTranslationKeys", "start": 7301, "end": 7331, "loc": { "start": { "line": 292, "column": 48 }, "end": { "line": 292, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7331, "end": 7332, "loc": { "start": { "line": 292, "column": 78 }, "end": { "line": 292, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 7332, "end": 7338, "loc": { "start": { "line": 292, "column": 79 }, "end": { "line": 292, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7338, "end": 7339, "loc": { "start": { "line": 292, "column": 85 }, "end": { "line": 292, "column": 86 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 7340, "end": 7342, "loc": { "start": { "line": 292, "column": 87 }, "end": { "line": 292, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffixIndex", "start": 7342, "end": 7353, "loc": { "start": { "line": 292, "column": 89 }, "end": { "line": 292, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7353, "end": 7354, "loc": { "start": { "line": 292, "column": 100 }, "end": { "line": 292, "column": 101 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7355, "end": 7356, "loc": { "start": { "line": 292, "column": 102 }, "end": { "line": 292, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigits", "start": 7370, "end": 7383, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7384, "end": 7385, "loc": { "start": { "line": 293, "column": 26 }, "end": { "line": 293, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigits", "start": 7386, "end": 7399, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 41 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7400, "end": 7401, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 7402, "end": 7406, "loc": { "start": { "line": 293, "column": 44 }, "end": { "line": 293, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7406, "end": 7407, "loc": { "start": { "line": 293, "column": 48 }, "end": { "line": 293, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffix", "start": 7421, "end": 7427, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7428, "end": 7429, "loc": { "start": { "line": 294, "column": 19 }, "end": { "line": 294, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 7430, "end": 7431, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7431, "end": 7432, "loc": { "start": { "line": 294, "column": 22 }, "end": { "line": 294, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 7432, "end": 7438, "loc": { "start": { "line": 294, "column": 23 }, "end": { "line": 294, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7438, "end": 7439, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffix", "start": 7439, "end": 7445, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7445, "end": 7446, "loc": { "start": { "line": 294, "column": 36 }, "end": { "line": 294, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bigNumberSuffixTranslationKeys", "start": 7446, "end": 7476, "loc": { "start": { "line": 294, "column": 37 }, "end": { "line": 294, "column": 67 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7476, "end": 7477, "loc": { "start": { "line": 294, "column": 67 }, "end": { "line": 294, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffixIndex", "start": 7477, "end": 7488, "loc": { "start": { "line": 294, "column": 68 }, "end": { "line": 294, "column": 79 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7488, "end": 7489, "loc": { "start": { "line": 294, "column": 79 }, "end": { "line": 294, "column": 80 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7489, "end": 7490, "loc": { "start": { "line": 294, "column": 80 }, "end": { "line": 294, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7490, "end": 7491, "loc": { "start": { "line": 294, "column": 81 }, "end": { "line": 294, "column": 82 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7505, "end": 7507, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7508, "end": 7509, "loc": { "start": { "line": 295, "column": 15 }, "end": { "line": 295, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigits", "start": 7509, "end": 7522, "loc": { "start": { "line": 295, "column": 16 }, "end": { "line": 295, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7523, "end": 7524, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 7525, "end": 7529, "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7529, "end": 7530, "loc": { "start": { "line": 295, "column": 36 }, "end": { "line": 295, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7531, "end": 7532, "loc": { "start": { "line": 295, "column": 38 }, "end": { "line": 295, "column": 39 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 7550, "end": 7555, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7555, "end": 7556, "loc": { "start": { "line": 296, "column": 21 }, "end": { "line": 296, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7570, "end": 7571, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7581, "end": 7582, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 9 } } }, { "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": 7592, "end": 7597, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigitsRounded", "start": 7598, "end": 7618, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7619, "end": 7620, "loc": { "start": { "line": 299, "column": 35 }, "end": { "line": 299, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round1Digit", "start": 7621, "end": 7632, "loc": { "start": { "line": 299, "column": 37 }, "end": { "line": 299, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7632, "end": 7633, "loc": { "start": { "line": 299, "column": 48 }, "end": { "line": 299, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigits", "start": 7633, "end": 7646, "loc": { "start": { "line": 299, "column": 49 }, "end": { "line": 299, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7646, "end": 7647, "loc": { "start": { "line": 299, "column": 62 }, "end": { "line": 299, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7647, "end": 7648, "loc": { "start": { "line": 299, "column": 63 }, "end": { "line": 299, "column": 64 } } }, { "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": 7658, "end": 7663, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigitsNoTrailingDecimal", "start": 7664, "end": 7694, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7695, "end": 7696, "loc": { "start": { "line": 300, "column": 45 }, "end": { "line": 300, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigitsRounded", "start": 7697, "end": 7717, "loc": { "start": { "line": 300, "column": 47 }, "end": { "line": 300, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7731, "end": 7732, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 7732, "end": 7740, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7740, "end": 7741, "loc": { "start": { "line": 301, "column": 21 }, "end": { "line": 301, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7741, "end": 7742, "loc": { "start": { "line": 301, "column": 22 }, "end": { "line": 301, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7756, "end": 7757, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 7757, "end": 7764, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7764, "end": 7765, "loc": { "start": { "line": 302, "column": 20 }, "end": { "line": 302, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".0", "start": 7765, "end": 7769, "loc": { "start": { "line": 302, "column": 21 }, "end": { "line": 302, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7769, "end": 7770, "loc": { "start": { "line": 302, "column": 25 }, "end": { "line": 302, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 7771, "end": 7773, "loc": { "start": { "line": 302, "column": 27 }, "end": { "line": 302, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7773, "end": 7774, "loc": { "start": { "line": 302, "column": 29 }, "end": { "line": 302, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7788, "end": 7789, "loc": { "start": { "line": 303, "column": 12 }, "end": { "line": 303, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 7789, "end": 7796, "loc": { "start": { "line": 303, "column": 13 }, "end": { "line": 303, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7796, "end": 7797, "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 7797, "end": 7800, "loc": { "start": { "line": 303, "column": 21 }, "end": { "line": 303, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7800, "end": 7801, "loc": { "start": { "line": 303, "column": 24 }, "end": { "line": 303, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 7802, "end": 7811, "loc": { "start": { "line": 303, "column": 26 }, "end": { "line": 303, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7811, "end": 7812, "loc": { "start": { "line": 303, "column": 35 }, "end": { "line": 303, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7812, "end": 7813, "loc": { "start": { "line": 303, "column": 36 }, "end": { "line": 303, "column": 37 } } }, { "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": 7823, "end": 7829, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sign", "start": 7830, "end": 7834, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7835, "end": 7836, "loc": { "start": { "line": 304, "column": 20 }, "end": { "line": 304, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leadingDigitsNoTrailingDecimal", "start": 7837, "end": 7867, "loc": { "start": { "line": 304, "column": 22 }, "end": { "line": 304, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7868, "end": 7869, "loc": { "start": { "line": 304, "column": 53 }, "end": { "line": 304, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "suffix", "start": 7870, "end": 7876, "loc": { "start": { "line": 304, "column": 55 }, "end": { "line": 304, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7876, "end": 7877, "loc": { "start": { "line": 304, "column": 61 }, "end": { "line": 304, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7883, "end": 7884, "loc": { "start": { "line": 305, "column": 4 }, "end": { "line": 305, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7886, "end": 7887, "loc": { "start": { "line": 306, "column": 0 }, "end": { "line": 306, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a big number, but does not add any suffix and instead uses its full representation\r\n * @param {number} num\r\n * @param {string=} divider The divider for numbers like 50,000 (divider=',')\r\n * @returns {string}\r\n ", "start": 7891, "end": 8119, "loc": { "start": { "line": 308, "column": 0 }, "end": { "line": 313, "column": 3 } } }, { "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": 8121, "end": 8127, "loc": { "start": { "line": 314, "column": 0 }, "end": { "line": 314, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8128, "end": 8136, "loc": { "start": { "line": 314, "column": 7 }, "end": { "line": 314, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatBigNumberFull", "start": 8137, "end": 8156, "loc": { "start": { "line": 314, "column": 16 }, "end": { "line": 314, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8156, "end": 8157, "loc": { "start": { "line": 314, "column": 35 }, "end": { "line": 314, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 8157, "end": 8160, "loc": { "start": { "line": 314, "column": 36 }, "end": { "line": 314, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8160, "end": 8161, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divider", "start": 8162, "end": 8169, "loc": { "start": { "line": 314, "column": 41 }, "end": { "line": 314, "column": 48 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8170, "end": 8171, "loc": { "start": { "line": 314, "column": 49 }, "end": { "line": 314, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 8172, "end": 8173, "loc": { "start": { "line": 314, "column": 51 }, "end": { "line": 314, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8173, "end": 8174, "loc": { "start": { "line": 314, "column": 52 }, "end": { "line": 314, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 8174, "end": 8180, "loc": { "start": { "line": 314, "column": 53 }, "end": { "line": 314, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8180, "end": 8181, "loc": { "start": { "line": 314, "column": 59 }, "end": { "line": 314, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousandsDivider", "start": 8181, "end": 8197, "loc": { "start": { "line": 314, "column": 60 }, "end": { "line": 314, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8197, "end": 8198, "loc": { "start": { "line": 314, "column": 76 }, "end": { "line": 314, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8199, "end": 8200, "loc": { "start": { "line": 314, "column": 78 }, "end": { "line": 314, "column": 79 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8206, "end": 8208, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 315, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8209, "end": 8210, "loc": { "start": { "line": 315, "column": 7 }, "end": { "line": 315, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 8210, "end": 8213, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8214, "end": 8215, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 8216, "end": 8220, "loc": { "start": { "line": 315, "column": 14 }, "end": { "line": 315, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8220, "end": 8221, "loc": { "start": { "line": 315, "column": 18 }, "end": { "line": 315, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8222, "end": 8223, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 315, "column": 21 } } }, { "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": 8233, "end": 8239, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 8240, "end": 8243, "loc": { "start": { "line": 316, "column": 15 }, "end": { "line": 316, "column": 18 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8244, "end": 8245, "loc": { "start": { "line": 316, "column": 19 }, "end": { "line": 316, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 8246, "end": 8248, "loc": { "start": { "line": 316, "column": 21 }, "end": { "line": 316, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8248, "end": 8249, "loc": { "start": { "line": 316, "column": 23 }, "end": { "line": 316, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8255, "end": 8256, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8262, "end": 8264, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8265, "end": 8266, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 8266, "end": 8269, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 11 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 8270, "end": 8271, "loc": { "start": { "line": 318, "column": 12 }, "end": { "line": 318, "column": 13 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1e+54, "start": 8272, "end": 8276, "loc": { "start": { "line": 318, "column": 14 }, "end": { "line": 318, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8276, "end": 8277, "loc": { "start": { "line": 318, "column": 18 }, "end": { "line": 318, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8278, "end": 8279, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 21 } } }, { "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": 8289, "end": 8295, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 8296, "end": 8297, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8297, "end": 8298, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 8298, "end": 8304, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8304, "end": 8305, "loc": { "start": { "line": 319, "column": 23 }, "end": { "line": 319, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "infinite", "start": 8305, "end": 8313, "loc": { "start": { "line": 319, "column": 24 }, "end": { "line": 319, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8313, "end": 8314, "loc": { "start": { "line": 319, "column": 32 }, "end": { "line": 319, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8320, "end": 8321, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 320, "column": 5 } } }, { "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": 8327, "end": 8330, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8331, "end": 8335, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8336, "end": 8337, "loc": { "start": { "line": 321, "column": 13 }, "end": { "line": 321, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "num", "start": 8338, "end": 8341, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8341, "end": 8342, "loc": { "start": { "line": 321, "column": 18 }, "end": { "line": 321, "column": 19 } } }, { "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": 8348, "end": 8351, "loc": { "start": { "line": 322, "column": 4 }, "end": { "line": 322, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8352, "end": 8355, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8356, "end": 8357, "loc": { "start": { "line": 322, "column": 12 }, "end": { "line": 322, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 8358, "end": 8360, "loc": { "start": { "line": 322, "column": 14 }, "end": { "line": 322, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8360, "end": 8361, "loc": { "start": { "line": 322, "column": 16 }, "end": { "line": 322, "column": 17 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 8367, "end": 8372, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 323, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8373, "end": 8374, "loc": { "start": { "line": 323, "column": 10 }, "end": { "line": 323, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8374, "end": 8378, "loc": { "start": { "line": 323, "column": 11 }, "end": { "line": 323, "column": 15 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 8379, "end": 8381, "loc": { "start": { "line": 323, "column": 16 }, "end": { "line": 323, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 8382, "end": 8386, "loc": { "start": { "line": 323, "column": 19 }, "end": { "line": 323, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8386, "end": 8387, "loc": { "start": { "line": 323, "column": 23 }, "end": { "line": 323, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8388, "end": 8389, "loc": { "start": { "line": 323, "column": 25 }, "end": { "line": 323, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8399, "end": 8402, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8403, "end": 8404, "loc": { "start": { "line": 324, "column": 12 }, "end": { "line": 324, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8405, "end": 8406, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8406, "end": 8410, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 19 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 8411, "end": 8412, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 8413, "end": 8417, "loc": { "start": { "line": 324, "column": 22 }, "end": { "line": 324, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8417, "end": 8418, "loc": { "start": { "line": 324, "column": 26 }, "end": { "line": 324, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8418, "end": 8419, "loc": { "start": { "line": 324, "column": 27 }, "end": { "line": 324, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 8419, "end": 8427, "loc": { "start": { "line": 324, "column": 28 }, "end": { "line": 324, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8427, "end": 8428, "loc": { "start": { "line": 324, "column": 36 }, "end": { "line": 324, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8428, "end": 8429, "loc": { "start": { "line": 324, "column": 37 }, "end": { "line": 324, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8429, "end": 8430, "loc": { "start": { "line": 324, "column": 38 }, "end": { "line": 324, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padStart", "start": 8430, "end": 8438, "loc": { "start": { "line": 324, "column": 39 }, "end": { "line": 324, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8438, "end": 8439, "loc": { "start": { "line": 324, "column": 47 }, "end": { "line": 324, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 8439, "end": 8440, "loc": { "start": { "line": 324, "column": 48 }, "end": { "line": 324, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8440, "end": 8441, "loc": { "start": { "line": 324, "column": 49 }, "end": { "line": 324, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "0", "start": 8442, "end": 8445, "loc": { "start": { "line": 324, "column": 51 }, "end": { "line": 324, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8445, "end": 8446, "loc": { "start": { "line": 324, "column": 54 }, "end": { "line": 324, "column": 55 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8447, "end": 8448, "loc": { "start": { "line": 324, "column": 56 }, "end": { "line": 324, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divider", "start": 8449, "end": 8456, "loc": { "start": { "line": 324, "column": 58 }, "end": { "line": 324, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8457, "end": 8458, "loc": { "start": { "line": 324, "column": 66 }, "end": { "line": 324, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8459, "end": 8462, "loc": { "start": { "line": 324, "column": 68 }, "end": { "line": 324, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8462, "end": 8463, "loc": { "start": { "line": 324, "column": 71 }, "end": { "line": 324, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8473, "end": 8477, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8478, "end": 8479, "loc": { "start": { "line": 325, "column": 13 }, "end": { "line": 325, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 8480, "end": 8484, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8484, "end": 8485, "loc": { "start": { "line": 325, "column": 19 }, "end": { "line": 325, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 8485, "end": 8490, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8490, "end": 8491, "loc": { "start": { "line": 325, "column": 25 }, "end": { "line": 325, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8491, "end": 8495, "loc": { "start": { "line": 325, "column": 26 }, "end": { "line": 325, "column": 30 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 8496, "end": 8497, "loc": { "start": { "line": 325, "column": 31 }, "end": { "line": 325, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 8498, "end": 8502, "loc": { "start": { "line": 325, "column": 33 }, "end": { "line": 325, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8502, "end": 8503, "loc": { "start": { "line": 325, "column": 37 }, "end": { "line": 325, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8503, "end": 8504, "loc": { "start": { "line": 325, "column": 38 }, "end": { "line": 325, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8510, "end": 8511, "loc": { "start": { "line": 326, "column": 4 }, "end": { "line": 326, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8517, "end": 8520, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 7 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8521, "end": 8522, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 327, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rest", "start": 8523, "end": 8527, "loc": { "start": { "line": 327, "column": 10 }, "end": { "line": 327, "column": 14 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8528, "end": 8529, "loc": { "start": { "line": 327, "column": 15 }, "end": { "line": 327, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divider", "start": 8530, "end": 8537, "loc": { "start": { "line": 327, "column": 17 }, "end": { "line": 327, "column": 24 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8538, "end": 8539, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 327, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8540, "end": 8543, "loc": { "start": { "line": 327, "column": 27 }, "end": { "line": 327, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8543, "end": 8544, "loc": { "start": { "line": 327, "column": 30 }, "end": { "line": 327, "column": 31 } } }, { "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": 8552, "end": 8558, "loc": { "start": { "line": 329, "column": 4 }, "end": { "line": 329, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8559, "end": 8562, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8562, "end": 8563, "loc": { "start": { "line": 329, "column": 14 }, "end": { "line": 329, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 8563, "end": 8572, "loc": { "start": { "line": 329, "column": 15 }, "end": { "line": 329, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8572, "end": 8573, "loc": { "start": { "line": 329, "column": 24 }, "end": { "line": 329, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8573, "end": 8574, "loc": { "start": { "line": 329, "column": 25 }, "end": { "line": 329, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8574, "end": 8575, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "out", "start": 8576, "end": 8579, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8579, "end": 8580, "loc": { "start": { "line": 329, "column": 31 }, "end": { "line": 329, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8580, "end": 8586, "loc": { "start": { "line": 329, "column": 32 }, "end": { "line": 329, "column": 38 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 8587, "end": 8588, "loc": { "start": { "line": 329, "column": 39 }, "end": { "line": 329, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 8589, "end": 8590, "loc": { "start": { "line": 329, "column": 41 }, "end": { "line": 329, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8590, "end": 8591, "loc": { "start": { "line": 329, "column": 42 }, "end": { "line": 329, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8591, "end": 8592, "loc": { "start": { "line": 329, "column": 43 }, "end": { "line": 329, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8594, "end": 8595, "loc": { "start": { "line": 330, "column": 0 }, "end": { "line": 330, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Waits two frames so the ui is updated\r\n * @returns {Promise}\r\n ", "start": 8599, "end": 8678, "loc": { "start": { "line": 332, "column": 0 }, "end": { "line": 335, "column": 3 } } }, { "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": 8680, "end": 8686, "loc": { "start": { "line": 336, "column": 0 }, "end": { "line": 336, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8687, "end": 8695, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waitNextFrame", "start": 8696, "end": 8709, "loc": { "start": { "line": 336, "column": 16 }, "end": { "line": 336, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8709, "end": 8710, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8710, "end": 8711, "loc": { "start": { "line": 336, "column": 30 }, "end": { "line": 336, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8712, "end": 8713, "loc": { "start": { "line": 336, "column": 32 }, "end": { "line": 336, "column": 33 } } }, { "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": 8719, "end": 8725, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 10 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 8726, "end": 8729, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 8730, "end": 8737, "loc": { "start": { "line": 337, "column": 15 }, "end": { "line": 337, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8737, "end": 8738, "loc": { "start": { "line": 337, "column": 22 }, "end": { "line": 337, "column": 23 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8738, "end": 8746, "loc": { "start": { "line": 337, "column": 23 }, "end": { "line": 337, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8746, "end": 8747, "loc": { "start": { "line": 337, "column": 31 }, "end": { "line": 337, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 8747, "end": 8754, "loc": { "start": { "line": 337, "column": 32 }, "end": { "line": 337, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8754, "end": 8755, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8756, "end": 8757, "loc": { "start": { "line": 337, "column": 41 }, "end": { "line": 337, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 8767, "end": 8773, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8773, "end": 8774, "loc": { "start": { "line": 338, "column": 14 }, "end": { "line": 338, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestAnimationFrame", "start": 8774, "end": 8795, "loc": { "start": { "line": 338, "column": 15 }, "end": { "line": 338, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8795, "end": 8796, "loc": { "start": { "line": 338, "column": 36 }, "end": { "line": 338, "column": 37 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8796, "end": 8804, "loc": { "start": { "line": 338, "column": 37 }, "end": { "line": 338, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8804, "end": 8805, "loc": { "start": { "line": 338, "column": 45 }, "end": { "line": 338, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8805, "end": 8806, "loc": { "start": { "line": 338, "column": 46 }, "end": { "line": 338, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8807, "end": 8808, "loc": { "start": { "line": 338, "column": 48 }, "end": { "line": 338, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 8822, "end": 8828, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8828, "end": 8829, "loc": { "start": { "line": 339, "column": 18 }, "end": { "line": 339, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestAnimationFrame", "start": 8829, "end": 8850, "loc": { "start": { "line": 339, "column": 19 }, "end": { "line": 339, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8850, "end": 8851, "loc": { "start": { "line": 339, "column": 40 }, "end": { "line": 339, "column": 41 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 8851, "end": 8859, "loc": { "start": { "line": 339, "column": 41 }, "end": { "line": 339, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8859, "end": 8860, "loc": { "start": { "line": 339, "column": 49 }, "end": { "line": 339, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8860, "end": 8861, "loc": { "start": { "line": 339, "column": 50 }, "end": { "line": 339, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8862, "end": 8863, "loc": { "start": { "line": 339, "column": 52 }, "end": { "line": 339, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 8881, "end": 8888, "loc": { "start": { "line": 340, "column": 16 }, "end": { "line": 340, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8888, "end": 8889, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8889, "end": 8890, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8890, "end": 8891, "loc": { "start": { "line": 340, "column": 25 }, "end": { "line": 340, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8905, "end": 8906, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8906, "end": 8907, "loc": { "start": { "line": 341, "column": 13 }, "end": { "line": 341, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8907, "end": 8908, "loc": { "start": { "line": 341, "column": 14 }, "end": { "line": 341, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8918, "end": 8919, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8919, "end": 8920, "loc": { "start": { "line": 342, "column": 9 }, "end": { "line": 342, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8920, "end": 8921, "loc": { "start": { "line": 342, "column": 10 }, "end": { "line": 342, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8927, "end": 8928, "loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 343, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8928, "end": 8929, "loc": { "start": { "line": 343, "column": 5 }, "end": { "line": 343, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8929, "end": 8930, "loc": { "start": { "line": 343, "column": 6 }, "end": { "line": 343, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8932, "end": 8933, "loc": { "start": { "line": 344, "column": 0 }, "end": { "line": 344, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 1 digit\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 8937, "end": 9008, "loc": { "start": { "line": 346, "column": 0 }, "end": { "line": 350, "column": 3 } } }, { "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": 9010, "end": 9016, "loc": { "start": { "line": 351, "column": 0 }, "end": { "line": 351, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9017, "end": 9025, "loc": { "start": { "line": 351, "column": 7 }, "end": { "line": 351, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round1Digit", "start": 9026, "end": 9037, "loc": { "start": { "line": 351, "column": 16 }, "end": { "line": 351, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9037, "end": 9038, "loc": { "start": { "line": 351, "column": 27 }, "end": { "line": 351, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9038, "end": 9039, "loc": { "start": { "line": 351, "column": 28 }, "end": { "line": 351, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9039, "end": 9040, "loc": { "start": { "line": 351, "column": 29 }, "end": { "line": 351, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9041, "end": 9042, "loc": { "start": { "line": 351, "column": 31 }, "end": { "line": 351, "column": 32 } } }, { "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": 9048, "end": 9054, "loc": { "start": { "line": 352, "column": 4 }, "end": { "line": 352, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9055, "end": 9059, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9059, "end": 9060, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 352, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 9060, "end": 9065, "loc": { "start": { "line": 352, "column": 16 }, "end": { "line": 352, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9065, "end": 9066, "loc": { "start": { "line": 352, "column": 21 }, "end": { "line": 352, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9066, "end": 9067, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 9068, "end": 9069, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 9070, "end": 9074, "loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 352, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9074, "end": 9075, "loc": { "start": { "line": 352, "column": 30 }, "end": { "line": 352, "column": 31 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 9076, "end": 9077, "loc": { "start": { "line": 352, "column": 32 }, "end": { "line": 352, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 9078, "end": 9082, "loc": { "start": { "line": 352, "column": 34 }, "end": { "line": 352, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9082, "end": 9083, "loc": { "start": { "line": 352, "column": 38 }, "end": { "line": 352, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9085, "end": 9086, "loc": { "start": { "line": 353, "column": 0 }, "end": { "line": 353, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 2 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9090, "end": 9162, "loc": { "start": { "line": 355, "column": 0 }, "end": { "line": 359, "column": 3 } } }, { "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": 9164, "end": 9170, "loc": { "start": { "line": 360, "column": 0 }, "end": { "line": 360, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9171, "end": 9179, "loc": { "start": { "line": 360, "column": 7 }, "end": { "line": 360, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round2Digits", "start": 9180, "end": 9192, "loc": { "start": { "line": 360, "column": 16 }, "end": { "line": 360, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9192, "end": 9193, "loc": { "start": { "line": 360, "column": 28 }, "end": { "line": 360, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9193, "end": 9194, "loc": { "start": { "line": 360, "column": 29 }, "end": { "line": 360, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9194, "end": 9195, "loc": { "start": { "line": 360, "column": 30 }, "end": { "line": 360, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9196, "end": 9197, "loc": { "start": { "line": 360, "column": 32 }, "end": { "line": 360, "column": 33 } } }, { "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": 9203, "end": 9209, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9210, "end": 9214, "loc": { "start": { "line": 361, "column": 11 }, "end": { "line": 361, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9214, "end": 9215, "loc": { "start": { "line": 361, "column": 15 }, "end": { "line": 361, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 9215, "end": 9220, "loc": { "start": { "line": 361, "column": 16 }, "end": { "line": 361, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9220, "end": 9221, "loc": { "start": { "line": 361, "column": 21 }, "end": { "line": 361, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9221, "end": 9222, "loc": { "start": { "line": 361, "column": 22 }, "end": { "line": 361, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 9223, "end": 9224, "loc": { "start": { "line": 361, "column": 24 }, "end": { "line": 361, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 9225, "end": 9230, "loc": { "start": { "line": 361, "column": 26 }, "end": { "line": 361, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9230, "end": 9231, "loc": { "start": { "line": 361, "column": 31 }, "end": { "line": 361, "column": 32 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 9232, "end": 9233, "loc": { "start": { "line": 361, "column": 33 }, "end": { "line": 361, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 9234, "end": 9239, "loc": { "start": { "line": 361, "column": 35 }, "end": { "line": 361, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9239, "end": 9240, "loc": { "start": { "line": 361, "column": 40 }, "end": { "line": 361, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9242, "end": 9243, "loc": { "start": { "line": 362, "column": 0 }, "end": { "line": 362, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 3 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9247, "end": 9319, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 368, "column": 3 } } }, { "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": 9321, "end": 9327, "loc": { "start": { "line": 369, "column": 0 }, "end": { "line": 369, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9328, "end": 9336, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round3Digits", "start": 9337, "end": 9349, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9349, "end": 9350, "loc": { "start": { "line": 369, "column": 28 }, "end": { "line": 369, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9350, "end": 9351, "loc": { "start": { "line": 369, "column": 29 }, "end": { "line": 369, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9351, "end": 9352, "loc": { "start": { "line": 369, "column": 30 }, "end": { "line": 369, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9353, "end": 9354, "loc": { "start": { "line": 369, "column": 32 }, "end": { "line": 369, "column": 33 } } }, { "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": 9360, "end": 9366, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 370, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9367, "end": 9371, "loc": { "start": { "line": 370, "column": 11 }, "end": { "line": 370, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9371, "end": 9372, "loc": { "start": { "line": 370, "column": 15 }, "end": { "line": 370, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 9372, "end": 9377, "loc": { "start": { "line": 370, "column": 16 }, "end": { "line": 370, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9377, "end": 9378, "loc": { "start": { "line": 370, "column": 21 }, "end": { "line": 370, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9378, "end": 9379, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 9380, "end": 9381, "loc": { "start": { "line": 370, "column": 24 }, "end": { "line": 370, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 9382, "end": 9388, "loc": { "start": { "line": 370, "column": 26 }, "end": { "line": 370, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9388, "end": 9389, "loc": { "start": { "line": 370, "column": 32 }, "end": { "line": 370, "column": 33 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 9390, "end": 9391, "loc": { "start": { "line": 370, "column": 34 }, "end": { "line": 370, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 9392, "end": 9398, "loc": { "start": { "line": 370, "column": 36 }, "end": { "line": 370, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9398, "end": 9399, "loc": { "start": { "line": 370, "column": 42 }, "end": { "line": 370, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9401, "end": 9402, "loc": { "start": { "line": 371, "column": 0 }, "end": { "line": 371, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Rounds 4 digits\r\n * @param {number} n\r\n * @returns {number}\r\n ", "start": 9406, "end": 9478, "loc": { "start": { "line": 373, "column": 0 }, "end": { "line": 377, "column": 3 } } }, { "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": 9480, "end": 9486, "loc": { "start": { "line": 378, "column": 0 }, "end": { "line": 378, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9487, "end": 9495, "loc": { "start": { "line": 378, "column": 7 }, "end": { "line": 378, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round4Digits", "start": 9496, "end": 9508, "loc": { "start": { "line": 378, "column": 16 }, "end": { "line": 378, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9508, "end": 9509, "loc": { "start": { "line": 378, "column": 28 }, "end": { "line": 378, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9509, "end": 9510, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9510, "end": 9511, "loc": { "start": { "line": 378, "column": 30 }, "end": { "line": 378, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9512, "end": 9513, "loc": { "start": { "line": 378, "column": 32 }, "end": { "line": 378, "column": 33 } } }, { "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": 9519, "end": 9525, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 379, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9526, "end": 9530, "loc": { "start": { "line": 379, "column": 11 }, "end": { "line": 379, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9530, "end": 9531, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 9531, "end": 9536, "loc": { "start": { "line": 379, "column": 16 }, "end": { "line": 379, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9536, "end": 9537, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 379, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 9537, "end": 9538, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 23 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 9539, "end": 9540, "loc": { "start": { "line": 379, "column": 24 }, "end": { "line": 379, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10000, "start": 9541, "end": 9548, "loc": { "start": { "line": 379, "column": 26 }, "end": { "line": 379, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9548, "end": 9549, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 379, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 9550, "end": 9551, "loc": { "start": { "line": 379, "column": 35 }, "end": { "line": 379, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10000, "start": 9552, "end": 9559, "loc": { "start": { "line": 379, "column": 37 }, "end": { "line": 379, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9559, "end": 9560, "loc": { "start": { "line": 379, "column": 44 }, "end": { "line": 379, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9562, "end": 9563, "loc": { "start": { "line": 380, "column": 0 }, "end": { "line": 380, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Clamps a value between [min, max]\r\n * @param {number} v\r\n * @param {number=} minimum Default 0\r\n * @param {number=} maximum Default 1\r\n ", "start": 9567, "end": 9713, "loc": { "start": { "line": 382, "column": 0 }, "end": { "line": 387, "column": 3 } } }, { "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": 9715, "end": 9721, "loc": { "start": { "line": 388, "column": 0 }, "end": { "line": 388, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9722, "end": 9730, "loc": { "start": { "line": 388, "column": 7 }, "end": { "line": 388, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 9731, "end": 9736, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9736, "end": 9737, "loc": { "start": { "line": 388, "column": 21 }, "end": { "line": 388, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "v", "start": 9737, "end": 9738, "loc": { "start": { "line": 388, "column": 22 }, "end": { "line": 388, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9738, "end": 9739, "loc": { "start": { "line": 388, "column": 23 }, "end": { "line": 388, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimum", "start": 9740, "end": 9747, "loc": { "start": { "line": 388, "column": 25 }, "end": { "line": 388, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9748, "end": 9749, "loc": { "start": { "line": 388, "column": 33 }, "end": { "line": 388, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9750, "end": 9751, "loc": { "start": { "line": 388, "column": 35 }, "end": { "line": 388, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9751, "end": 9752, "loc": { "start": { "line": 388, "column": 36 }, "end": { "line": 388, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maximum", "start": 9753, "end": 9760, "loc": { "start": { "line": 388, "column": 38 }, "end": { "line": 388, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9761, "end": 9762, "loc": { "start": { "line": 388, "column": 46 }, "end": { "line": 388, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 9763, "end": 9764, "loc": { "start": { "line": 388, "column": 48 }, "end": { "line": 388, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9764, "end": 9765, "loc": { "start": { "line": 388, "column": 49 }, "end": { "line": 388, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9766, "end": 9767, "loc": { "start": { "line": 388, "column": 51 }, "end": { "line": 388, "column": 52 } } }, { "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": 9773, "end": 9779, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9780, "end": 9784, "loc": { "start": { "line": 389, "column": 11 }, "end": { "line": 389, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9784, "end": 9785, "loc": { "start": { "line": 389, "column": 15 }, "end": { "line": 389, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 9785, "end": 9788, "loc": { "start": { "line": 389, "column": 16 }, "end": { "line": 389, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9788, "end": 9789, "loc": { "start": { "line": 389, "column": 19 }, "end": { "line": 389, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimum", "start": 9789, "end": 9796, "loc": { "start": { "line": 389, "column": 20 }, "end": { "line": 389, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9796, "end": 9797, "loc": { "start": { "line": 389, "column": 27 }, "end": { "line": 389, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 9798, "end": 9802, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9802, "end": 9803, "loc": { "start": { "line": 389, "column": 33 }, "end": { "line": 389, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 9803, "end": 9806, "loc": { "start": { "line": 389, "column": 34 }, "end": { "line": 389, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9806, "end": 9807, "loc": { "start": { "line": 389, "column": 37 }, "end": { "line": 389, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maximum", "start": 9807, "end": 9814, "loc": { "start": { "line": 389, "column": 38 }, "end": { "line": 389, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9814, "end": 9815, "loc": { "start": { "line": 389, "column": 45 }, "end": { "line": 389, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "v", "start": 9816, "end": 9817, "loc": { "start": { "line": 389, "column": 47 }, "end": { "line": 389, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9817, "end": 9818, "loc": { "start": { "line": 389, "column": 48 }, "end": { "line": 389, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9818, "end": 9819, "loc": { "start": { "line": 389, "column": 49 }, "end": { "line": 389, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9819, "end": 9820, "loc": { "start": { "line": 389, "column": 50 }, "end": { "line": 389, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9822, "end": 9823, "loc": { "start": { "line": 390, "column": 0 }, "end": { "line": 390, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div element\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 9827, "end": 9972, "loc": { "start": { "line": 392, "column": 0 }, "end": { "line": 397, "column": 3 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 9974, "end": 9982, "loc": { "start": { "line": 398, "column": 0 }, "end": { "line": 398, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDivElement", "start": 9983, "end": 9997, "loc": { "start": { "line": 398, "column": 9 }, "end": { "line": 398, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9997, "end": 9998, "loc": { "start": { "line": 398, "column": 23 }, "end": { "line": 398, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 9998, "end": 10000, "loc": { "start": { "line": 398, "column": 24 }, "end": { "line": 398, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10001, "end": 10002, "loc": { "start": { "line": 398, "column": 27 }, "end": { "line": 398, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 10003, "end": 10007, "loc": { "start": { "line": 398, "column": 29 }, "end": { "line": 398, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10007, "end": 10008, "loc": { "start": { "line": 398, "column": 33 }, "end": { "line": 398, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10009, "end": 10016, "loc": { "start": { "line": 398, "column": 35 }, "end": { "line": 398, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10017, "end": 10018, "loc": { "start": { "line": 398, "column": 43 }, "end": { "line": 398, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10019, "end": 10020, "loc": { "start": { "line": 398, "column": 45 }, "end": { "line": 398, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10020, "end": 10021, "loc": { "start": { "line": 398, "column": 46 }, "end": { "line": 398, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10021, "end": 10022, "loc": { "start": { "line": 398, "column": 47 }, "end": { "line": 398, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10023, "end": 10032, "loc": { "start": { "line": 398, "column": 49 }, "end": { "line": 398, "column": 58 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10033, "end": 10034, "loc": { "start": { "line": 398, "column": 59 }, "end": { "line": 398, "column": 60 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10035, "end": 10037, "loc": { "start": { "line": 398, "column": 61 }, "end": { "line": 398, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10037, "end": 10038, "loc": { "start": { "line": 398, "column": 63 }, "end": { "line": 398, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10039, "end": 10040, "loc": { "start": { "line": 398, "column": 65 }, "end": { "line": 398, "column": 66 } } }, { "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": 10046, "end": 10051, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10052, "end": 10055, "loc": { "start": { "line": 399, "column": 10 }, "end": { "line": 399, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10056, "end": 10057, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 10058, "end": 10066, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 399, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10066, "end": 10067, "loc": { "start": { "line": 399, "column": 24 }, "end": { "line": 399, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 10067, "end": 10080, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10080, "end": 10081, "loc": { "start": { "line": 399, "column": 38 }, "end": { "line": 399, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "div", "start": 10081, "end": 10086, "loc": { "start": { "line": 399, "column": 39 }, "end": { "line": 399, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10086, "end": 10087, "loc": { "start": { "line": 399, "column": 44 }, "end": { "line": 399, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10087, "end": 10088, "loc": { "start": { "line": 399, "column": 45 }, "end": { "line": 399, "column": 46 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10094, "end": 10096, "loc": { "start": { "line": 400, "column": 4 }, "end": { "line": 400, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10097, "end": 10098, "loc": { "start": { "line": 400, "column": 7 }, "end": { "line": 400, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 10098, "end": 10100, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10100, "end": 10101, "loc": { "start": { "line": 400, "column": 10 }, "end": { "line": 400, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10102, "end": 10103, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10113, "end": 10116, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10116, "end": 10117, "loc": { "start": { "line": 401, "column": 11 }, "end": { "line": 401, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 10117, "end": 10119, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10120, "end": 10121, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 10122, "end": 10124, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10124, "end": 10125, "loc": { "start": { "line": 401, "column": 19 }, "end": { "line": 401, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10131, "end": 10132, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 5 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 10138, "end": 10141, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10142, "end": 10143, "loc": { "start": { "line": 403, "column": 8 }, "end": { "line": 403, "column": 9 } } }, { "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": 10143, "end": 10146, "loc": { "start": { "line": 403, "column": 9 }, "end": { "line": 403, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10147, "end": 10148, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10149, "end": 10150, "loc": { "start": { "line": 403, "column": 15 }, "end": { "line": 403, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10151, "end": 10152, "loc": { "start": { "line": 403, "column": 17 }, "end": { "line": 403, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10152, "end": 10153, "loc": { "start": { "line": 403, "column": 18 }, "end": { "line": 403, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10154, "end": 10155, "loc": { "start": { "line": 403, "column": 20 }, "end": { "line": 403, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10156, "end": 10157, "loc": { "start": { "line": 403, "column": 22 }, "end": { "line": 403, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10158, "end": 10165, "loc": { "start": { "line": 403, "column": 24 }, "end": { "line": 403, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10165, "end": 10166, "loc": { "start": { "line": 403, "column": 31 }, "end": { "line": 403, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10166, "end": 10172, "loc": { "start": { "line": 403, "column": 32 }, "end": { "line": 403, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10172, "end": 10173, "loc": { "start": { "line": 403, "column": 38 }, "end": { "line": 403, "column": 39 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10174, "end": 10176, "loc": { "start": { "line": 403, "column": 40 }, "end": { "line": 403, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10176, "end": 10177, "loc": { "start": { "line": 403, "column": 42 }, "end": { "line": 403, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10177, "end": 10178, "loc": { "start": { "line": 403, "column": 43 }, "end": { "line": 403, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10179, "end": 10180, "loc": { "start": { "line": 403, "column": 45 }, "end": { "line": 403, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10190, "end": 10193, "loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10193, "end": 10194, "loc": { "start": { "line": 404, "column": 11 }, "end": { "line": 404, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 10194, "end": 10203, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10203, "end": 10204, "loc": { "start": { "line": 404, "column": 21 }, "end": { "line": 404, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 10204, "end": 10207, "loc": { "start": { "line": 404, "column": 22 }, "end": { "line": 404, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10207, "end": 10208, "loc": { "start": { "line": 404, "column": 25 }, "end": { "line": 404, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10208, "end": 10215, "loc": { "start": { "line": 404, "column": 26 }, "end": { "line": 404, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10215, "end": 10216, "loc": { "start": { "line": 404, "column": 33 }, "end": { "line": 404, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10216, "end": 10217, "loc": { "start": { "line": 404, "column": 34 }, "end": { "line": 404, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10217, "end": 10218, "loc": { "start": { "line": 404, "column": 35 }, "end": { "line": 404, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10218, "end": 10219, "loc": { "start": { "line": 404, "column": 36 }, "end": { "line": 404, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10219, "end": 10220, "loc": { "start": { "line": 404, "column": 37 }, "end": { "line": 404, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10226, "end": 10227, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 405, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10233, "end": 10236, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10236, "end": 10237, "loc": { "start": { "line": 406, "column": 7 }, "end": { "line": 406, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10237, "end": 10246, "loc": { "start": { "line": 406, "column": 8 }, "end": { "line": 406, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10247, "end": 10248, "loc": { "start": { "line": 406, "column": 18 }, "end": { "line": 406, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10249, "end": 10258, "loc": { "start": { "line": 406, "column": 20 }, "end": { "line": 406, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10258, "end": 10259, "loc": { "start": { "line": 406, "column": 29 }, "end": { "line": 406, "column": 30 } } }, { "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": 10265, "end": 10271, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10272, "end": 10275, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10275, "end": 10276, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10278, "end": 10279, "loc": { "start": { "line": 408, "column": 0 }, "end": { "line": 408, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new div\r\n * @param {Element} parent\r\n * @param {string=} id\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10283, "end": 10448, "loc": { "start": { "line": 410, "column": 0 }, "end": { "line": 416, "column": 3 } } }, { "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": 10450, "end": 10456, "loc": { "start": { "line": 417, "column": 0 }, "end": { "line": 417, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 10457, "end": 10465, "loc": { "start": { "line": 417, "column": 7 }, "end": { "line": 417, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 10466, "end": 10473, "loc": { "start": { "line": 417, "column": 16 }, "end": { "line": 417, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10473, "end": 10474, "loc": { "start": { "line": 417, "column": 23 }, "end": { "line": 417, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 10474, "end": 10480, "loc": { "start": { "line": 417, "column": 24 }, "end": { "line": 417, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10480, "end": 10481, "loc": { "start": { "line": 417, "column": 30 }, "end": { "line": 417, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 10482, "end": 10484, "loc": { "start": { "line": 417, "column": 32 }, "end": { "line": 417, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10485, "end": 10486, "loc": { "start": { "line": 417, "column": 35 }, "end": { "line": 417, "column": 36 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 10487, "end": 10491, "loc": { "start": { "line": 417, "column": 37 }, "end": { "line": 417, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10491, "end": 10492, "loc": { "start": { "line": 417, "column": 41 }, "end": { "line": 417, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10493, "end": 10500, "loc": { "start": { "line": 417, "column": 43 }, "end": { "line": 417, "column": 50 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10501, "end": 10502, "loc": { "start": { "line": 417, "column": 51 }, "end": { "line": 417, "column": 52 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10503, "end": 10504, "loc": { "start": { "line": 417, "column": 53 }, "end": { "line": 417, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10504, "end": 10505, "loc": { "start": { "line": 417, "column": 54 }, "end": { "line": 417, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10505, "end": 10506, "loc": { "start": { "line": 417, "column": 55 }, "end": { "line": 417, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10507, "end": 10516, "loc": { "start": { "line": 417, "column": 57 }, "end": { "line": 417, "column": 66 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10517, "end": 10518, "loc": { "start": { "line": 417, "column": 67 }, "end": { "line": 417, "column": 68 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10519, "end": 10521, "loc": { "start": { "line": 417, "column": 69 }, "end": { "line": 417, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10521, "end": 10522, "loc": { "start": { "line": 417, "column": 71 }, "end": { "line": 417, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10523, "end": 10524, "loc": { "start": { "line": 417, "column": 73 }, "end": { "line": 417, "column": 74 } } }, { "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": 10530, "end": 10535, "loc": { "start": { "line": 418, "column": 4 }, "end": { "line": 418, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10536, "end": 10539, "loc": { "start": { "line": 418, "column": 10 }, "end": { "line": 418, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10540, "end": 10541, "loc": { "start": { "line": 418, "column": 14 }, "end": { "line": 418, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDivElement", "start": 10542, "end": 10556, "loc": { "start": { "line": 418, "column": 16 }, "end": { "line": 418, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10556, "end": 10557, "loc": { "start": { "line": 418, "column": 30 }, "end": { "line": 418, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 10557, "end": 10559, "loc": { "start": { "line": 418, "column": 31 }, "end": { "line": 418, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10559, "end": 10560, "loc": { "start": { "line": 418, "column": 33 }, "end": { "line": 418, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10561, "end": 10568, "loc": { "start": { "line": 418, "column": 35 }, "end": { "line": 418, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10568, "end": 10569, "loc": { "start": { "line": 418, "column": 42 }, "end": { "line": 418, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10570, "end": 10579, "loc": { "start": { "line": 418, "column": 44 }, "end": { "line": 418, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10579, "end": 10580, "loc": { "start": { "line": 418, "column": 53 }, "end": { "line": 418, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10580, "end": 10581, "loc": { "start": { "line": 418, "column": 54 }, "end": { "line": 418, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 10587, "end": 10593, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10593, "end": 10594, "loc": { "start": { "line": 419, "column": 10 }, "end": { "line": 419, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 10594, "end": 10605, "loc": { "start": { "line": 419, "column": 11 }, "end": { "line": 419, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10605, "end": 10606, "loc": { "start": { "line": 419, "column": 22 }, "end": { "line": 419, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10606, "end": 10609, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10609, "end": 10610, "loc": { "start": { "line": 419, "column": 26 }, "end": { "line": 419, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10610, "end": 10611, "loc": { "start": { "line": 419, "column": 27 }, "end": { "line": 419, "column": 28 } } }, { "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": 10617, "end": 10623, "loc": { "start": { "line": 420, "column": 4 }, "end": { "line": 420, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "div", "start": 10624, "end": 10627, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10627, "end": 10628, "loc": { "start": { "line": 420, "column": 14 }, "end": { "line": 420, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10630, "end": 10631, "loc": { "start": { "line": 421, "column": 0 }, "end": { "line": 421, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button element\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 10635, "end": 10759, "loc": { "start": { "line": 423, "column": 0 }, "end": { "line": 427, "column": 3 } } }, { "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": 10761, "end": 10767, "loc": { "start": { "line": 428, "column": 0 }, "end": { "line": 428, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 10768, "end": 10776, "loc": { "start": { "line": 428, "column": 7 }, "end": { "line": 428, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeButtonElement", "start": 10777, "end": 10794, "loc": { "start": { "line": 428, "column": 16 }, "end": { "line": 428, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10794, "end": 10795, "loc": { "start": { "line": 428, "column": 33 }, "end": { "line": 428, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10795, "end": 10802, "loc": { "start": { "line": 428, "column": 34 }, "end": { "line": 428, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10803, "end": 10804, "loc": { "start": { "line": 428, "column": 42 }, "end": { "line": 428, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10805, "end": 10806, "loc": { "start": { "line": 428, "column": 44 }, "end": { "line": 428, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10806, "end": 10807, "loc": { "start": { "line": 428, "column": 45 }, "end": { "line": 428, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10807, "end": 10808, "loc": { "start": { "line": 428, "column": 46 }, "end": { "line": 428, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 10809, "end": 10818, "loc": { "start": { "line": 428, "column": 48 }, "end": { "line": 428, "column": 57 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10819, "end": 10820, "loc": { "start": { "line": 428, "column": 58 }, "end": { "line": 428, "column": 59 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10821, "end": 10823, "loc": { "start": { "line": 428, "column": 60 }, "end": { "line": 428, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10823, "end": 10824, "loc": { "start": { "line": 428, "column": 62 }, "end": { "line": 428, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10825, "end": 10826, "loc": { "start": { "line": 428, "column": 64 }, "end": { "line": 428, "column": 65 } } }, { "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": 10832, "end": 10837, "loc": { "start": { "line": 429, "column": 4 }, "end": { "line": 429, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 10838, "end": 10845, "loc": { "start": { "line": 429, "column": 10 }, "end": { "line": 429, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10846, "end": 10847, "loc": { "start": { "line": 429, "column": 18 }, "end": { "line": 429, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 10848, "end": 10856, "loc": { "start": { "line": 429, "column": 20 }, "end": { "line": 429, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10856, "end": 10857, "loc": { "start": { "line": 429, "column": 28 }, "end": { "line": 429, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 10857, "end": 10870, "loc": { "start": { "line": 429, "column": 29 }, "end": { "line": 429, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10870, "end": 10871, "loc": { "start": { "line": 429, "column": 42 }, "end": { "line": 429, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "button", "start": 10871, "end": 10879, "loc": { "start": { "line": 429, "column": 43 }, "end": { "line": 429, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10879, "end": 10880, "loc": { "start": { "line": 429, "column": 51 }, "end": { "line": 429, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10880, "end": 10881, "loc": { "start": { "line": 429, "column": 52 }, "end": { "line": 429, "column": 53 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 10887, "end": 10890, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10891, "end": 10892, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 9 } } }, { "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": 10892, "end": 10895, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10896, "end": 10897, "loc": { "start": { "line": 430, "column": 13 }, "end": { "line": 430, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10898, "end": 10899, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10900, "end": 10901, "loc": { "start": { "line": 430, "column": 17 }, "end": { "line": 430, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10901, "end": 10902, "loc": { "start": { "line": 430, "column": 18 }, "end": { "line": 430, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10903, "end": 10904, "loc": { "start": { "line": 430, "column": 20 }, "end": { "line": 430, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10905, "end": 10906, "loc": { "start": { "line": 430, "column": 22 }, "end": { "line": 430, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10907, "end": 10914, "loc": { "start": { "line": 430, "column": 24 }, "end": { "line": 430, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10914, "end": 10915, "loc": { "start": { "line": 430, "column": 31 }, "end": { "line": 430, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10915, "end": 10921, "loc": { "start": { "line": 430, "column": 32 }, "end": { "line": 430, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10921, "end": 10922, "loc": { "start": { "line": 430, "column": 38 }, "end": { "line": 430, "column": 39 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 10923, "end": 10925, "loc": { "start": { "line": 430, "column": 40 }, "end": { "line": 430, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10925, "end": 10926, "loc": { "start": { "line": 430, "column": 42 }, "end": { "line": 430, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10926, "end": 10927, "loc": { "start": { "line": 430, "column": 43 }, "end": { "line": 430, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10928, "end": 10929, "loc": { "start": { "line": 430, "column": 45 }, "end": { "line": 430, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 10939, "end": 10946, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10946, "end": 10947, "loc": { "start": { "line": 431, "column": 15 }, "end": { "line": 431, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 10947, "end": 10956, "loc": { "start": { "line": 431, "column": 16 }, "end": { "line": 431, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10956, "end": 10957, "loc": { "start": { "line": 431, "column": 25 }, "end": { "line": 431, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 10957, "end": 10960, "loc": { "start": { "line": 431, "column": 26 }, "end": { "line": 431, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10960, "end": 10961, "loc": { "start": { "line": 431, "column": 29 }, "end": { "line": 431, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 10961, "end": 10968, "loc": { "start": { "line": 431, "column": 30 }, "end": { "line": 431, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10968, "end": 10969, "loc": { "start": { "line": 431, "column": 37 }, "end": { "line": 431, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 10969, "end": 10970, "loc": { "start": { "line": 431, "column": 38 }, "end": { "line": 431, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10970, "end": 10971, "loc": { "start": { "line": 431, "column": 39 }, "end": { "line": 431, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10971, "end": 10972, "loc": { "start": { "line": 431, "column": 40 }, "end": { "line": 431, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10972, "end": 10973, "loc": { "start": { "line": 431, "column": 41 }, "end": { "line": 431, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10979, "end": 10980, "loc": { "start": { "line": 432, "column": 4 }, "end": { "line": 432, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 10986, "end": 10993, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10993, "end": 10994, "loc": { "start": { "line": 433, "column": 11 }, "end": { "line": 433, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 10994, "end": 11003, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11003, "end": 11004, "loc": { "start": { "line": 433, "column": 21 }, "end": { "line": 433, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11004, "end": 11007, "loc": { "start": { "line": 433, "column": 22 }, "end": { "line": 433, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11007, "end": 11008, "loc": { "start": { "line": 433, "column": 25 }, "end": { "line": 433, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "styledButton", "start": 11008, "end": 11022, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 433, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11022, "end": 11023, "loc": { "start": { "line": 433, "column": 40 }, "end": { "line": 433, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11023, "end": 11024, "loc": { "start": { "line": 433, "column": 41 }, "end": { "line": 433, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 11030, "end": 11037, "loc": { "start": { "line": 434, "column": 4 }, "end": { "line": 434, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11037, "end": 11038, "loc": { "start": { "line": 434, "column": 11 }, "end": { "line": 434, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 11038, "end": 11047, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11048, "end": 11049, "loc": { "start": { "line": 434, "column": 22 }, "end": { "line": 434, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 11050, "end": 11059, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11059, "end": 11060, "loc": { "start": { "line": 434, "column": 33 }, "end": { "line": 434, "column": 34 } } }, { "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": 11066, "end": 11072, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 435, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 11073, "end": 11080, "loc": { "start": { "line": 435, "column": 11 }, "end": { "line": 435, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11080, "end": 11081, "loc": { "start": { "line": 435, "column": 18 }, "end": { "line": 435, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11083, "end": 11084, "loc": { "start": { "line": 436, "column": 0 }, "end": { "line": 436, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Helper method to create a new button\r\n * @param {Element} parent\r\n * @param {Array=} classes\r\n * @param {string=} innerHTML\r\n ", "start": 11088, "end": 11232, "loc": { "start": { "line": 438, "column": 0 }, "end": { "line": 443, "column": 3 } } }, { "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": 11234, "end": 11240, "loc": { "start": { "line": 444, "column": 0 }, "end": { "line": 444, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 11241, "end": 11249, "loc": { "start": { "line": 444, "column": 7 }, "end": { "line": 444, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeButton", "start": 11250, "end": 11260, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11260, "end": 11261, "loc": { "start": { "line": 444, "column": 26 }, "end": { "line": 444, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 11261, "end": 11267, "loc": { "start": { "line": 444, "column": 27 }, "end": { "line": 444, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11267, "end": 11268, "loc": { "start": { "line": 444, "column": 33 }, "end": { "line": 444, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 11269, "end": 11276, "loc": { "start": { "line": 444, "column": 35 }, "end": { "line": 444, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11277, "end": 11278, "loc": { "start": { "line": 444, "column": 43 }, "end": { "line": 444, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11279, "end": 11280, "loc": { "start": { "line": 444, "column": 45 }, "end": { "line": 444, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11280, "end": 11281, "loc": { "start": { "line": 444, "column": 46 }, "end": { "line": 444, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11281, "end": 11282, "loc": { "start": { "line": 444, "column": 47 }, "end": { "line": 444, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 11283, "end": 11292, "loc": { "start": { "line": 444, "column": 49 }, "end": { "line": 444, "column": 58 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11293, "end": 11294, "loc": { "start": { "line": 444, "column": 59 }, "end": { "line": 444, "column": 60 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11295, "end": 11297, "loc": { "start": { "line": 444, "column": 61 }, "end": { "line": 444, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11297, "end": 11298, "loc": { "start": { "line": 444, "column": 63 }, "end": { "line": 444, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11299, "end": 11300, "loc": { "start": { "line": 444, "column": 65 }, "end": { "line": 444, "column": 66 } } }, { "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": 11306, "end": 11311, "loc": { "start": { "line": 445, "column": 4 }, "end": { "line": 445, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 11312, "end": 11319, "loc": { "start": { "line": 445, "column": 10 }, "end": { "line": 445, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11320, "end": 11321, "loc": { "start": { "line": 445, "column": 18 }, "end": { "line": 445, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeButtonElement", "start": 11322, "end": 11339, "loc": { "start": { "line": 445, "column": 20 }, "end": { "line": 445, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11339, "end": 11340, "loc": { "start": { "line": 445, "column": 37 }, "end": { "line": 445, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classes", "start": 11340, "end": 11347, "loc": { "start": { "line": 445, "column": 38 }, "end": { "line": 445, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11347, "end": 11348, "loc": { "start": { "line": 445, "column": 45 }, "end": { "line": 445, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 11349, "end": 11358, "loc": { "start": { "line": 445, "column": 47 }, "end": { "line": 445, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11358, "end": 11359, "loc": { "start": { "line": 445, "column": 56 }, "end": { "line": 445, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11359, "end": 11360, "loc": { "start": { "line": 445, "column": 57 }, "end": { "line": 445, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 11366, "end": 11372, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11372, "end": 11373, "loc": { "start": { "line": 446, "column": 10 }, "end": { "line": 446, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 11373, "end": 11384, "loc": { "start": { "line": 446, "column": 11 }, "end": { "line": 446, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11384, "end": 11385, "loc": { "start": { "line": 446, "column": 22 }, "end": { "line": 446, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 11385, "end": 11392, "loc": { "start": { "line": 446, "column": 23 }, "end": { "line": 446, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11392, "end": 11393, "loc": { "start": { "line": 446, "column": 30 }, "end": { "line": 446, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11393, "end": 11394, "loc": { "start": { "line": 446, "column": 31 }, "end": { "line": 446, "column": 32 } } }, { "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": 11400, "end": 11406, "loc": { "start": { "line": 447, "column": 4 }, "end": { "line": 447, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 11407, "end": 11414, "loc": { "start": { "line": 447, "column": 11 }, "end": { "line": 447, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11414, "end": 11415, "loc": { "start": { "line": 447, "column": 18 }, "end": { "line": 447, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11417, "end": 11418, "loc": { "start": { "line": 448, "column": 0 }, "end": { "line": 448, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes all children of the given element\r\n * @param {Element} elem\r\n ", "start": 11422, "end": 11502, "loc": { "start": { "line": 450, "column": 0 }, "end": { "line": 453, "column": 3 } } }, { "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": 11504, "end": 11510, "loc": { "start": { "line": 454, "column": 0 }, "end": { "line": 454, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 11511, "end": 11519, "loc": { "start": { "line": 454, "column": 7 }, "end": { "line": 454, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAllChildren", "start": 11520, "end": 11537, "loc": { "start": { "line": 454, "column": 16 }, "end": { "line": 454, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11537, "end": 11538, "loc": { "start": { "line": 454, "column": 33 }, "end": { "line": 454, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elem", "start": 11538, "end": 11542, "loc": { "start": { "line": 454, "column": 34 }, "end": { "line": 454, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11542, "end": 11543, "loc": { "start": { "line": 454, "column": 38 }, "end": { "line": 454, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11544, "end": 11545, "loc": { "start": { "line": 454, "column": 40 }, "end": { "line": 454, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11551, "end": 11553, "loc": { "start": { "line": 455, "column": 4 }, "end": { "line": 455, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11554, "end": 11555, "loc": { "start": { "line": 455, "column": 7 }, "end": { "line": 455, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elem", "start": 11555, "end": 11559, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11559, "end": 11560, "loc": { "start": { "line": 455, "column": 12 }, "end": { "line": 455, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11561, "end": 11562, "loc": { "start": { "line": 455, "column": 14 }, "end": { "line": 455, "column": 15 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 11572, "end": 11575, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 11576, "end": 11581, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11582, "end": 11583, "loc": { "start": { "line": 456, "column": 18 }, "end": { "line": 456, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 11584, "end": 11592, "loc": { "start": { "line": 456, "column": 20 }, "end": { "line": 456, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11592, "end": 11593, "loc": { "start": { "line": 456, "column": 28 }, "end": { "line": 456, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createRange", "start": 11593, "end": 11604, "loc": { "start": { "line": 456, "column": 29 }, "end": { "line": 456, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11604, "end": 11605, "loc": { "start": { "line": 456, "column": 40 }, "end": { "line": 456, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11605, "end": 11606, "loc": { "start": { "line": 456, "column": 41 }, "end": { "line": 456, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11606, "end": 11607, "loc": { "start": { "line": 456, "column": 42 }, "end": { "line": 456, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 11617, "end": 11622, "loc": { "start": { "line": 457, "column": 8 }, "end": { "line": 457, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11622, "end": 11623, "loc": { "start": { "line": 457, "column": 13 }, "end": { "line": 457, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectNodeContents", "start": 11623, "end": 11641, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11641, "end": 11642, "loc": { "start": { "line": 457, "column": 32 }, "end": { "line": 457, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elem", "start": 11642, "end": 11646, "loc": { "start": { "line": 457, "column": 33 }, "end": { "line": 457, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11646, "end": 11647, "loc": { "start": { "line": 457, "column": 37 }, "end": { "line": 457, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11647, "end": 11648, "loc": { "start": { "line": 457, "column": 38 }, "end": { "line": 457, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "range", "start": 11658, "end": 11663, "loc": { "start": { "line": 458, "column": 8 }, "end": { "line": 458, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11663, "end": 11664, "loc": { "start": { "line": 458, "column": 13 }, "end": { "line": 458, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteContents", "start": 11664, "end": 11678, "loc": { "start": { "line": 458, "column": 14 }, "end": { "line": 458, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11678, "end": 11679, "loc": { "start": { "line": 458, "column": 28 }, "end": { "line": 458, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11679, "end": 11680, "loc": { "start": { "line": 458, "column": 29 }, "end": { "line": 458, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 458, "column": 30 }, "end": { "line": 458, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11687, "end": 11688, "loc": { "start": { "line": 459, "column": 4 }, "end": { "line": 459, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11690, "end": 11691, "loc": { "start": { "line": 460, "column": 0 }, "end": { "line": 460, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the game supports this browser\r\n ", "start": 11695, "end": 11749, "loc": { "start": { "line": 462, "column": 0 }, "end": { "line": 464, "column": 3 } } }, { "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": 11751, "end": 11757, "loc": { "start": { "line": 465, "column": 0 }, "end": { "line": 465, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 11758, "end": 11766, "loc": { "start": { "line": 465, "column": 7 }, "end": { "line": 465, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSupportedBrowser", "start": 11767, "end": 11785, "loc": { "start": { "line": 465, "column": 16 }, "end": { "line": 465, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11785, "end": 11786, "loc": { "start": { "line": 465, "column": 34 }, "end": { "line": 465, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11786, "end": 11787, "loc": { "start": { "line": 465, "column": 35 }, "end": { "line": 465, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11788, "end": 11789, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "column": 38 } } }, { "type": "CommentLine", "value": " please note,", "start": 11795, "end": 11810, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 19 } } }, { "type": "CommentLine", "value": " that IE11 now returns undefined again for window.chrome", "start": 11816, "end": 11874, "loc": { "start": { "line": 467, "column": 4 }, "end": { "line": 467, "column": 62 } } }, { "type": "CommentLine", "value": " and new Opera 30 outputs true for window.chrome", "start": 11880, "end": 11930, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 468, "column": 54 } } }, { "type": "CommentLine", "value": " but needs to check if window.opr is not undefined", "start": 11936, "end": 11988, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 56 } } }, { "type": "CommentLine", "value": " and new IE Edge outputs to true now for window.chrome", "start": 11994, "end": 12050, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 60 } } }, { "type": "CommentLine", "value": " and if not iOS Chrome check", "start": 12056, "end": 12086, "loc": { "start": { "line": 471, "column": 4 }, "end": { "line": 471, "column": 34 } } }, { "type": "CommentLine", "value": " so use the below updated condition", "start": 12092, "end": 12129, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 472, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12137, "end": 12139, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 474, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12140, "end": 12141, "loc": { "start": { "line": 474, "column": 7 }, "end": { "line": 474, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 12141, "end": 12156, "loc": { "start": { "line": 474, "column": 8 }, "end": { "line": 474, "column": 23 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12157, "end": 12159, "loc": { "start": { "line": 474, "column": 24 }, "end": { "line": 474, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 12160, "end": 12175, "loc": { "start": { "line": 474, "column": 27 }, "end": { "line": 474, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12175, "end": 12176, "loc": { "start": { "line": 474, "column": 42 }, "end": { "line": 474, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12177, "end": 12178, "loc": { "start": { "line": 474, "column": 44 }, "end": { "line": 474, "column": 45 } } }, { "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": 12188, "end": 12194, "loc": { "start": { "line": 475, "column": 8 }, "end": { "line": 475, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 12195, "end": 12199, "loc": { "start": { "line": 475, "column": 15 }, "end": { "line": 475, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12199, "end": 12200, "loc": { "start": { "line": 475, "column": 19 }, "end": { "line": 475, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12206, "end": 12207, "loc": { "start": { "line": 476, "column": 4 }, "end": { "line": 476, "column": 5 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 12215, "end": 12228, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 17 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 12234, "end": 12237, "loc": { "start": { "line": 479, "column": 4 }, "end": { "line": 479, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isChromium", "start": 12238, "end": 12248, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12249, "end": 12250, "loc": { "start": { "line": 479, "column": 19 }, "end": { "line": 479, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12251, "end": 12257, "loc": { "start": { "line": 479, "column": 21 }, "end": { "line": 479, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12257, "end": 12258, "loc": { "start": { "line": 479, "column": 27 }, "end": { "line": 479, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chrome", "start": 12258, "end": 12264, "loc": { "start": { "line": 479, "column": 28 }, "end": { "line": 479, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12264, "end": 12265, "loc": { "start": { "line": 479, "column": 34 }, "end": { "line": 479, "column": 35 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 12271, "end": 12274, "loc": { "start": { "line": 480, "column": 4 }, "end": { "line": 480, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "winNav", "start": 12275, "end": 12281, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12282, "end": 12283, "loc": { "start": { "line": 480, "column": 15 }, "end": { "line": 480, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12284, "end": 12290, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12290, "end": 12291, "loc": { "start": { "line": 480, "column": 23 }, "end": { "line": 480, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigator", "start": 12291, "end": 12300, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12300, "end": 12301, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 34 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 12307, "end": 12310, "loc": { "start": { "line": 481, "column": 4 }, "end": { "line": 481, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "vendorName", "start": 12311, "end": 12321, "loc": { "start": { "line": 481, "column": 8 }, "end": { "line": 481, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12322, "end": 12323, "loc": { "start": { "line": 481, "column": 19 }, "end": { "line": 481, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "winNav", "start": 12324, "end": 12330, "loc": { "start": { "line": 481, "column": 21 }, "end": { "line": 481, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12330, "end": 12331, "loc": { "start": { "line": 481, "column": 27 }, "end": { "line": 481, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "vendor", "start": 12331, "end": 12337, "loc": { "start": { "line": 481, "column": 28 }, "end": { "line": 481, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12337, "end": 12338, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 35 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 12344, "end": 12357, "loc": { "start": { "line": 482, "column": 4 }, "end": { "line": 482, "column": 17 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 12363, "end": 12366, "loc": { "start": { "line": 483, "column": 4 }, "end": { "line": 483, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIEedge", "start": 12367, "end": 12375, "loc": { "start": { "line": 483, "column": 8 }, "end": { "line": 483, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12376, "end": 12377, "loc": { "start": { "line": 483, "column": 17 }, "end": { "line": 483, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "winNav", "start": 12378, "end": 12384, "loc": { "start": { "line": 483, "column": 19 }, "end": { "line": 483, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12384, "end": 12385, "loc": { "start": { "line": 483, "column": 25 }, "end": { "line": 483, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userAgent", "start": 12385, "end": 12394, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12394, "end": 12395, "loc": { "start": { "line": 483, "column": 35 }, "end": { "line": 483, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 12395, "end": 12402, "loc": { "start": { "line": 483, "column": 36 }, "end": { "line": 483, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12402, "end": 12403, "loc": { "start": { "line": 483, "column": 43 }, "end": { "line": 483, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Edge", "start": 12403, "end": 12409, "loc": { "start": { "line": 483, "column": 44 }, "end": { "line": 483, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12409, "end": 12410, "loc": { "start": { "line": 483, "column": 50 }, "end": { "line": 483, "column": 51 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 12411, "end": 12412, "loc": { "start": { "line": 483, "column": 52 }, "end": { "line": 483, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 12413, "end": 12414, "loc": { "start": { "line": 483, "column": 54 }, "end": { "line": 483, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 12414, "end": 12415, "loc": { "start": { "line": 483, "column": 55 }, "end": { "line": 483, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12415, "end": 12416, "loc": { "start": { "line": 483, "column": 56 }, "end": { "line": 483, "column": 57 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 12422, "end": 12425, "loc": { "start": { "line": 484, "column": 4 }, "end": { "line": 484, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIOSChrome", "start": 12426, "end": 12437, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12438, "end": 12439, "loc": { "start": { "line": 484, "column": 20 }, "end": { "line": 484, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "winNav", "start": 12440, "end": 12446, "loc": { "start": { "line": 484, "column": 22 }, "end": { "line": 484, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12446, "end": 12447, "loc": { "start": { "line": 484, "column": 28 }, "end": { "line": 484, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userAgent", "start": 12447, "end": 12456, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 484, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12456, "end": 12457, "loc": { "start": { "line": 484, "column": 38 }, "end": { "line": 484, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "match", "start": 12457, "end": 12462, "loc": { "start": { "line": 484, "column": 39 }, "end": { "line": 484, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12462, "end": 12463, "loc": { "start": { "line": 484, "column": 44 }, "end": { "line": 484, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "CriOS", "start": 12463, "end": 12470, "loc": { "start": { "line": 484, "column": 45 }, "end": { "line": 484, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12470, "end": 12471, "loc": { "start": { "line": 484, "column": 52 }, "end": { "line": 484, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12471, "end": 12472, "loc": { "start": { "line": 484, "column": 53 }, "end": { "line": 484, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12480, "end": 12482, "loc": { "start": { "line": 486, "column": 4 }, "end": { "line": 486, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12483, "end": 12484, "loc": { "start": { "line": 486, "column": 7 }, "end": { "line": 486, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIOSChrome", "start": 12484, "end": 12495, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 486, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12495, "end": 12496, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12497, "end": 12498, "loc": { "start": { "line": 486, "column": 21 }, "end": { "line": 486, "column": 22 } } }, { "type": "CommentLine", "value": " is Google Chrome on IOS", "start": 12508, "end": 12534, "loc": { "start": { "line": 487, "column": 8 }, "end": { "line": 487, "column": 34 } } }, { "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": 12544, "end": 12550, "loc": { "start": { "line": 488, "column": 8 }, "end": { "line": 488, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 12551, "end": 12556, "loc": { "start": { "line": 488, "column": 15 }, "end": { "line": 488, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12556, "end": 12557, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12563, "end": 12564, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 489, "column": 5 } } }, { "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": 12565, "end": 12569, "loc": { "start": { "line": 489, "column": 6 }, "end": { "line": 489, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12570, "end": 12572, "loc": { "start": { "line": 489, "column": 11 }, "end": { "line": 489, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12573, "end": 12574, "loc": { "start": { "line": 489, "column": 14 }, "end": { "line": 489, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isChromium", "start": 12584, "end": 12594, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12595, "end": 12598, "loc": { "start": { "line": 490, "column": 19 }, "end": { "line": 490, "column": 22 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 12599, "end": 12603, "loc": { "start": { "line": 490, "column": 23 }, "end": { "line": 490, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12604, "end": 12606, "loc": { "start": { "line": 490, "column": 28 }, "end": { "line": 490, "column": 30 } } }, { "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": 12616, "end": 12622, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isChromium", "start": 12623, "end": 12633, "loc": { "start": { "line": 491, "column": 15 }, "end": { "line": 491, "column": 25 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12634, "end": 12637, "loc": { "start": { "line": 491, "column": 26 }, "end": { "line": 491, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 12638, "end": 12649, "loc": { "start": { "line": 491, "column": 30 }, "end": { "line": 491, "column": 41 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12650, "end": 12652, "loc": { "start": { "line": 491, "column": 42 }, "end": { "line": 491, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "vendorName", "start": 12662, "end": 12672, "loc": { "start": { "line": 492, "column": 8 }, "end": { "line": 492, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12673, "end": 12676, "loc": { "start": { "line": 492, "column": 19 }, "end": { "line": 492, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Google Inc.", "start": 12677, "end": 12690, "loc": { "start": { "line": 492, "column": 23 }, "end": { "line": 492, "column": 36 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12691, "end": 12693, "loc": { "start": { "line": 492, "column": 37 }, "end": { "line": 492, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isIEedge", "start": 12703, "end": 12711, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12712, "end": 12715, "loc": { "start": { "line": 493, "column": 17 }, "end": { "line": 493, "column": 20 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 12716, "end": 12721, "loc": { "start": { "line": 493, "column": 21 }, "end": { "line": 493, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12727, "end": 12728, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12729, "end": 12730, "loc": { "start": { "line": 494, "column": 6 }, "end": { "line": 494, "column": 7 } } }, { "type": "CommentLine", "value": " is Google Chrome", "start": 12740, "end": 12759, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 27 } } }, { "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": 12769, "end": 12775, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 12776, "end": 12780, "loc": { "start": { "line": 496, "column": 15 }, "end": { "line": 496, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12780, "end": 12781, "loc": { "start": { "line": 496, "column": 19 }, "end": { "line": 496, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12787, "end": 12788, "loc": { "start": { "line": 497, "column": 4 }, "end": { "line": 497, "column": 5 } } }, { "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": 12789, "end": 12793, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12794, "end": 12795, "loc": { "start": { "line": 497, "column": 11 }, "end": { "line": 497, "column": 12 } } }, { "type": "CommentLine", "value": " not Google Chrome", "start": 12805, "end": 12825, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 28 } } }, { "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": 12835, "end": 12841, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 12842, "end": 12847, "loc": { "start": { "line": 499, "column": 15 }, "end": { "line": 499, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12847, "end": 12848, "loc": { "start": { "line": 499, "column": 20 }, "end": { "line": 499, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12854, "end": 12855, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12857, "end": 12858, "loc": { "start": { "line": 501, "column": 0 }, "end": { "line": 501, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats an amount of seconds into something like \"5s ago\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 12862, "end": 12987, "loc": { "start": { "line": 503, "column": 0 }, "end": { "line": 507, "column": 3 } } }, { "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": 12989, "end": 12995, "loc": { "start": { "line": 508, "column": 0 }, "end": { "line": 508, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 12996, "end": 13004, "loc": { "start": { "line": 508, "column": 7 }, "end": { "line": 508, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatSecondsToTimeAgo", "start": 13005, "end": 13027, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13027, "end": 13028, "loc": { "start": { "line": 508, "column": 38 }, "end": { "line": 508, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 13028, "end": 13032, "loc": { "start": { "line": 508, "column": 39 }, "end": { "line": 508, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13032, "end": 13033, "loc": { "start": { "line": 508, "column": 43 }, "end": { "line": 508, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13034, "end": 13035, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 46 } } }, { "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": 13041, "end": 13046, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 13047, "end": 13054, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13055, "end": 13056, "loc": { "start": { "line": 509, "column": 18 }, "end": { "line": 509, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 13057, "end": 13061, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13061, "end": 13062, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 13062, "end": 13067, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13067, "end": 13068, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 13068, "end": 13072, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13072, "end": 13073, "loc": { "start": { "line": 509, "column": 35 }, "end": { "line": 509, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13073, "end": 13074, "loc": { "start": { "line": 509, "column": 36 }, "end": { "line": 509, "column": 37 } } }, { "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": 13080, "end": 13085, "loc": { "start": { "line": 510, "column": 4 }, "end": { "line": 510, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 13086, "end": 13093, "loc": { "start": { "line": 510, "column": 10 }, "end": { "line": 510, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13094, "end": 13095, "loc": { "start": { "line": 510, "column": 18 }, "end": { "line": 510, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 13096, "end": 13100, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13100, "end": 13101, "loc": { "start": { "line": 510, "column": 24 }, "end": { "line": 510, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 13101, "end": 13106, "loc": { "start": { "line": 510, "column": 25 }, "end": { "line": 510, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13106, "end": 13107, "loc": { "start": { "line": 510, "column": 30 }, "end": { "line": 510, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 13107, "end": 13114, "loc": { "start": { "line": 510, "column": 31 }, "end": { "line": 510, "column": 38 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 13115, "end": 13116, "loc": { "start": { "line": 510, "column": 39 }, "end": { "line": 510, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 13117, "end": 13119, "loc": { "start": { "line": 510, "column": 41 }, "end": { "line": 510, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13119, "end": 13120, "loc": { "start": { "line": 510, "column": 43 }, "end": { "line": 510, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13120, "end": 13121, "loc": { "start": { "line": 510, "column": 44 }, "end": { "line": 510, "column": 45 } } }, { "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": 13127, "end": 13132, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 13133, "end": 13138, "loc": { "start": { "line": 511, "column": 10 }, "end": { "line": 511, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13139, "end": 13140, "loc": { "start": { "line": 511, "column": 16 }, "end": { "line": 511, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 13141, "end": 13145, "loc": { "start": { "line": 511, "column": 18 }, "end": { "line": 511, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13145, "end": 13146, "loc": { "start": { "line": 511, "column": 22 }, "end": { "line": 511, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 13146, "end": 13151, "loc": { "start": { "line": 511, "column": 23 }, "end": { "line": 511, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13151, "end": 13152, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 13152, "end": 13159, "loc": { "start": { "line": 511, "column": 29 }, "end": { "line": 511, "column": 36 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 13160, "end": 13161, "loc": { "start": { "line": 511, "column": 37 }, "end": { "line": 511, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 13162, "end": 13164, "loc": { "start": { "line": 511, "column": 39 }, "end": { "line": 511, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13164, "end": 13165, "loc": { "start": { "line": 511, "column": 41 }, "end": { "line": 511, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13165, "end": 13166, "loc": { "start": { "line": 511, "column": 42 }, "end": { "line": 511, "column": 43 } } }, { "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": 13172, "end": 13177, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "days", "start": 13178, "end": 13182, "loc": { "start": { "line": 512, "column": 10 }, "end": { "line": 512, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13183, "end": 13184, "loc": { "start": { "line": 512, "column": 15 }, "end": { "line": 512, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 13185, "end": 13189, "loc": { "start": { "line": 512, "column": 17 }, "end": { "line": 512, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13189, "end": 13190, "loc": { "start": { "line": 512, "column": 21 }, "end": { "line": 512, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 13190, "end": 13195, "loc": { "start": { "line": 512, "column": 22 }, "end": { "line": 512, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13195, "end": 13196, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 13196, "end": 13201, "loc": { "start": { "line": 512, "column": 28 }, "end": { "line": 512, "column": 33 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 13202, "end": 13203, "loc": { "start": { "line": 512, "column": 34 }, "end": { "line": 512, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 24, "start": 13204, "end": 13206, "loc": { "start": { "line": 512, "column": 36 }, "end": { "line": 512, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13206, "end": 13207, "loc": { "start": { "line": 512, "column": 38 }, "end": { "line": 512, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13207, "end": 13208, "loc": { "start": { "line": 512, "column": 39 }, "end": { "line": 512, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13216, "end": 13218, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13219, "end": 13220, "loc": { "start": { "line": 514, "column": 7 }, "end": { "line": 514, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 13220, "end": 13227, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 15 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13228, "end": 13229, "loc": { "start": { "line": 514, "column": 16 }, "end": { "line": 514, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 13230, "end": 13232, "loc": { "start": { "line": 514, "column": 18 }, "end": { "line": 514, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13232, "end": 13233, "loc": { "start": { "line": 514, "column": 20 }, "end": { "line": 514, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13234, "end": 13235, "loc": { "start": { "line": 514, "column": 22 }, "end": { "line": 514, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13245, "end": 13247, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13248, "end": 13249, "loc": { "start": { "line": 515, "column": 11 }, "end": { "line": 515, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 13249, "end": 13256, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13257, "end": 13260, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13261, "end": 13262, "loc": { "start": { "line": 515, "column": 24 }, "end": { "line": 515, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13262, "end": 13263, "loc": { "start": { "line": 515, "column": 25 }, "end": { "line": 515, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13264, "end": 13265, "loc": { "start": { "line": 515, "column": 27 }, "end": { "line": 515, "column": 28 } } }, { "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": 13279, "end": 13285, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13286, "end": 13287, "loc": { "start": { "line": 516, "column": 19 }, "end": { "line": 516, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13287, "end": 13288, "loc": { "start": { "line": 516, "column": 20 }, "end": { "line": 516, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13288, "end": 13294, "loc": { "start": { "line": 516, "column": 21 }, "end": { "line": 516, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13294, "end": 13295, "loc": { "start": { "line": 516, "column": 27 }, "end": { "line": 516, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13295, "end": 13299, "loc": { "start": { "line": 516, "column": 28 }, "end": { "line": 516, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13299, "end": 13300, "loc": { "start": { "line": 516, "column": 32 }, "end": { "line": 516, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oneSecondAgo", "start": 13300, "end": 13312, "loc": { "start": { "line": 516, "column": 33 }, "end": { "line": 516, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13312, "end": 13313, "loc": { "start": { "line": 516, "column": 45 }, "end": { "line": 516, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13323, "end": 13324, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 9 } } }, { "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": 13334, "end": 13340, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13341, "end": 13342, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13342, "end": 13343, "loc": { "start": { "line": 518, "column": 16 }, "end": { "line": 518, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13343, "end": 13349, "loc": { "start": { "line": 518, "column": 17 }, "end": { "line": 518, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13349, "end": 13350, "loc": { "start": { "line": 518, "column": 23 }, "end": { "line": 518, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13350, "end": 13354, "loc": { "start": { "line": 518, "column": 24 }, "end": { "line": 518, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13354, "end": 13355, "loc": { "start": { "line": 518, "column": 28 }, "end": { "line": 518, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "xSecondsAgo", "start": 13355, "end": 13366, "loc": { "start": { "line": 518, "column": 29 }, "end": { "line": 518, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13366, "end": 13367, "loc": { "start": { "line": 518, "column": 40 }, "end": { "line": 518, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 13367, "end": 13374, "loc": { "start": { "line": 518, "column": 41 }, "end": { "line": 518, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13374, "end": 13375, "loc": { "start": { "line": 518, "column": 48 }, "end": { "line": 518, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13375, "end": 13380, "loc": { "start": { "line": 518, "column": 49 }, "end": { "line": 518, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13380, "end": 13381, "loc": { "start": { "line": 518, "column": 54 }, "end": { "line": 518, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13382, "end": 13384, "loc": { "start": { "line": 518, "column": 56 }, "end": { "line": 518, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13385, "end": 13386, "loc": { "start": { "line": 518, "column": 59 }, "end": { "line": 518, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 13387, "end": 13394, "loc": { "start": { "line": 518, "column": 61 }, "end": { "line": 518, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13394, "end": 13395, "loc": { "start": { "line": 518, "column": 68 }, "end": { "line": 518, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13395, "end": 13396, "loc": { "start": { "line": 518, "column": 69 }, "end": { "line": 518, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13402, "end": 13403, "loc": { "start": { "line": 519, "column": 4 }, "end": { "line": 519, "column": 5 } } }, { "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": 13404, "end": 13408, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13409, "end": 13411, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13412, "end": 13413, "loc": { "start": { "line": 519, "column": 14 }, "end": { "line": 519, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 13413, "end": 13420, "loc": { "start": { "line": 519, "column": 15 }, "end": { "line": 519, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13421, "end": 13422, "loc": { "start": { "line": 519, "column": 23 }, "end": { "line": 519, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 13423, "end": 13425, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13425, "end": 13426, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13427, "end": 13428, "loc": { "start": { "line": 519, "column": 29 }, "end": { "line": 519, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13438, "end": 13440, "loc": { "start": { "line": 520, "column": 8 }, "end": { "line": 520, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13441, "end": 13442, "loc": { "start": { "line": 520, "column": 11 }, "end": { "line": 520, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 13442, "end": 13449, "loc": { "start": { "line": 520, "column": 12 }, "end": { "line": 520, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13450, "end": 13453, "loc": { "start": { "line": 520, "column": 20 }, "end": { "line": 520, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13454, "end": 13455, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13455, "end": 13456, "loc": { "start": { "line": 520, "column": 25 }, "end": { "line": 520, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13457, "end": 13458, "loc": { "start": { "line": 520, "column": 27 }, "end": { "line": 520, "column": 28 } } }, { "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": 13472, "end": 13478, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13479, "end": 13480, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13480, "end": 13481, "loc": { "start": { "line": 521, "column": 20 }, "end": { "line": 521, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13481, "end": 13487, "loc": { "start": { "line": 521, "column": 21 }, "end": { "line": 521, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13487, "end": 13488, "loc": { "start": { "line": 521, "column": 27 }, "end": { "line": 521, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13488, "end": 13492, "loc": { "start": { "line": 521, "column": 28 }, "end": { "line": 521, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13492, "end": 13493, "loc": { "start": { "line": 521, "column": 32 }, "end": { "line": 521, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oneMinuteAgo", "start": 13493, "end": 13505, "loc": { "start": { "line": 521, "column": 33 }, "end": { "line": 521, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13505, "end": 13506, "loc": { "start": { "line": 521, "column": 45 }, "end": { "line": 521, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13516, "end": 13517, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 9 } } }, { "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": 13527, "end": 13533, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13534, "end": 13535, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13535, "end": 13536, "loc": { "start": { "line": 523, "column": 16 }, "end": { "line": 523, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13536, "end": 13542, "loc": { "start": { "line": 523, "column": 17 }, "end": { "line": 523, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13542, "end": 13543, "loc": { "start": { "line": 523, "column": 23 }, "end": { "line": 523, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13543, "end": 13547, "loc": { "start": { "line": 523, "column": 24 }, "end": { "line": 523, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13547, "end": 13548, "loc": { "start": { "line": 523, "column": 28 }, "end": { "line": 523, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "xMinutesAgo", "start": 13548, "end": 13559, "loc": { "start": { "line": 523, "column": 29 }, "end": { "line": 523, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13559, "end": 13560, "loc": { "start": { "line": 523, "column": 40 }, "end": { "line": 523, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 13560, "end": 13567, "loc": { "start": { "line": 523, "column": 41 }, "end": { "line": 523, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13567, "end": 13568, "loc": { "start": { "line": 523, "column": 48 }, "end": { "line": 523, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13568, "end": 13573, "loc": { "start": { "line": 523, "column": 49 }, "end": { "line": 523, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13573, "end": 13574, "loc": { "start": { "line": 523, "column": 54 }, "end": { "line": 523, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13575, "end": 13577, "loc": { "start": { "line": 523, "column": 56 }, "end": { "line": 523, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13578, "end": 13579, "loc": { "start": { "line": 523, "column": 59 }, "end": { "line": 523, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 13580, "end": 13587, "loc": { "start": { "line": 523, "column": 61 }, "end": { "line": 523, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13587, "end": 13588, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13588, "end": 13589, "loc": { "start": { "line": 523, "column": 69 }, "end": { "line": 523, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13595, "end": 13596, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 5 } } }, { "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": 13597, "end": 13601, "loc": { "start": { "line": 524, "column": 6 }, "end": { "line": 524, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13602, "end": 13604, "loc": { "start": { "line": 524, "column": 11 }, "end": { "line": 524, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13605, "end": 13606, "loc": { "start": { "line": 524, "column": 14 }, "end": { "line": 524, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 13606, "end": 13611, "loc": { "start": { "line": 524, "column": 15 }, "end": { "line": 524, "column": 20 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13612, "end": 13613, "loc": { "start": { "line": 524, "column": 21 }, "end": { "line": 524, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 24, "start": 13614, "end": 13616, "loc": { "start": { "line": 524, "column": 23 }, "end": { "line": 524, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13616, "end": 13617, "loc": { "start": { "line": 524, "column": 25 }, "end": { "line": 524, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13618, "end": 13619, "loc": { "start": { "line": 524, "column": 27 }, "end": { "line": 524, "column": 28 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13629, "end": 13631, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13632, "end": 13633, "loc": { "start": { "line": 525, "column": 11 }, "end": { "line": 525, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 13633, "end": 13638, "loc": { "start": { "line": 525, "column": 12 }, "end": { "line": 525, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13639, "end": 13642, "loc": { "start": { "line": 525, "column": 18 }, "end": { "line": 525, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13643, "end": 13644, "loc": { "start": { "line": 525, "column": 22 }, "end": { "line": 525, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13644, "end": 13645, "loc": { "start": { "line": 525, "column": 23 }, "end": { "line": 525, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13646, "end": 13647, "loc": { "start": { "line": 525, "column": 25 }, "end": { "line": 525, "column": 26 } } }, { "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": 13661, "end": 13667, "loc": { "start": { "line": 526, "column": 12 }, "end": { "line": 526, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13668, "end": 13669, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13669, "end": 13670, "loc": { "start": { "line": 526, "column": 20 }, "end": { "line": 526, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13670, "end": 13676, "loc": { "start": { "line": 526, "column": 21 }, "end": { "line": 526, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13676, "end": 13677, "loc": { "start": { "line": 526, "column": 27 }, "end": { "line": 526, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13677, "end": 13681, "loc": { "start": { "line": 526, "column": 28 }, "end": { "line": 526, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13681, "end": 13682, "loc": { "start": { "line": 526, "column": 32 }, "end": { "line": 526, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oneHourAgo", "start": 13682, "end": 13692, "loc": { "start": { "line": 526, "column": 33 }, "end": { "line": 526, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13692, "end": 13693, "loc": { "start": { "line": 526, "column": 43 }, "end": { "line": 526, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13703, "end": 13704, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 9 } } }, { "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": 13714, "end": 13720, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13721, "end": 13722, "loc": { "start": { "line": 528, "column": 15 }, "end": { "line": 528, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13722, "end": 13723, "loc": { "start": { "line": 528, "column": 16 }, "end": { "line": 528, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13723, "end": 13729, "loc": { "start": { "line": 528, "column": 17 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13729, "end": 13730, "loc": { "start": { "line": 528, "column": 23 }, "end": { "line": 528, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13730, "end": 13734, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13734, "end": 13735, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 528, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "xHoursAgo", "start": 13735, "end": 13744, "loc": { "start": { "line": 528, "column": 29 }, "end": { "line": 528, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13744, "end": 13745, "loc": { "start": { "line": 528, "column": 38 }, "end": { "line": 528, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 13745, "end": 13752, "loc": { "start": { "line": 528, "column": 39 }, "end": { "line": 528, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13752, "end": 13753, "loc": { "start": { "line": 528, "column": 46 }, "end": { "line": 528, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13753, "end": 13758, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13758, "end": 13759, "loc": { "start": { "line": 528, "column": 52 }, "end": { "line": 528, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13760, "end": 13762, "loc": { "start": { "line": 528, "column": 54 }, "end": { "line": 528, "column": 56 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13763, "end": 13764, "loc": { "start": { "line": 528, "column": 57 }, "end": { "line": 528, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 13765, "end": 13770, "loc": { "start": { "line": 528, "column": 59 }, "end": { "line": 528, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13770, "end": 13771, "loc": { "start": { "line": 528, "column": 64 }, "end": { "line": 528, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13771, "end": 13772, "loc": { "start": { "line": 528, "column": 65 }, "end": { "line": 528, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13778, "end": 13779, "loc": { "start": { "line": 529, "column": 4 }, "end": { "line": 529, "column": 5 } } }, { "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": 13780, "end": 13784, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13785, "end": 13786, "loc": { "start": { "line": 529, "column": 11 }, "end": { "line": 529, "column": 12 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13796, "end": 13798, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13799, "end": 13800, "loc": { "start": { "line": 530, "column": 11 }, "end": { "line": 530, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "days", "start": 13800, "end": 13804, "loc": { "start": { "line": 530, "column": 12 }, "end": { "line": 530, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13805, "end": 13808, "loc": { "start": { "line": 530, "column": 17 }, "end": { "line": 530, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13809, "end": 13810, "loc": { "start": { "line": 530, "column": 21 }, "end": { "line": 530, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13810, "end": 13811, "loc": { "start": { "line": 530, "column": 22 }, "end": { "line": 530, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13812, "end": 13813, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 25 } } }, { "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": 13827, "end": 13833, "loc": { "start": { "line": 531, "column": 12 }, "end": { "line": 531, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13834, "end": 13835, "loc": { "start": { "line": 531, "column": 19 }, "end": { "line": 531, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13835, "end": 13836, "loc": { "start": { "line": 531, "column": 20 }, "end": { "line": 531, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13836, "end": 13842, "loc": { "start": { "line": 531, "column": 21 }, "end": { "line": 531, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13842, "end": 13843, "loc": { "start": { "line": 531, "column": 27 }, "end": { "line": 531, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13843, "end": 13847, "loc": { "start": { "line": 531, "column": 28 }, "end": { "line": 531, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13847, "end": 13848, "loc": { "start": { "line": 531, "column": 32 }, "end": { "line": 531, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oneDayAgo", "start": 13848, "end": 13857, "loc": { "start": { "line": 531, "column": 33 }, "end": { "line": 531, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13857, "end": 13858, "loc": { "start": { "line": 531, "column": 42 }, "end": { "line": 531, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13868, "end": 13869, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 532, "column": 9 } } }, { "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": 13879, "end": 13885, "loc": { "start": { "line": 533, "column": 8 }, "end": { "line": 533, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13886, "end": 13887, "loc": { "start": { "line": 533, "column": 15 }, "end": { "line": 533, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13887, "end": 13888, "loc": { "start": { "line": 533, "column": 16 }, "end": { "line": 533, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 13888, "end": 13894, "loc": { "start": { "line": 533, "column": 17 }, "end": { "line": 533, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13894, "end": 13895, "loc": { "start": { "line": 533, "column": 23 }, "end": { "line": 533, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 13895, "end": 13899, "loc": { "start": { "line": 533, "column": 24 }, "end": { "line": 533, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13899, "end": 13900, "loc": { "start": { "line": 533, "column": 28 }, "end": { "line": 533, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "xDaysAgo", "start": 13900, "end": 13908, "loc": { "start": { "line": 533, "column": 29 }, "end": { "line": 533, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13908, "end": 13909, "loc": { "start": { "line": 533, "column": 37 }, "end": { "line": 533, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 13909, "end": 13916, "loc": { "start": { "line": 533, "column": 38 }, "end": { "line": 533, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13916, "end": 13917, "loc": { "start": { "line": 533, "column": 45 }, "end": { "line": 533, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13917, "end": 13922, "loc": { "start": { "line": 533, "column": 46 }, "end": { "line": 533, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13922, "end": 13923, "loc": { "start": { "line": 533, "column": 51 }, "end": { "line": 533, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13924, "end": 13926, "loc": { "start": { "line": 533, "column": 53 }, "end": { "line": 533, "column": 55 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13927, "end": 13928, "loc": { "start": { "line": 533, "column": 56 }, "end": { "line": 533, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "days", "start": 13929, "end": 13933, "loc": { "start": { "line": 533, "column": 58 }, "end": { "line": 533, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13933, "end": 13934, "loc": { "start": { "line": 533, "column": 62 }, "end": { "line": 533, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13934, "end": 13935, "loc": { "start": { "line": 533, "column": 63 }, "end": { "line": 533, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13941, "end": 13942, "loc": { "start": { "line": 534, "column": 4 }, "end": { "line": 534, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13944, "end": 13945, "loc": { "start": { "line": 535, "column": 0 }, "end": { "line": 535, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats seconds into a readable string like \"5h 23m\"\r\n * @param {number} secs Seconds\r\n * @returns {string}\r\n ", "start": 13949, "end": 14069, "loc": { "start": { "line": 537, "column": 0 }, "end": { "line": 541, "column": 3 } } }, { "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": 14071, "end": 14077, "loc": { "start": { "line": 542, "column": 0 }, "end": { "line": 542, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 14078, "end": 14086, "loc": { "start": { "line": 542, "column": 7 }, "end": { "line": 542, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatSeconds", "start": 14087, "end": 14100, "loc": { "start": { "line": 542, "column": 16 }, "end": { "line": 542, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14100, "end": 14101, "loc": { "start": { "line": 542, "column": 29 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14101, "end": 14105, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14105, "end": 14106, "loc": { "start": { "line": 542, "column": 34 }, "end": { "line": 542, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14107, "end": 14108, "loc": { "start": { "line": 542, "column": 36 }, "end": { "line": 542, "column": 37 } } }, { "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": 14114, "end": 14119, "loc": { "start": { "line": 543, "column": 4 }, "end": { "line": 543, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 14120, "end": 14125, "loc": { "start": { "line": 543, "column": 10 }, "end": { "line": 543, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14126, "end": 14127, "loc": { "start": { "line": 543, "column": 16 }, "end": { "line": 543, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 14128, "end": 14129, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14129, "end": 14130, "loc": { "start": { "line": 543, "column": 19 }, "end": { "line": 543, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 14130, "end": 14136, "loc": { "start": { "line": 543, "column": 20 }, "end": { "line": 543, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14136, "end": 14137, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 14137, "end": 14141, "loc": { "start": { "line": 543, "column": 27 }, "end": { "line": 543, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14141, "end": 14142, "loc": { "start": { "line": 543, "column": 31 }, "end": { "line": 543, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14148, "end": 14152, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14153, "end": 14154, "loc": { "start": { "line": 544, "column": 9 }, "end": { "line": 544, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 14155, "end": 14159, "loc": { "start": { "line": 544, "column": 11 }, "end": { "line": 544, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14159, "end": 14160, "loc": { "start": { "line": 544, "column": 15 }, "end": { "line": 544, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ceil", "start": 14160, "end": 14164, "loc": { "start": { "line": 544, "column": 16 }, "end": { "line": 544, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14164, "end": 14165, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14165, "end": 14169, "loc": { "start": { "line": 544, "column": 21 }, "end": { "line": 544, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14169, "end": 14170, "loc": { "start": { "line": 544, "column": 25 }, "end": { "line": 544, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14170, "end": 14171, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "column": 27 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14177, "end": 14179, "loc": { "start": { "line": 545, "column": 4 }, "end": { "line": 545, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14180, "end": 14181, "loc": { "start": { "line": 545, "column": 7 }, "end": { "line": 545, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14181, "end": 14185, "loc": { "start": { "line": 545, "column": 8 }, "end": { "line": 545, "column": 12 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 14186, "end": 14187, "loc": { "start": { "line": 545, "column": 13 }, "end": { "line": 545, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14188, "end": 14190, "loc": { "start": { "line": 545, "column": 15 }, "end": { "line": 545, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14190, "end": 14191, "loc": { "start": { "line": 545, "column": 17 }, "end": { "line": 545, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14192, "end": 14193, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 545, "column": 20 } } }, { "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": 14203, "end": 14209, "loc": { "start": { "line": 546, "column": 8 }, "end": { "line": 546, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 14210, "end": 14215, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14215, "end": 14216, "loc": { "start": { "line": 546, "column": 20 }, "end": { "line": 546, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secondsShort", "start": 14216, "end": 14228, "loc": { "start": { "line": 546, "column": 21 }, "end": { "line": 546, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14228, "end": 14229, "loc": { "start": { "line": 546, "column": 33 }, "end": { "line": 546, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 14229, "end": 14236, "loc": { "start": { "line": 546, "column": 34 }, "end": { "line": 546, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14236, "end": 14237, "loc": { "start": { "line": 546, "column": 41 }, "end": { "line": 546, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14237, "end": 14248, "loc": { "start": { "line": 546, "column": 42 }, "end": { "line": 546, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14248, "end": 14249, "loc": { "start": { "line": 546, "column": 53 }, "end": { "line": 546, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14250, "end": 14252, "loc": { "start": { "line": 546, "column": 55 }, "end": { "line": 546, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 14253, "end": 14254, "loc": { "start": { "line": 546, "column": 58 }, "end": { "line": 546, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14255, "end": 14259, "loc": { "start": { "line": 546, "column": 60 }, "end": { "line": 546, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14259, "end": 14260, "loc": { "start": { "line": 546, "column": 64 }, "end": { "line": 546, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14260, "end": 14261, "loc": { "start": { "line": 546, "column": 65 }, "end": { "line": 546, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14267, "end": 14268, "loc": { "start": { "line": 547, "column": 4 }, "end": { "line": 547, "column": 5 } } }, { "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": 14269, "end": 14273, "loc": { "start": { "line": 547, "column": 6 }, "end": { "line": 547, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14274, "end": 14276, "loc": { "start": { "line": 547, "column": 11 }, "end": { "line": 547, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14277, "end": 14278, "loc": { "start": { "line": 547, "column": 14 }, "end": { "line": 547, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14278, "end": 14282, "loc": { "start": { "line": 547, "column": 15 }, "end": { "line": 547, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 14283, "end": 14284, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14285, "end": 14287, "loc": { "start": { "line": 547, "column": 22 }, "end": { "line": 547, "column": 24 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 14288, "end": 14289, "loc": { "start": { "line": 547, "column": 25 }, "end": { "line": 547, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14290, "end": 14292, "loc": { "start": { "line": 547, "column": 27 }, "end": { "line": 547, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14292, "end": 14293, "loc": { "start": { "line": 547, "column": 29 }, "end": { "line": 547, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14294, "end": 14295, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 32 } } }, { "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": 14305, "end": 14310, "loc": { "start": { "line": 548, "column": 8 }, "end": { "line": 548, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 14311, "end": 14318, "loc": { "start": { "line": 548, "column": 14 }, "end": { "line": 548, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14319, "end": 14320, "loc": { "start": { "line": 548, "column": 22 }, "end": { "line": 548, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 14321, "end": 14325, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14325, "end": 14326, "loc": { "start": { "line": 548, "column": 28 }, "end": { "line": 548, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 14326, "end": 14331, "loc": { "start": { "line": 548, "column": 29 }, "end": { "line": 548, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14331, "end": 14332, "loc": { "start": { "line": 548, "column": 34 }, "end": { "line": 548, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14332, "end": 14336, "loc": { "start": { "line": 548, "column": 35 }, "end": { "line": 548, "column": 39 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 14337, "end": 14338, "loc": { "start": { "line": 548, "column": 40 }, "end": { "line": 548, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14339, "end": 14341, "loc": { "start": { "line": 548, "column": 42 }, "end": { "line": 548, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14341, "end": 14342, "loc": { "start": { "line": 548, "column": 44 }, "end": { "line": 548, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14342, "end": 14343, "loc": { "start": { "line": 548, "column": 45 }, "end": { "line": 548, "column": 46 } } }, { "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": 14353, "end": 14358, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 14359, "end": 14366, "loc": { "start": { "line": 549, "column": 14 }, "end": { "line": 549, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14367, "end": 14368, "loc": { "start": { "line": 549, "column": 22 }, "end": { "line": 549, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14369, "end": 14373, "loc": { "start": { "line": 549, "column": 24 }, "end": { "line": 549, "column": 28 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 14374, "end": 14375, "loc": { "start": { "line": 549, "column": 29 }, "end": { "line": 549, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14376, "end": 14378, "loc": { "start": { "line": 549, "column": 31 }, "end": { "line": 549, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14378, "end": 14379, "loc": { "start": { "line": 549, "column": 33 }, "end": { "line": 549, "column": 34 } } }, { "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": 14389, "end": 14395, "loc": { "start": { "line": 550, "column": 8 }, "end": { "line": 550, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 14396, "end": 14401, "loc": { "start": { "line": 550, "column": 15 }, "end": { "line": 550, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14401, "end": 14402, "loc": { "start": { "line": 550, "column": 20 }, "end": { "line": 550, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutesAndSecondsShort", "start": 14402, "end": 14424, "loc": { "start": { "line": 550, "column": 21 }, "end": { "line": 550, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14438, "end": 14439, "loc": { "start": { "line": 551, "column": 12 }, "end": { "line": 551, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 14439, "end": 14446, "loc": { "start": { "line": 551, "column": 13 }, "end": { "line": 551, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14446, "end": 14447, "loc": { "start": { "line": 551, "column": 20 }, "end": { "line": 551, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14447, "end": 14458, "loc": { "start": { "line": 551, "column": 21 }, "end": { "line": 551, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14458, "end": 14459, "loc": { "start": { "line": 551, "column": 32 }, "end": { "line": 551, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14460, "end": 14462, "loc": { "start": { "line": 551, "column": 34 }, "end": { "line": 551, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 14463, "end": 14464, "loc": { "start": { "line": 551, "column": 37 }, "end": { "line": 551, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seconds", "start": 14465, "end": 14472, "loc": { "start": { "line": 551, "column": 39 }, "end": { "line": 551, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14472, "end": 14473, "loc": { "start": { "line": 551, "column": 46 }, "end": { "line": 551, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14487, "end": 14488, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 14488, "end": 14495, "loc": { "start": { "line": 552, "column": 13 }, "end": { "line": 552, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14495, "end": 14496, "loc": { "start": { "line": 552, "column": 20 }, "end": { "line": 552, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14496, "end": 14507, "loc": { "start": { "line": 552, "column": 21 }, "end": { "line": 552, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14507, "end": 14508, "loc": { "start": { "line": 552, "column": 32 }, "end": { "line": 552, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14509, "end": 14511, "loc": { "start": { "line": 552, "column": 34 }, "end": { "line": 552, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 14512, "end": 14513, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 14514, "end": 14521, "loc": { "start": { "line": 552, "column": 39 }, "end": { "line": 552, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14521, "end": 14522, "loc": { "start": { "line": 552, "column": 46 }, "end": { "line": 552, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14522, "end": 14523, "loc": { "start": { "line": 552, "column": 47 }, "end": { "line": 552, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14529, "end": 14530, "loc": { "start": { "line": 553, "column": 4 }, "end": { "line": 553, "column": 5 } } }, { "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": 14531, "end": 14535, "loc": { "start": { "line": 553, "column": 6 }, "end": { "line": 553, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14536, "end": 14537, "loc": { "start": { "line": 553, "column": 11 }, "end": { "line": 553, "column": 12 } } }, { "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": 14547, "end": 14552, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 14553, "end": 14558, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14559, "end": 14560, "loc": { "start": { "line": 554, "column": 20 }, "end": { "line": 554, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 14561, "end": 14565, "loc": { "start": { "line": 554, "column": 22 }, "end": { "line": 554, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14565, "end": 14566, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 14566, "end": 14571, "loc": { "start": { "line": 554, "column": 27 }, "end": { "line": 554, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14571, "end": 14572, "loc": { "start": { "line": 554, "column": 32 }, "end": { "line": 554, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14572, "end": 14576, "loc": { "start": { "line": 554, "column": 33 }, "end": { "line": 554, "column": 37 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 14577, "end": 14578, "loc": { "start": { "line": 554, "column": 38 }, "end": { "line": 554, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3600, "start": 14579, "end": 14583, "loc": { "start": { "line": 554, "column": 40 }, "end": { "line": 554, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14583, "end": 14584, "loc": { "start": { "line": 554, "column": 44 }, "end": { "line": 554, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14584, "end": 14585, "loc": { "start": { "line": 554, "column": 45 }, "end": { "line": 554, "column": 46 } } }, { "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": 14595, "end": 14600, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 14601, "end": 14608, "loc": { "start": { "line": 555, "column": 14 }, "end": { "line": 555, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14609, "end": 14610, "loc": { "start": { "line": 555, "column": 22 }, "end": { "line": 555, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 14611, "end": 14615, "loc": { "start": { "line": 555, "column": 24 }, "end": { "line": 555, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14615, "end": 14616, "loc": { "start": { "line": 555, "column": 28 }, "end": { "line": 555, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 14616, "end": 14621, "loc": { "start": { "line": 555, "column": 29 }, "end": { "line": 555, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14621, "end": 14622, "loc": { "start": { "line": 555, "column": 34 }, "end": { "line": 555, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "secs", "start": 14622, "end": 14626, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 39 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 14627, "end": 14628, "loc": { "start": { "line": 555, "column": 40 }, "end": { "line": 555, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14629, "end": 14631, "loc": { "start": { "line": 555, "column": 42 }, "end": { "line": 555, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14631, "end": 14632, "loc": { "start": { "line": 555, "column": 44 }, "end": { "line": 555, "column": 45 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 14633, "end": 14634, "loc": { "start": { "line": 555, "column": 46 }, "end": { "line": 555, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 14635, "end": 14637, "loc": { "start": { "line": 555, "column": 48 }, "end": { "line": 555, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14637, "end": 14638, "loc": { "start": { "line": 555, "column": 50 }, "end": { "line": 555, "column": 51 } } }, { "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": 14648, "end": 14654, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 556, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 14655, "end": 14660, "loc": { "start": { "line": 556, "column": 15 }, "end": { "line": 556, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14660, "end": 14661, "loc": { "start": { "line": 556, "column": 20 }, "end": { "line": 556, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hoursAndMinutesShort", "start": 14661, "end": 14681, "loc": { "start": { "line": 556, "column": 21 }, "end": { "line": 556, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14681, "end": 14682, "loc": { "start": { "line": 556, "column": 41 }, "end": { "line": 556, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 14682, "end": 14689, "loc": { "start": { "line": 556, "column": 42 }, "end": { "line": 556, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14689, "end": 14690, "loc": { "start": { "line": 556, "column": 49 }, "end": { "line": 556, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14690, "end": 14701, "loc": { "start": { "line": 556, "column": 50 }, "end": { "line": 556, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14701, "end": 14702, "loc": { "start": { "line": 556, "column": 61 }, "end": { "line": 556, "column": 62 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14703, "end": 14705, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 14706, "end": 14707, "loc": { "start": { "line": 556, "column": 66 }, "end": { "line": 556, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minutes", "start": 14708, "end": 14715, "loc": { "start": { "line": 556, "column": 68 }, "end": { "line": 556, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14715, "end": 14716, "loc": { "start": { "line": 556, "column": 75 }, "end": { "line": 556, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14716, "end": 14717, "loc": { "start": { "line": 556, "column": 76 }, "end": { "line": 556, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 14717, "end": 14724, "loc": { "start": { "line": 556, "column": 77 }, "end": { "line": 556, "column": 84 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14724, "end": 14725, "loc": { "start": { "line": 556, "column": 84 }, "end": { "line": 556, "column": 85 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14725, "end": 14734, "loc": { "start": { "line": 556, "column": 85 }, "end": { "line": 556, "column": 94 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14734, "end": 14735, "loc": { "start": { "line": 556, "column": 94 }, "end": { "line": 556, "column": 95 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 14736, "end": 14738, "loc": { "start": { "line": 556, "column": 96 }, "end": { "line": 556, "column": 98 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 14739, "end": 14740, "loc": { "start": { "line": 556, "column": 99 }, "end": { "line": 556, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hours", "start": 14741, "end": 14746, "loc": { "start": { "line": 556, "column": 101 }, "end": { "line": 556, "column": 106 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14746, "end": 14747, "loc": { "start": { "line": 556, "column": 106 }, "end": { "line": 556, "column": 107 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14747, "end": 14748, "loc": { "start": { "line": 556, "column": 107 }, "end": { "line": 556, "column": 108 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14754, "end": 14755, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 557, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14757, "end": 14758, "loc": { "start": { "line": 558, "column": 0 }, "end": { "line": 558, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.5\"\r\n * @param {number} speed\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 14762, "end": 14927, "loc": { "start": { "line": 560, "column": 0 }, "end": { "line": 564, "column": 3 } } }, { "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": 14929, "end": 14935, "loc": { "start": { "line": 565, "column": 0 }, "end": { "line": 565, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 14936, "end": 14944, "loc": { "start": { "line": 565, "column": 7 }, "end": { "line": 565, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round1DigitLocalized", "start": 14945, "end": 14965, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14965, "end": 14966, "loc": { "start": { "line": 565, "column": 36 }, "end": { "line": 565, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 14966, "end": 14971, "loc": { "start": { "line": 565, "column": 37 }, "end": { "line": 565, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14971, "end": 14972, "loc": { "start": { "line": 565, "column": 42 }, "end": { "line": 565, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 14973, "end": 14982, "loc": { "start": { "line": 565, "column": 44 }, "end": { "line": 565, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14983, "end": 14984, "loc": { "start": { "line": 565, "column": 54 }, "end": { "line": 565, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 14985, "end": 14986, "loc": { "start": { "line": 565, "column": 56 }, "end": { "line": 565, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14986, "end": 14987, "loc": { "start": { "line": 565, "column": 57 }, "end": { "line": 565, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 14987, "end": 14993, "loc": { "start": { "line": 565, "column": 58 }, "end": { "line": 565, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14993, "end": 14994, "loc": { "start": { "line": 565, "column": 64 }, "end": { "line": 565, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decimalSeparator", "start": 14994, "end": 15010, "loc": { "start": { "line": 565, "column": 65 }, "end": { "line": 565, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15010, "end": 15011, "loc": { "start": { "line": 565, "column": 81 }, "end": { "line": 565, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15012, "end": 15013, "loc": { "start": { "line": 565, "column": 83 }, "end": { "line": 565, "column": 84 } } }, { "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": 15019, "end": 15025, "loc": { "start": { "line": 566, "column": 4 }, "end": { "line": 566, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round1Digit", "start": 15026, "end": 15037, "loc": { "start": { "line": 566, "column": 11 }, "end": { "line": 566, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15037, "end": 15038, "loc": { "start": { "line": 566, "column": 22 }, "end": { "line": 566, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 15038, "end": 15043, "loc": { "start": { "line": 566, "column": 23 }, "end": { "line": 566, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15043, "end": 15044, "loc": { "start": { "line": 566, "column": 28 }, "end": { "line": 566, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15044, "end": 15045, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 15045, "end": 15053, "loc": { "start": { "line": 566, "column": 30 }, "end": { "line": 566, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15053, "end": 15054, "loc": { "start": { "line": 566, "column": 38 }, "end": { "line": 566, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15054, "end": 15055, "loc": { "start": { "line": 566, "column": 39 }, "end": { "line": 566, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15055, "end": 15056, "loc": { "start": { "line": 566, "column": 40 }, "end": { "line": 566, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 15056, "end": 15063, "loc": { "start": { "line": 566, "column": 41 }, "end": { "line": 566, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15063, "end": 15064, "loc": { "start": { "line": 566, "column": 48 }, "end": { "line": 566, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 15064, "end": 15067, "loc": { "start": { "line": 566, "column": 49 }, "end": { "line": 566, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15067, "end": 15068, "loc": { "start": { "line": 566, "column": 52 }, "end": { "line": 566, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 15069, "end": 15078, "loc": { "start": { "line": 566, "column": 54 }, "end": { "line": 566, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15078, "end": 15079, "loc": { "start": { "line": 566, "column": 63 }, "end": { "line": 566, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15079, "end": 15080, "loc": { "start": { "line": 566, "column": 64 }, "end": { "line": 566, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15082, "end": 15083, "loc": { "start": { "line": 567, "column": 0 }, "end": { "line": 567, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Formats a number like 2.51 to \"2.51 items / s\"\r\n * @param {number} speed\r\n * @param {boolean=} double\r\n * @param {string=} separator The decimal separator for numbers like 50.1 (separator='.')\r\n ", "start": 15087, "end": 15292, "loc": { "start": { "line": 569, "column": 0 }, "end": { "line": 574, "column": 3 } } }, { "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": 15294, "end": 15300, "loc": { "start": { "line": 575, "column": 0 }, "end": { "line": 575, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 15301, "end": 15309, "loc": { "start": { "line": 575, "column": 7 }, "end": { "line": 575, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatItemsPerSecond", "start": 15310, "end": 15330, "loc": { "start": { "line": 575, "column": 16 }, "end": { "line": 575, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15330, "end": 15331, "loc": { "start": { "line": 575, "column": 36 }, "end": { "line": 575, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 15331, "end": 15336, "loc": { "start": { "line": 575, "column": 37 }, "end": { "line": 575, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15336, "end": 15337, "loc": { "start": { "line": 575, "column": 42 }, "end": { "line": 575, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "double", "start": 15338, "end": 15344, "loc": { "start": { "line": 575, "column": 44 }, "end": { "line": 575, "column": 50 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15345, "end": 15346, "loc": { "start": { "line": 575, "column": 51 }, "end": { "line": 575, "column": 52 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 15347, "end": 15352, "loc": { "start": { "line": 575, "column": 53 }, "end": { "line": 575, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15352, "end": 15353, "loc": { "start": { "line": 575, "column": 58 }, "end": { "line": 575, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 15354, "end": 15363, "loc": { "start": { "line": 575, "column": 60 }, "end": { "line": 575, "column": 69 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15364, "end": 15365, "loc": { "start": { "line": 575, "column": 70 }, "end": { "line": 575, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 15366, "end": 15367, "loc": { "start": { "line": 575, "column": 72 }, "end": { "line": 575, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15367, "end": 15368, "loc": { "start": { "line": 575, "column": 73 }, "end": { "line": 575, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "global", "start": 15368, "end": 15374, "loc": { "start": { "line": 575, "column": 74 }, "end": { "line": 575, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15374, "end": 15375, "loc": { "start": { "line": 575, "column": 80 }, "end": { "line": 575, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decimalSeparator", "start": 15375, "end": 15391, "loc": { "start": { "line": 575, "column": 81 }, "end": { "line": 575, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15391, "end": 15392, "loc": { "start": { "line": 575, "column": 97 }, "end": { "line": 575, "column": 98 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15393, "end": 15394, "loc": { "start": { "line": 575, "column": 99 }, "end": { "line": 575, "column": 100 } } }, { "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": 15400, "end": 15406, "loc": { "start": { "line": 576, "column": 4 }, "end": { "line": 576, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 15407, "end": 15412, "loc": { "start": { "line": 576, "column": 11 }, "end": { "line": 576, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 15413, "end": 15416, "loc": { "start": { "line": 576, "column": 17 }, "end": { "line": 576, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 15417, "end": 15420, "loc": { "start": { "line": 576, "column": 21 }, "end": { "line": 576, "column": 24 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15421, "end": 15422, "loc": { "start": { "line": 576, "column": 25 }, "end": { "line": 576, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 15432, "end": 15433, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15433, "end": 15434, "loc": { "start": { "line": 577, "column": 9 }, "end": { "line": 577, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 15434, "end": 15440, "loc": { "start": { "line": 577, "column": 10 }, "end": { "line": 577, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15440, "end": 15441, "loc": { "start": { "line": 577, "column": 16 }, "end": { "line": 577, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buildingPlacement", "start": 15441, "end": 15458, "loc": { "start": { "line": 577, "column": 17 }, "end": { "line": 577, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15458, "end": 15459, "loc": { "start": { "line": 577, "column": 34 }, "end": { "line": 577, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "infoTexts", "start": 15459, "end": 15468, "loc": { "start": { "line": 577, "column": 35 }, "end": { "line": 577, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15468, "end": 15469, "loc": { "start": { "line": 577, "column": 44 }, "end": { "line": 577, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oneItemPerSecond", "start": 15469, "end": 15485, "loc": { "start": { "line": 577, "column": 45 }, "end": { "line": 577, "column": 61 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15486, "end": 15487, "loc": { "start": { "line": 577, "column": 62 }, "end": { "line": 577, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 15497, "end": 15498, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15498, "end": 15499, "loc": { "start": { "line": 578, "column": 9 }, "end": { "line": 578, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 15499, "end": 15505, "loc": { "start": { "line": 578, "column": 10 }, "end": { "line": 578, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15505, "end": 15506, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buildingPlacement", "start": 15506, "end": 15523, "loc": { "start": { "line": 578, "column": 17 }, "end": { "line": 578, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15523, "end": 15524, "loc": { "start": { "line": 578, "column": 34 }, "end": { "line": 578, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "infoTexts", "start": 15524, "end": 15533, "loc": { "start": { "line": 578, "column": 35 }, "end": { "line": 578, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15533, "end": 15534, "loc": { "start": { "line": 578, "column": 44 }, "end": { "line": 578, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsPerSecond", "start": 15534, "end": 15548, "loc": { "start": { "line": 578, "column": 45 }, "end": { "line": 578, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15548, "end": 15549, "loc": { "start": { "line": 578, "column": 59 }, "end": { "line": 578, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 15549, "end": 15556, "loc": { "start": { "line": 578, "column": 60 }, "end": { "line": 578, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15556, "end": 15557, "loc": { "start": { "line": 578, "column": 67 }, "end": { "line": 578, "column": 68 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 15571, "end": 15576, "loc": { "start": { "line": 579, "column": 12 }, "end": { "line": 579, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15576, "end": 15577, "loc": { "start": { "line": 579, "column": 17 }, "end": { "line": 579, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round2Digits", "start": 15591, "end": 15603, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15603, "end": 15604, "loc": { "start": { "line": 580, "column": 24 }, "end": { "line": 580, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "speed", "start": 15604, "end": 15609, "loc": { "start": { "line": 580, "column": 25 }, "end": { "line": 580, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15609, "end": 15610, "loc": { "start": { "line": 580, "column": 30 }, "end": { "line": 580, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15610, "end": 15611, "loc": { "start": { "line": 580, "column": 31 }, "end": { "line": 580, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 15611, "end": 15619, "loc": { "start": { "line": 580, "column": 32 }, "end": { "line": 580, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15619, "end": 15620, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 580, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15620, "end": 15621, "loc": { "start": { "line": 580, "column": 41 }, "end": { "line": 580, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15621, "end": 15622, "loc": { "start": { "line": 580, "column": 42 }, "end": { "line": 580, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 15622, "end": 15629, "loc": { "start": { "line": 580, "column": 43 }, "end": { "line": 580, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15629, "end": 15630, "loc": { "start": { "line": 580, "column": 50 }, "end": { "line": 580, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 15630, "end": 15633, "loc": { "start": { "line": 580, "column": 51 }, "end": { "line": 580, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15633, "end": 15634, "loc": { "start": { "line": 580, "column": 54 }, "end": { "line": 580, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "separator", "start": 15635, "end": 15644, "loc": { "start": { "line": 580, "column": 56 }, "end": { "line": 580, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15644, "end": 15645, "loc": { "start": { "line": 580, "column": 65 }, "end": { "line": 580, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15655, "end": 15656, "loc": { "start": { "line": 581, "column": 8 }, "end": { "line": 581, "column": 9 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15657, "end": 15658, "loc": { "start": { "line": 581, "column": 10 }, "end": { "line": 581, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15659, "end": 15660, "loc": { "start": { "line": 581, "column": 12 }, "end": { "line": 581, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "double", "start": 15660, "end": 15666, "loc": { "start": { "line": 581, "column": 13 }, "end": { "line": 581, "column": 19 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15667, "end": 15668, "loc": { "start": { "line": 581, "column": 20 }, "end": { "line": 581, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 15669, "end": 15673, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 26 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15674, "end": 15675, "loc": { "start": { "line": 581, "column": 27 }, "end": { "line": 581, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 15676, "end": 15677, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15677, "end": 15678, "loc": { "start": { "line": 581, "column": 30 }, "end": { "line": 581, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 15678, "end": 15684, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15684, "end": 15685, "loc": { "start": { "line": 581, "column": 37 }, "end": { "line": 581, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buildingPlacement", "start": 15685, "end": 15702, "loc": { "start": { "line": 581, "column": 38 }, "end": { "line": 581, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15702, "end": 15703, "loc": { "start": { "line": 581, "column": 55 }, "end": { "line": 581, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "infoTexts", "start": 15703, "end": 15712, "loc": { "start": { "line": 581, "column": 56 }, "end": { "line": 581, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15712, "end": 15713, "loc": { "start": { "line": 581, "column": 65 }, "end": { "line": 581, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemsPerSecondDouble", "start": 15713, "end": 15733, "loc": { "start": { "line": 581, "column": 66 }, "end": { "line": 581, "column": 86 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15734, "end": 15735, "loc": { "start": { "line": 581, "column": 87 }, "end": { "line": 581, "column": 88 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 15736, "end": 15738, "loc": { "start": { "line": 581, "column": 89 }, "end": { "line": 581, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15738, "end": 15739, "loc": { "start": { "line": 581, "column": 91 }, "end": { "line": 581, "column": 92 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15739, "end": 15740, "loc": { "start": { "line": 581, "column": 92 }, "end": { "line": 581, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15742, "end": 15743, "loc": { "start": { "line": 582, "column": 0 }, "end": { "line": 582, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a flat 3x3 matrix clockwise\r\n * Entries:\r\n * 0 lo\r\n * 1 mo\r\n * 2 ro\r\n * 3 lm\r\n * 4 mm\r\n * 5 rm\r\n * 6 lu\r\n * 7 mu\r\n * 8 ru\r\n * @param {Array} flatMatrix\r\n ", "start": 15747, "end": 15927, "loc": { "start": { "line": 584, "column": 0 }, "end": { "line": 597, "column": 3 } } }, { "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": 15931, "end": 15937, "loc": { "start": { "line": 599, "column": 0 }, "end": { "line": 599, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 15938, "end": 15946, "loc": { "start": { "line": 599, "column": 7 }, "end": { "line": 599, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateFlatMatrix3x3", "start": 15947, "end": 15966, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15966, "end": 15967, "loc": { "start": { "line": 599, "column": 35 }, "end": { "line": 599, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 15967, "end": 15977, "loc": { "start": { "line": 599, "column": 36 }, "end": { "line": 599, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15977, "end": 15978, "loc": { "start": { "line": 599, "column": 46 }, "end": { "line": 599, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15979, "end": 15980, "loc": { "start": { "line": 599, "column": 48 }, "end": { "line": 599, "column": 49 } } }, { "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": 15986, "end": 15992, "loc": { "start": { "line": 600, "column": 4 }, "end": { "line": 600, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15993, "end": 15994, "loc": { "start": { "line": 600, "column": 11 }, "end": { "line": 600, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16004, "end": 16014, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16014, "end": 16015, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 16015, "end": 16016, "loc": { "start": { "line": 601, "column": 19 }, "end": { "line": 601, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16016, "end": 16017, "loc": { "start": { "line": 601, "column": 20 }, "end": { "line": 601, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16017, "end": 16018, "loc": { "start": { "line": 601, "column": 21 }, "end": { "line": 601, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16028, "end": 16038, "loc": { "start": { "line": 602, "column": 8 }, "end": { "line": 602, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16038, "end": 16039, "loc": { "start": { "line": 602, "column": 18 }, "end": { "line": 602, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 16039, "end": 16040, "loc": { "start": { "line": 602, "column": 19 }, "end": { "line": 602, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16040, "end": 16041, "loc": { "start": { "line": 602, "column": 20 }, "end": { "line": 602, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16041, "end": 16042, "loc": { "start": { "line": 602, "column": 21 }, "end": { "line": 602, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16052, "end": 16062, "loc": { "start": { "line": 603, "column": 8 }, "end": { "line": 603, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16062, "end": 16063, "loc": { "start": { "line": 603, "column": 18 }, "end": { "line": 603, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16063, "end": 16064, "loc": { "start": { "line": 603, "column": 19 }, "end": { "line": 603, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16064, "end": 16065, "loc": { "start": { "line": 603, "column": 20 }, "end": { "line": 603, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16065, "end": 16066, "loc": { "start": { "line": 603, "column": 21 }, "end": { "line": 603, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16076, "end": 16086, "loc": { "start": { "line": 604, "column": 8 }, "end": { "line": 604, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16086, "end": 16087, "loc": { "start": { "line": 604, "column": 18 }, "end": { "line": 604, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 16087, "end": 16088, "loc": { "start": { "line": 604, "column": 19 }, "end": { "line": 604, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16088, "end": 16089, "loc": { "start": { "line": 604, "column": 20 }, "end": { "line": 604, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16089, "end": 16090, "loc": { "start": { "line": 604, "column": 21 }, "end": { "line": 604, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16100, "end": 16110, "loc": { "start": { "line": 605, "column": 8 }, "end": { "line": 605, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16110, "end": 16111, "loc": { "start": { "line": 605, "column": 18 }, "end": { "line": 605, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 16111, "end": 16112, "loc": { "start": { "line": 605, "column": 19 }, "end": { "line": 605, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16112, "end": 16113, "loc": { "start": { "line": 605, "column": 20 }, "end": { "line": 605, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16113, "end": 16114, "loc": { "start": { "line": 605, "column": 21 }, "end": { "line": 605, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16124, "end": 16134, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16134, "end": 16135, "loc": { "start": { "line": 606, "column": 18 }, "end": { "line": 606, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16135, "end": 16136, "loc": { "start": { "line": 606, "column": 19 }, "end": { "line": 606, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16136, "end": 16137, "loc": { "start": { "line": 606, "column": 20 }, "end": { "line": 606, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16137, "end": 16138, "loc": { "start": { "line": 606, "column": 21 }, "end": { "line": 606, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16148, "end": 16158, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16158, "end": 16159, "loc": { "start": { "line": 607, "column": 18 }, "end": { "line": 607, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 8, "start": 16159, "end": 16160, "loc": { "start": { "line": 607, "column": 19 }, "end": { "line": 607, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16160, "end": 16161, "loc": { "start": { "line": 607, "column": 20 }, "end": { "line": 607, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16161, "end": 16162, "loc": { "start": { "line": 607, "column": 21 }, "end": { "line": 607, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16172, "end": 16182, "loc": { "start": { "line": 608, "column": 8 }, "end": { "line": 608, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16182, "end": 16183, "loc": { "start": { "line": 608, "column": 18 }, "end": { "line": 608, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 16183, "end": 16184, "loc": { "start": { "line": 608, "column": 19 }, "end": { "line": 608, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16184, "end": 16185, "loc": { "start": { "line": 608, "column": 20 }, "end": { "line": 608, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16185, "end": 16186, "loc": { "start": { "line": 608, "column": 21 }, "end": { "line": 608, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flatMatrix", "start": 16196, "end": 16206, "loc": { "start": { "line": 609, "column": 8 }, "end": { "line": 609, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16206, "end": 16207, "loc": { "start": { "line": 609, "column": 18 }, "end": { "line": 609, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 16207, "end": 16208, "loc": { "start": { "line": 609, "column": 19 }, "end": { "line": 609, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16208, "end": 16209, "loc": { "start": { "line": 609, "column": 20 }, "end": { "line": 609, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16209, "end": 16210, "loc": { "start": { "line": 609, "column": 21 }, "end": { "line": 609, "column": 22 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16216, "end": 16217, "loc": { "start": { "line": 610, "column": 4 }, "end": { "line": 610, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16217, "end": 16218, "loc": { "start": { "line": 610, "column": 5 }, "end": { "line": 610, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16220, "end": 16221, "loc": { "start": { "line": 611, "column": 0 }, "end": { "line": 611, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates rotated variants of the matrix\r\n * @param {Array} originalMatrix\r\n * @returns {Object>}\r\n ", "start": 16225, "end": 16365, "loc": { "start": { "line": 613, "column": 0 }, "end": { "line": 617, "column": 3 } } }, { "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": 16367, "end": 16373, "loc": { "start": { "line": 618, "column": 0 }, "end": { "line": 618, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 16374, "end": 16382, "loc": { "start": { "line": 618, "column": 7 }, "end": { "line": 618, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateMatrixRotations", "start": 16383, "end": 16406, "loc": { "start": { "line": 618, "column": 16 }, "end": { "line": 618, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16406, "end": 16407, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16407, "end": 16421, "loc": { "start": { "line": 618, "column": 40 }, "end": { "line": 618, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16421, "end": 16422, "loc": { "start": { "line": 618, "column": 54 }, "end": { "line": 618, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16423, "end": 16424, "loc": { "start": { "line": 618, "column": 56 }, "end": { "line": 618, "column": 57 } } }, { "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": 16430, "end": 16435, "loc": { "start": { "line": 619, "column": 4 }, "end": { "line": 619, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 16436, "end": 16442, "loc": { "start": { "line": 619, "column": 10 }, "end": { "line": 619, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16443, "end": 16444, "loc": { "start": { "line": 619, "column": 17 }, "end": { "line": 619, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16445, "end": 16446, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16456, "end": 16457, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16457, "end": 16458, "loc": { "start": { "line": 620, "column": 9 }, "end": { "line": 620, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16459, "end": 16473, "loc": { "start": { "line": 620, "column": 11 }, "end": { "line": 620, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16473, "end": 16474, "loc": { "start": { "line": 620, "column": 25 }, "end": { "line": 620, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16480, "end": 16481, "loc": { "start": { "line": 621, "column": 4 }, "end": { "line": 621, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16481, "end": 16482, "loc": { "start": { "line": 621, "column": 5 }, "end": { "line": 621, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16490, "end": 16504, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16505, "end": 16506, "loc": { "start": { "line": 623, "column": 19 }, "end": { "line": 623, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateFlatMatrix3x3", "start": 16507, "end": 16526, "loc": { "start": { "line": 623, "column": 21 }, "end": { "line": 623, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16526, "end": 16527, "loc": { "start": { "line": 623, "column": 40 }, "end": { "line": 623, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16527, "end": 16541, "loc": { "start": { "line": 623, "column": 41 }, "end": { "line": 623, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16541, "end": 16542, "loc": { "start": { "line": 623, "column": 55 }, "end": { "line": 623, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16542, "end": 16543, "loc": { "start": { "line": 623, "column": 56 }, "end": { "line": 623, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 16549, "end": 16555, "loc": { "start": { "line": 624, "column": 4 }, "end": { "line": 624, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16555, "end": 16556, "loc": { "start": { "line": 624, "column": 10 }, "end": { "line": 624, "column": 11 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 90, "start": 16556, "end": 16558, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 13 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16558, "end": 16559, "loc": { "start": { "line": 624, "column": 13 }, "end": { "line": 624, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16560, "end": 16561, "loc": { "start": { "line": 624, "column": 15 }, "end": { "line": 624, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16562, "end": 16576, "loc": { "start": { "line": 624, "column": 17 }, "end": { "line": 624, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16576, "end": 16577, "loc": { "start": { "line": 624, "column": 31 }, "end": { "line": 624, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16585, "end": 16599, "loc": { "start": { "line": 626, "column": 4 }, "end": { "line": 626, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16600, "end": 16601, "loc": { "start": { "line": 626, "column": 19 }, "end": { "line": 626, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateFlatMatrix3x3", "start": 16602, "end": 16621, "loc": { "start": { "line": 626, "column": 21 }, "end": { "line": 626, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16621, "end": 16622, "loc": { "start": { "line": 626, "column": 40 }, "end": { "line": 626, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16622, "end": 16636, "loc": { "start": { "line": 626, "column": 41 }, "end": { "line": 626, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16636, "end": 16637, "loc": { "start": { "line": 626, "column": 55 }, "end": { "line": 626, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16637, "end": 16638, "loc": { "start": { "line": 626, "column": 56 }, "end": { "line": 626, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 16644, "end": 16650, "loc": { "start": { "line": 627, "column": 4 }, "end": { "line": 627, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16650, "end": 16651, "loc": { "start": { "line": 627, "column": 10 }, "end": { "line": 627, "column": 11 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 180, "start": 16651, "end": 16654, "loc": { "start": { "line": 627, "column": 11 }, "end": { "line": 627, "column": 14 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16654, "end": 16655, "loc": { "start": { "line": 627, "column": 14 }, "end": { "line": 627, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16656, "end": 16657, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16658, "end": 16672, "loc": { "start": { "line": 627, "column": 18 }, "end": { "line": 627, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16672, "end": 16673, "loc": { "start": { "line": 627, "column": 32 }, "end": { "line": 627, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16681, "end": 16695, "loc": { "start": { "line": 629, "column": 4 }, "end": { "line": 629, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16696, "end": 16697, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 629, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateFlatMatrix3x3", "start": 16698, "end": 16717, "loc": { "start": { "line": 629, "column": 21 }, "end": { "line": 629, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16717, "end": 16718, "loc": { "start": { "line": 629, "column": 40 }, "end": { "line": 629, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16718, "end": 16732, "loc": { "start": { "line": 629, "column": 41 }, "end": { "line": 629, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16732, "end": 16733, "loc": { "start": { "line": 629, "column": 55 }, "end": { "line": 629, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16733, "end": 16734, "loc": { "start": { "line": 629, "column": 56 }, "end": { "line": 629, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 16740, "end": 16746, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16746, "end": 16747, "loc": { "start": { "line": 630, "column": 10 }, "end": { "line": 630, "column": 11 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 270, "start": 16747, "end": 16750, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 14 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16750, "end": 16751, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16752, "end": 16753, "loc": { "start": { "line": 630, "column": 16 }, "end": { "line": 630, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalMatrix", "start": 16754, "end": 16768, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16768, "end": 16769, "loc": { "start": { "line": 630, "column": 32 }, "end": { "line": 630, "column": 33 } } }, { "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": 16777, "end": 16783, "loc": { "start": { "line": 632, "column": 4 }, "end": { "line": 632, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 16784, "end": 16790, "loc": { "start": { "line": 632, "column": 11 }, "end": { "line": 632, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16790, "end": 16791, "loc": { "start": { "line": 632, "column": 17 }, "end": { "line": 632, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16793, "end": 16794, "loc": { "start": { "line": 633, "column": 0 }, "end": { "line": 633, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @typedef {{\r\n * top: any,\r\n * right: any,\r\n * bottom: any,\r\n * left: any\r\n * }} DirectionalObject\r\n ", "start": 16798, "end": 16920, "loc": { "start": { "line": 635, "column": 0 }, "end": { "line": 643, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates a directional object\r\n * @param {DirectionalObject} obj\r\n * @returns {DirectionalObject}\r\n ", "start": 16924, "end": 17033, "loc": { "start": { "line": 645, "column": 0 }, "end": { "line": 649, "column": 3 } } }, { "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": 17035, "end": 17041, "loc": { "start": { "line": 650, "column": 0 }, "end": { "line": 650, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 17042, "end": 17050, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateDirectionalObject", "start": 17051, "end": 17074, "loc": { "start": { "line": 650, "column": 16 }, "end": { "line": 650, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17074, "end": 17075, "loc": { "start": { "line": 650, "column": 39 }, "end": { "line": 650, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 17075, "end": 17078, "loc": { "start": { "line": 650, "column": 40 }, "end": { "line": 650, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17078, "end": 17079, "loc": { "start": { "line": 650, "column": 43 }, "end": { "line": 650, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 17080, "end": 17088, "loc": { "start": { "line": 650, "column": 45 }, "end": { "line": 650, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17088, "end": 17089, "loc": { "start": { "line": 650, "column": 53 }, "end": { "line": 650, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17090, "end": 17091, "loc": { "start": { "line": 650, "column": 55 }, "end": { "line": 650, "column": 56 } } }, { "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": 17097, "end": 17102, "loc": { "start": { "line": 651, "column": 4 }, "end": { "line": 651, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17103, "end": 17108, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17109, "end": 17110, "loc": { "start": { "line": 651, "column": 16 }, "end": { "line": 651, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17111, "end": 17112, "loc": { "start": { "line": 651, "column": 18 }, "end": { "line": 651, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 17112, "end": 17115, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17115, "end": 17116, "loc": { "start": { "line": 651, "column": 22 }, "end": { "line": 651, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "top", "start": 17116, "end": 17119, "loc": { "start": { "line": 651, "column": 23 }, "end": { "line": 651, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17119, "end": 17120, "loc": { "start": { "line": 651, "column": 26 }, "end": { "line": 651, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 17121, "end": 17124, "loc": { "start": { "line": 651, "column": 28 }, "end": { "line": 651, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17124, "end": 17125, "loc": { "start": { "line": 651, "column": 31 }, "end": { "line": 651, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 17125, "end": 17130, "loc": { "start": { "line": 651, "column": 32 }, "end": { "line": 651, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17130, "end": 17131, "loc": { "start": { "line": 651, "column": 37 }, "end": { "line": 651, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 17132, "end": 17135, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17135, "end": 17136, "loc": { "start": { "line": 651, "column": 42 }, "end": { "line": 651, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bottom", "start": 17136, "end": 17142, "loc": { "start": { "line": 651, "column": 43 }, "end": { "line": 651, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17142, "end": 17143, "loc": { "start": { "line": 651, "column": 49 }, "end": { "line": 651, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 17144, "end": 17147, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 651, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17147, "end": 17148, "loc": { "start": { "line": 651, "column": 54 }, "end": { "line": 651, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 17148, "end": 17152, "loc": { "start": { "line": 651, "column": 55 }, "end": { "line": 651, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17152, "end": 17153, "loc": { "start": { "line": 651, "column": 59 }, "end": { "line": 651, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17153, "end": 17154, "loc": { "start": { "line": 651, "column": 60 }, "end": { "line": 651, "column": 61 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 17160, "end": 17165, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 652, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17166, "end": 17167, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 17167, "end": 17175, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 17176, "end": 17179, "loc": { "start": { "line": 652, "column": 20 }, "end": { "line": 652, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17180, "end": 17181, "loc": { "start": { "line": 652, "column": 24 }, "end": { "line": 652, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17181, "end": 17182, "loc": { "start": { "line": 652, "column": 25 }, "end": { "line": 652, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17183, "end": 17184, "loc": { "start": { "line": 652, "column": 27 }, "end": { "line": 652, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 17194, "end": 17202, "loc": { "start": { "line": 653, "column": 8 }, "end": { "line": 653, "column": 16 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 17203, "end": 17205, "loc": { "start": { "line": 653, "column": 17 }, "end": { "line": 653, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 90, "start": 17206, "end": 17208, "loc": { "start": { "line": 653, "column": 20 }, "end": { "line": 653, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17208, "end": 17209, "loc": { "start": { "line": 653, "column": 22 }, "end": { "line": 653, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17219, "end": 17224, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17224, "end": 17225, "loc": { "start": { "line": 654, "column": 13 }, "end": { "line": 654, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 17225, "end": 17229, "loc": { "start": { "line": 654, "column": 14 }, "end": { "line": 654, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17229, "end": 17230, "loc": { "start": { "line": 654, "column": 18 }, "end": { "line": 654, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17230, "end": 17235, "loc": { "start": { "line": 654, "column": 19 }, "end": { "line": 654, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17235, "end": 17236, "loc": { "start": { "line": 654, "column": 24 }, "end": { "line": 654, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shift", "start": 17236, "end": 17241, "loc": { "start": { "line": 654, "column": 25 }, "end": { "line": 654, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17241, "end": 17242, "loc": { "start": { "line": 654, "column": 30 }, "end": { "line": 654, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17242, "end": 17243, "loc": { "start": { "line": 654, "column": 31 }, "end": { "line": 654, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17243, "end": 17244, "loc": { "start": { "line": 654, "column": 32 }, "end": { "line": 654, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17244, "end": 17245, "loc": { "start": { "line": 654, "column": 33 }, "end": { "line": 654, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17251, "end": 17252, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 5 } } }, { "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": 17260, "end": 17266, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 657, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17267, "end": 17268, "loc": { "start": { "line": 657, "column": 11 }, "end": { "line": 657, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "top", "start": 17278, "end": 17281, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17281, "end": 17282, "loc": { "start": { "line": 658, "column": 11 }, "end": { "line": 658, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17283, "end": 17288, "loc": { "start": { "line": 658, "column": 13 }, "end": { "line": 658, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17288, "end": 17289, "loc": { "start": { "line": 658, "column": 18 }, "end": { "line": 658, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17289, "end": 17290, "loc": { "start": { "line": 658, "column": 19 }, "end": { "line": 658, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17290, "end": 17291, "loc": { "start": { "line": 658, "column": 20 }, "end": { "line": 658, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17291, "end": 17292, "loc": { "start": { "line": 658, "column": 21 }, "end": { "line": 658, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 17302, "end": 17307, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17307, "end": 17308, "loc": { "start": { "line": 659, "column": 13 }, "end": { "line": 659, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17309, "end": 17314, "loc": { "start": { "line": 659, "column": 15 }, "end": { "line": 659, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17314, "end": 17315, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 17315, "end": 17316, "loc": { "start": { "line": 659, "column": 21 }, "end": { "line": 659, "column": 22 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17316, "end": 17317, "loc": { "start": { "line": 659, "column": 22 }, "end": { "line": 659, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17317, "end": 17318, "loc": { "start": { "line": 659, "column": 23 }, "end": { "line": 659, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bottom", "start": 17328, "end": 17334, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17334, "end": 17335, "loc": { "start": { "line": 660, "column": 14 }, "end": { "line": 660, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17336, "end": 17341, "loc": { "start": { "line": 660, "column": 16 }, "end": { "line": 660, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17341, "end": 17342, "loc": { "start": { "line": 660, "column": 21 }, "end": { "line": 660, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 17342, "end": 17343, "loc": { "start": { "line": 660, "column": 22 }, "end": { "line": 660, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17343, "end": 17344, "loc": { "start": { "line": 660, "column": 23 }, "end": { "line": 660, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17344, "end": 17345, "loc": { "start": { "line": 660, "column": 24 }, "end": { "line": 660, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 17355, "end": 17359, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17359, "end": 17360, "loc": { "start": { "line": 661, "column": 12 }, "end": { "line": 661, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "queue", "start": 17361, "end": 17366, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17366, "end": 17367, "loc": { "start": { "line": 661, "column": 19 }, "end": { "line": 661, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 17367, "end": 17368, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17368, "end": 17369, "loc": { "start": { "line": 661, "column": 21 }, "end": { "line": 661, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17369, "end": 17370, "loc": { "start": { "line": 661, "column": 22 }, "end": { "line": 661, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17376, "end": 17377, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 662, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17377, "end": 17378, "loc": { "start": { "line": 662, "column": 5 }, "end": { "line": 662, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17380, "end": 17381, "loc": { "start": { "line": 663, "column": 0 }, "end": { "line": 663, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Modulo which works for negative numbers\r\n * @param {number} n\r\n * @param {number} m\r\n ", "start": 17385, "end": 17481, "loc": { "start": { "line": 665, "column": 0 }, "end": { "line": 669, "column": 3 } } }, { "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": 17483, "end": 17489, "loc": { "start": { "line": 670, "column": 0 }, "end": { "line": 670, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 17490, "end": 17498, "loc": { "start": { "line": 670, "column": 7 }, "end": { "line": 670, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "safeModulo", "start": 17499, "end": 17509, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17509, "end": 17510, "loc": { "start": { "line": 670, "column": 26 }, "end": { "line": 670, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 17510, "end": 17511, "loc": { "start": { "line": 670, "column": 27 }, "end": { "line": 670, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17511, "end": 17512, "loc": { "start": { "line": 670, "column": 28 }, "end": { "line": 670, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 17513, "end": 17514, "loc": { "start": { "line": 670, "column": 30 }, "end": { "line": 670, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17514, "end": 17515, "loc": { "start": { "line": 670, "column": 31 }, "end": { "line": 670, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17516, "end": 17517, "loc": { "start": { "line": 670, "column": 33 }, "end": { "line": 670, "column": 34 } } }, { "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": 17523, "end": 17529, "loc": { "start": { "line": 671, "column": 4 }, "end": { "line": 671, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17530, "end": 17531, "loc": { "start": { "line": 671, "column": 11 }, "end": { "line": 671, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17531, "end": 17532, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 17532, "end": 17533, "loc": { "start": { "line": 671, "column": 13 }, "end": { "line": 671, "column": 14 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 17534, "end": 17535, "loc": { "start": { "line": 671, "column": 15 }, "end": { "line": 671, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 17536, "end": 17537, "loc": { "start": { "line": 671, "column": 17 }, "end": { "line": 671, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17537, "end": 17538, "loc": { "start": { "line": 671, "column": 18 }, "end": { "line": 671, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17539, "end": 17540, "loc": { "start": { "line": 671, "column": 20 }, "end": { "line": 671, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 17541, "end": 17542, "loc": { "start": { "line": 671, "column": 22 }, "end": { "line": 671, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17542, "end": 17543, "loc": { "start": { "line": 671, "column": 23 }, "end": { "line": 671, "column": 24 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 17544, "end": 17545, "loc": { "start": { "line": 671, "column": 25 }, "end": { "line": 671, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "m", "start": 17546, "end": 17547, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17547, "end": 17548, "loc": { "start": { "line": 671, "column": 28 }, "end": { "line": 671, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17550, "end": 17551, "loc": { "start": { "line": 672, "column": 0 }, "end": { "line": 672, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns a smooth pulse between 0 and 1\r\n * @param {number} time time in seconds\r\n * @returns {number}\r\n ", "start": 17555, "end": 17669, "loc": { "start": { "line": 674, "column": 0 }, "end": { "line": 678, "column": 3 } } }, { "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": 17671, "end": 17677, "loc": { "start": { "line": 679, "column": 0 }, "end": { "line": 679, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 17678, "end": 17686, "loc": { "start": { "line": 679, "column": 7 }, "end": { "line": 679, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smoothPulse", "start": 17687, "end": 17698, "loc": { "start": { "line": 679, "column": 16 }, "end": { "line": 679, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17698, "end": 17699, "loc": { "start": { "line": 679, "column": 27 }, "end": { "line": 679, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 17699, "end": 17703, "loc": { "start": { "line": 679, "column": 28 }, "end": { "line": 679, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17703, "end": 17704, "loc": { "start": { "line": 679, "column": 32 }, "end": { "line": 679, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17705, "end": 17706, "loc": { "start": { "line": 679, "column": 34 }, "end": { "line": 679, "column": 35 } } }, { "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": 17712, "end": 17718, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 680, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 17719, "end": 17723, "loc": { "start": { "line": 680, "column": 11 }, "end": { "line": 680, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17723, "end": 17724, "loc": { "start": { "line": 680, "column": 15 }, "end": { "line": 680, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sin", "start": 17724, "end": 17727, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17727, "end": 17728, "loc": { "start": { "line": 680, "column": 19 }, "end": { "line": 680, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 17728, "end": 17732, "loc": { "start": { "line": 680, "column": 20 }, "end": { "line": 680, "column": 24 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 17733, "end": 17734, "loc": { "start": { "line": 680, "column": 25 }, "end": { "line": 680, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 17735, "end": 17736, "loc": { "start": { "line": 680, "column": 27 }, "end": { "line": 680, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17736, "end": 17737, "loc": { "start": { "line": 680, "column": 28 }, "end": { "line": 680, "column": 29 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 17738, "end": 17739, "loc": { "start": { "line": 680, "column": 30 }, "end": { "line": 680, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 17740, "end": 17743, "loc": { "start": { "line": 680, "column": 32 }, "end": { "line": 680, "column": 35 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17744, "end": 17745, "loc": { "start": { "line": 680, "column": 36 }, "end": { "line": 680, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 17746, "end": 17749, "loc": { "start": { "line": 680, "column": 38 }, "end": { "line": 680, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17749, "end": 17750, "loc": { "start": { "line": 680, "column": 41 }, "end": { "line": 680, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17752, "end": 17753, "loc": { "start": { "line": 681, "column": 0 }, "end": { "line": 681, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Fills in a tag\r\n * @param {string} translation\r\n * @param {string} link\r\n ", "start": 17757, "end": 17848, "loc": { "start": { "line": 683, "column": 0 }, "end": { "line": 687, "column": 3 } } }, { "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": 17850, "end": 17856, "loc": { "start": { "line": 688, "column": 0 }, "end": { "line": 688, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 17857, "end": 17865, "loc": { "start": { "line": 688, "column": 7 }, "end": { "line": 688, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillInLinkIntoTranslation", "start": 17866, "end": 17891, "loc": { "start": { "line": 688, "column": 16 }, "end": { "line": 688, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17891, "end": 17892, "loc": { "start": { "line": 688, "column": 41 }, "end": { "line": 688, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translation", "start": 17892, "end": 17903, "loc": { "start": { "line": 688, "column": 42 }, "end": { "line": 688, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17903, "end": 17904, "loc": { "start": { "line": 688, "column": 53 }, "end": { "line": 688, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "link", "start": 17905, "end": 17909, "loc": { "start": { "line": 688, "column": 55 }, "end": { "line": 688, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17909, "end": 17910, "loc": { "start": { "line": 688, "column": 59 }, "end": { "line": 688, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17911, "end": 17912, "loc": { "start": { "line": 688, "column": 61 }, "end": { "line": 688, "column": 62 } } }, { "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": 17918, "end": 17924, "loc": { "start": { "line": 689, "column": 4 }, "end": { "line": 689, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translation", "start": 17925, "end": 17936, "loc": { "start": { "line": 689, "column": 11 }, "end": { "line": 689, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17946, "end": 17947, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 690, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 17947, "end": 17954, "loc": { "start": { "line": 690, "column": 9 }, "end": { "line": 690, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17954, "end": 17955, "loc": { "start": { "line": 690, "column": 16 }, "end": { "line": 690, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 17955, "end": 17963, "loc": { "start": { "line": 690, "column": 17 }, "end": { "line": 690, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17963, "end": 17964, "loc": { "start": { "line": 690, "column": 25 }, "end": { "line": 690, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 17986, "end": 18006, "loc": { "start": { "line": 690, "column": 48 }, "end": { "line": 690, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18006, "end": 18007, "loc": { "start": { "line": 690, "column": 68 }, "end": { "line": 690, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18017, "end": 18018, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 18018, "end": 18025, "loc": { "start": { "line": 691, "column": 9 }, "end": { "line": 691, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18025, "end": 18026, "loc": { "start": { "line": 691, "column": 16 }, "end": { "line": 691, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18026, "end": 18035, "loc": { "start": { "line": 691, "column": 17 }, "end": { "line": 691, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18035, "end": 18036, "loc": { "start": { "line": 691, "column": 26 }, "end": { "line": 691, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18037, "end": 18043, "loc": { "start": { "line": 691, "column": 28 }, "end": { "line": 691, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18043, "end": 18044, "loc": { "start": { "line": 691, "column": 34 }, "end": { "line": 691, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18044, "end": 18045, "loc": { "start": { "line": 691, "column": 35 }, "end": { "line": 691, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18047, "end": 18048, "loc": { "start": { "line": 692, "column": 0 }, "end": { "line": 692, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a file download\r\n * @param {string} filename\r\n * @param {string} text\r\n ", "start": 18052, "end": 18144, "loc": { "start": { "line": 694, "column": 0 }, "end": { "line": 698, "column": 3 } } }, { "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": 18146, "end": 18152, "loc": { "start": { "line": 699, "column": 0 }, "end": { "line": 699, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 18153, "end": 18161, "loc": { "start": { "line": 699, "column": 7 }, "end": { "line": 699, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateFileDownload", "start": 18162, "end": 18182, "loc": { "start": { "line": 699, "column": 16 }, "end": { "line": 699, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18182, "end": 18183, "loc": { "start": { "line": 699, "column": 36 }, "end": { "line": 699, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filename", "start": 18183, "end": 18191, "loc": { "start": { "line": 699, "column": 37 }, "end": { "line": 699, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18191, "end": 18192, "loc": { "start": { "line": 699, "column": 45 }, "end": { "line": 699, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 18193, "end": 18197, "loc": { "start": { "line": 699, "column": 47 }, "end": { "line": 699, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18197, "end": 18198, "loc": { "start": { "line": 699, "column": 51 }, "end": { "line": 699, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18199, "end": 18200, "loc": { "start": { "line": 699, "column": 53 }, "end": { "line": 699, "column": 54 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 18206, "end": 18209, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 700, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18210, "end": 18217, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18218, "end": 18219, "loc": { "start": { "line": 700, "column": 16 }, "end": { "line": 700, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18220, "end": 18228, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18228, "end": 18229, "loc": { "start": { "line": 700, "column": 26 }, "end": { "line": 700, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 18229, "end": 18242, "loc": { "start": { "line": 700, "column": 27 }, "end": { "line": 700, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18242, "end": 18243, "loc": { "start": { "line": 700, "column": 40 }, "end": { "line": 700, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "a", "start": 18243, "end": 18246, "loc": { "start": { "line": 700, "column": 41 }, "end": { "line": 700, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18246, "end": 18247, "loc": { "start": { "line": 700, "column": 44 }, "end": { "line": 700, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18247, "end": 18248, "loc": { "start": { "line": 700, "column": 45 }, "end": { "line": 700, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18254, "end": 18261, "loc": { "start": { "line": 701, "column": 4 }, "end": { "line": 701, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18261, "end": 18262, "loc": { "start": { "line": 701, "column": 11 }, "end": { "line": 701, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18262, "end": 18274, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18274, "end": 18275, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "href", "start": 18275, "end": 18281, "loc": { "start": { "line": 701, "column": 25 }, "end": { "line": 701, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18281, "end": 18282, "loc": { "start": { "line": 701, "column": 31 }, "end": { "line": 701, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data:text/plain;charset=utf-8,", "start": 18283, "end": 18315, "loc": { "start": { "line": 701, "column": 33 }, "end": { "line": 701, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 18316, "end": 18317, "loc": { "start": { "line": 701, "column": 66 }, "end": { "line": 701, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "encodeURIComponent", "start": 18318, "end": 18336, "loc": { "start": { "line": 701, "column": 68 }, "end": { "line": 701, "column": 86 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18336, "end": 18337, "loc": { "start": { "line": 701, "column": 86 }, "end": { "line": 701, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 18337, "end": 18341, "loc": { "start": { "line": 701, "column": 87 }, "end": { "line": 701, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18341, "end": 18342, "loc": { "start": { "line": 701, "column": 91 }, "end": { "line": 701, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18342, "end": 18343, "loc": { "start": { "line": 701, "column": 92 }, "end": { "line": 701, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18343, "end": 18344, "loc": { "start": { "line": 701, "column": 93 }, "end": { "line": 701, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18350, "end": 18357, "loc": { "start": { "line": 702, "column": 4 }, "end": { "line": 702, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18357, "end": 18358, "loc": { "start": { "line": 702, "column": 11 }, "end": { "line": 702, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18358, "end": 18370, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18370, "end": 18371, "loc": { "start": { "line": 702, "column": 24 }, "end": { "line": 702, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "download", "start": 18371, "end": 18381, "loc": { "start": { "line": 702, "column": 25 }, "end": { "line": 702, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18381, "end": 18382, "loc": { "start": { "line": 702, "column": 35 }, "end": { "line": 702, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filename", "start": 18383, "end": 18391, "loc": { "start": { "line": 702, "column": 37 }, "end": { "line": 702, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18391, "end": 18392, "loc": { "start": { "line": 702, "column": 45 }, "end": { "line": 702, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18392, "end": 18393, "loc": { "start": { "line": 702, "column": 46 }, "end": { "line": 702, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18401, "end": 18408, "loc": { "start": { "line": 704, "column": 4 }, "end": { "line": 704, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18408, "end": 18409, "loc": { "start": { "line": 704, "column": 11 }, "end": { "line": 704, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "style", "start": 18409, "end": 18414, "loc": { "start": { "line": 704, "column": 12 }, "end": { "line": 704, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18414, "end": 18415, "loc": { "start": { "line": 704, "column": 17 }, "end": { "line": 704, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 18415, "end": 18422, "loc": { "start": { "line": 704, "column": 18 }, "end": { "line": 704, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18423, "end": 18424, "loc": { "start": { "line": 704, "column": 26 }, "end": { "line": 704, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "none", "start": 18425, "end": 18431, "loc": { "start": { "line": 704, "column": 28 }, "end": { "line": 704, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18431, "end": 18432, "loc": { "start": { "line": 704, "column": 34 }, "end": { "line": 704, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18438, "end": 18446, "loc": { "start": { "line": 705, "column": 4 }, "end": { "line": 705, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18446, "end": 18447, "loc": { "start": { "line": 705, "column": 12 }, "end": { "line": 705, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 18447, "end": 18451, "loc": { "start": { "line": 705, "column": 13 }, "end": { "line": 705, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18451, "end": 18452, "loc": { "start": { "line": 705, "column": 17 }, "end": { "line": 705, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 18452, "end": 18463, "loc": { "start": { "line": 705, "column": 18 }, "end": { "line": 705, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18463, "end": 18464, "loc": { "start": { "line": 705, "column": 29 }, "end": { "line": 705, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18464, "end": 18471, "loc": { "start": { "line": 705, "column": 30 }, "end": { "line": 705, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18471, "end": 18472, "loc": { "start": { "line": 705, "column": 37 }, "end": { "line": 705, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18472, "end": 18473, "loc": { "start": { "line": 705, "column": 38 }, "end": { "line": 705, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18481, "end": 18488, "loc": { "start": { "line": 707, "column": 4 }, "end": { "line": 707, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18488, "end": 18489, "loc": { "start": { "line": 707, "column": 11 }, "end": { "line": 707, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "click", "start": 18489, "end": 18494, "loc": { "start": { "line": 707, "column": 12 }, "end": { "line": 707, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18494, "end": 18495, "loc": { "start": { "line": 707, "column": 17 }, "end": { "line": 707, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18495, "end": 18496, "loc": { "start": { "line": 707, "column": 18 }, "end": { "line": 707, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18496, "end": 18497, "loc": { "start": { "line": 707, "column": 19 }, "end": { "line": 707, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18503, "end": 18511, "loc": { "start": { "line": 708, "column": 4 }, "end": { "line": 708, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18511, "end": 18512, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "body", "start": 18512, "end": 18516, "loc": { "start": { "line": 708, "column": 13 }, "end": { "line": 708, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18516, "end": 18517, "loc": { "start": { "line": 708, "column": 17 }, "end": { "line": 708, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeChild", "start": 18517, "end": 18528, "loc": { "start": { "line": 708, "column": 18 }, "end": { "line": 708, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18528, "end": 18529, "loc": { "start": { "line": 708, "column": 29 }, "end": { "line": 708, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 18529, "end": 18536, "loc": { "start": { "line": 708, "column": 30 }, "end": { "line": 708, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18536, "end": 18537, "loc": { "start": { "line": 708, "column": 37 }, "end": { "line": 708, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18537, "end": 18538, "loc": { "start": { "line": 708, "column": 38 }, "end": { "line": 708, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18540, "end": 18541, "loc": { "start": { "line": 709, "column": 0 }, "end": { "line": 709, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Starts a file chooser\r\n * @param {string} acceptedType\r\n ", "start": 18545, "end": 18612, "loc": { "start": { "line": 711, "column": 0 }, "end": { "line": 714, "column": 3 } } }, { "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": 18614, "end": 18620, "loc": { "start": { "line": 715, "column": 0 }, "end": { "line": 715, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 18621, "end": 18629, "loc": { "start": { "line": 715, "column": 7 }, "end": { "line": 715, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startFileChoose", "start": 18630, "end": 18645, "loc": { "start": { "line": 715, "column": 16 }, "end": { "line": 715, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18645, "end": 18646, "loc": { "start": { "line": 715, "column": 31 }, "end": { "line": 715, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptedType", "start": 18646, "end": 18658, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18659, "end": 18660, "loc": { "start": { "line": 715, "column": 45 }, "end": { "line": 715, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".bin", "start": 18661, "end": 18667, "loc": { "start": { "line": 715, "column": 47 }, "end": { "line": 715, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18667, "end": 18668, "loc": { "start": { "line": 715, "column": 53 }, "end": { "line": 715, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18669, "end": 18670, "loc": { "start": { "line": 715, "column": 55 }, "end": { "line": 715, "column": 56 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 18676, "end": 18679, "loc": { "start": { "line": 716, "column": 4 }, "end": { "line": 716, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18680, "end": 18685, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18686, "end": 18687, "loc": { "start": { "line": 716, "column": 14 }, "end": { "line": 716, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18688, "end": 18696, "loc": { "start": { "line": 716, "column": 16 }, "end": { "line": 716, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18696, "end": 18697, "loc": { "start": { "line": 716, "column": 24 }, "end": { "line": 716, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 18697, "end": 18710, "loc": { "start": { "line": 716, "column": 25 }, "end": { "line": 716, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18710, "end": 18711, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "input", "start": 18711, "end": 18718, "loc": { "start": { "line": 716, "column": 39 }, "end": { "line": 716, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18718, "end": 18719, "loc": { "start": { "line": 716, "column": 46 }, "end": { "line": 716, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18719, "end": 18720, "loc": { "start": { "line": 716, "column": 47 }, "end": { "line": 716, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18726, "end": 18731, "loc": { "start": { "line": 717, "column": 4 }, "end": { "line": 717, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18731, "end": 18732, "loc": { "start": { "line": 717, "column": 9 }, "end": { "line": 717, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 18732, "end": 18736, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18737, "end": 18738, "loc": { "start": { "line": 717, "column": 15 }, "end": { "line": 717, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "file", "start": 18739, "end": 18745, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18745, "end": 18746, "loc": { "start": { "line": 717, "column": 23 }, "end": { "line": 717, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18752, "end": 18757, "loc": { "start": { "line": 718, "column": 4 }, "end": { "line": 718, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18757, "end": 18758, "loc": { "start": { "line": 718, "column": 9 }, "end": { "line": 718, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "accept", "start": 18758, "end": 18764, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18765, "end": 18766, "loc": { "start": { "line": 718, "column": 17 }, "end": { "line": 718, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "acceptedType", "start": 18767, "end": 18779, "loc": { "start": { "line": 718, "column": 19 }, "end": { "line": 718, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18779, "end": 18780, "loc": { "start": { "line": 718, "column": 31 }, "end": { "line": 718, "column": 32 } } }, { "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": 18788, "end": 18794, "loc": { "start": { "line": 720, "column": 4 }, "end": { "line": 720, "column": 10 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 18795, "end": 18798, "loc": { "start": { "line": 720, "column": 11 }, "end": { "line": 720, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 18799, "end": 18806, "loc": { "start": { "line": 720, "column": 15 }, "end": { "line": 720, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18806, "end": 18807, "loc": { "start": { "line": 720, "column": 22 }, "end": { "line": 720, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 18807, "end": 18814, "loc": { "start": { "line": 720, "column": 23 }, "end": { "line": 720, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18815, "end": 18817, "loc": { "start": { "line": 720, "column": 31 }, "end": { "line": 720, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18818, "end": 18819, "loc": { "start": { "line": 720, "column": 34 }, "end": { "line": 720, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18829, "end": 18834, "loc": { "start": { "line": 721, "column": 8 }, "end": { "line": 721, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18834, "end": 18835, "loc": { "start": { "line": 721, "column": 13 }, "end": { "line": 721, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onchange", "start": 18835, "end": 18843, "loc": { "start": { "line": 721, "column": 14 }, "end": { "line": 721, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18844, "end": 18845, "loc": { "start": { "line": 721, "column": 23 }, "end": { "line": 721, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_", "start": 18846, "end": 18847, "loc": { "start": { "line": 721, "column": 25 }, "end": { "line": 721, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18848, "end": 18850, "loc": { "start": { "line": 721, "column": 27 }, "end": { "line": 721, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 18851, "end": 18858, "loc": { "start": { "line": 721, "column": 30 }, "end": { "line": 721, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18858, "end": 18859, "loc": { "start": { "line": 721, "column": 37 }, "end": { "line": 721, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18859, "end": 18864, "loc": { "start": { "line": 721, "column": 38 }, "end": { "line": 721, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18864, "end": 18865, "loc": { "start": { "line": 721, "column": 43 }, "end": { "line": 721, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "files", "start": 18865, "end": 18870, "loc": { "start": { "line": 721, "column": 44 }, "end": { "line": 721, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18870, "end": 18871, "loc": { "start": { "line": 721, "column": 49 }, "end": { "line": 721, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18871, "end": 18872, "loc": { "start": { "line": 721, "column": 50 }, "end": { "line": 721, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18872, "end": 18873, "loc": { "start": { "line": 721, "column": 51 }, "end": { "line": 721, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18873, "end": 18874, "loc": { "start": { "line": 721, "column": 52 }, "end": { "line": 721, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18874, "end": 18875, "loc": { "start": { "line": 721, "column": 53 }, "end": { "line": 721, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 18885, "end": 18890, "loc": { "start": { "line": 722, "column": 8 }, "end": { "line": 722, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18890, "end": 18891, "loc": { "start": { "line": 722, "column": 13 }, "end": { "line": 722, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "click", "start": 18891, "end": 18896, "loc": { "start": { "line": 722, "column": 14 }, "end": { "line": 722, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18896, "end": 18897, "loc": { "start": { "line": 722, "column": 19 }, "end": { "line": 722, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18897, "end": 18898, "loc": { "start": { "line": 722, "column": 20 }, "end": { "line": 722, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18898, "end": 18899, "loc": { "start": { "line": 722, "column": 21 }, "end": { "line": 722, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18905, "end": 18906, "loc": { "start": { "line": 723, "column": 4 }, "end": { "line": 723, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18906, "end": 18907, "loc": { "start": { "line": 723, "column": 5 }, "end": { "line": 723, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18907, "end": 18908, "loc": { "start": { "line": 723, "column": 6 }, "end": { "line": 723, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18910, "end": 18911, "loc": { "start": { "line": 724, "column": 0 }, "end": { "line": 724, "column": 1 } } }, { "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": 18915, "end": 18920, "loc": { "start": { "line": 726, "column": 0 }, "end": { "line": 726, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_ROMAN_NUMBER", "start": 18921, "end": 18937, "loc": { "start": { "line": 726, "column": 6 }, "end": { "line": 726, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18938, "end": 18939, "loc": { "start": { "line": 726, "column": 23 }, "end": { "line": 726, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 49, "start": 18940, "end": 18942, "loc": { "start": { "line": 726, "column": 25 }, "end": { "line": 726, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18942, "end": 18943, "loc": { "start": { "line": 726, "column": 27 }, "end": { "line": 726, "column": 28 } } }, { "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": 18945, "end": 18950, "loc": { "start": { "line": 727, "column": 0 }, "end": { "line": 727, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "romanLiteralsCache", "start": 18951, "end": 18969, "loc": { "start": { "line": 727, "column": 6 }, "end": { "line": 727, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18970, "end": 18971, "loc": { "start": { "line": 727, "column": 25 }, "end": { "line": 727, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18972, "end": 18973, "loc": { "start": { "line": 727, "column": 27 }, "end": { "line": 727, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "0", "start": 18973, "end": 18976, "loc": { "start": { "line": 727, "column": 28 }, "end": { "line": 727, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18976, "end": 18977, "loc": { "start": { "line": 727, "column": 31 }, "end": { "line": 727, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18977, "end": 18978, "loc": { "start": { "line": 727, "column": 32 }, "end": { "line": 727, "column": 33 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} number\r\n * @returns {string}\r\n ", "start": 18982, "end": 19043, "loc": { "start": { "line": 729, "column": 0 }, "end": { "line": 733, "column": 3 } } }, { "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": 19045, "end": 19051, "loc": { "start": { "line": 734, "column": 0 }, "end": { "line": 734, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 19052, "end": 19060, "loc": { "start": { "line": 734, "column": 7 }, "end": { "line": 734, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRomanNumber", "start": 19061, "end": 19075, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19075, "end": 19076, "loc": { "start": { "line": 734, "column": 30 }, "end": { "line": 734, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19076, "end": 19082, "loc": { "start": { "line": 734, "column": 31 }, "end": { "line": 734, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19082, "end": 19083, "loc": { "start": { "line": 734, "column": 37 }, "end": { "line": 734, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19084, "end": 19085, "loc": { "start": { "line": 734, "column": 39 }, "end": { "line": 734, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19091, "end": 19097, "loc": { "start": { "line": 735, "column": 4 }, "end": { "line": 735, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19098, "end": 19099, "loc": { "start": { "line": 735, "column": 11 }, "end": { "line": 735, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19100, "end": 19104, "loc": { "start": { "line": 735, "column": 13 }, "end": { "line": 735, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19104, "end": 19105, "loc": { "start": { "line": 735, "column": 17 }, "end": { "line": 735, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 19105, "end": 19108, "loc": { "start": { "line": 735, "column": 18 }, "end": { "line": 735, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19108, "end": 19109, "loc": { "start": { "line": 735, "column": 21 }, "end": { "line": 735, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19109, "end": 19110, "loc": { "start": { "line": 735, "column": 22 }, "end": { "line": 735, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19110, "end": 19111, "loc": { "start": { "line": 735, "column": 23 }, "end": { "line": 735, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19112, "end": 19116, "loc": { "start": { "line": 735, "column": 25 }, "end": { "line": 735, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19116, "end": 19117, "loc": { "start": { "line": 735, "column": 29 }, "end": { "line": 735, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 19117, "end": 19122, "loc": { "start": { "line": 735, "column": 30 }, "end": { "line": 735, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19122, "end": 19123, "loc": { "start": { "line": 735, "column": 35 }, "end": { "line": 735, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19123, "end": 19129, "loc": { "start": { "line": 735, "column": 36 }, "end": { "line": 735, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19129, "end": 19130, "loc": { "start": { "line": 735, "column": 42 }, "end": { "line": 735, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19130, "end": 19131, "loc": { "start": { "line": 735, "column": 43 }, "end": { "line": 735, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19131, "end": 19132, "loc": { "start": { "line": 735, "column": 44 }, "end": { "line": 735, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19138, "end": 19140, "loc": { "start": { "line": 736, "column": 4 }, "end": { "line": 736, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19141, "end": 19142, "loc": { "start": { "line": 736, "column": 7 }, "end": { "line": 736, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "romanLiteralsCache", "start": 19142, "end": 19160, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19160, "end": 19161, "loc": { "start": { "line": 736, "column": 26 }, "end": { "line": 736, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19161, "end": 19167, "loc": { "start": { "line": 736, "column": 27 }, "end": { "line": 736, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19167, "end": 19168, "loc": { "start": { "line": 736, "column": 33 }, "end": { "line": 736, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19168, "end": 19169, "loc": { "start": { "line": 736, "column": 34 }, "end": { "line": 736, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19170, "end": 19171, "loc": { "start": { "line": 736, "column": 36 }, "end": { "line": 736, "column": 37 } } }, { "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": 19181, "end": 19187, "loc": { "start": { "line": 737, "column": 8 }, "end": { "line": 737, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "romanLiteralsCache", "start": 19188, "end": 19206, "loc": { "start": { "line": 737, "column": 15 }, "end": { "line": 737, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19206, "end": 19207, "loc": { "start": { "line": 737, "column": 33 }, "end": { "line": 737, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19207, "end": 19213, "loc": { "start": { "line": 737, "column": 34 }, "end": { "line": 737, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19213, "end": 19214, "loc": { "start": { "line": 737, "column": 40 }, "end": { "line": 737, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19214, "end": 19215, "loc": { "start": { "line": 737, "column": 41 }, "end": { "line": 737, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19221, "end": 19222, "loc": { "start": { "line": 738, "column": 4 }, "end": { "line": 738, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19230, "end": 19232, "loc": { "start": { "line": 740, "column": 4 }, "end": { "line": 740, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19233, "end": 19234, "loc": { "start": { "line": 740, "column": 7 }, "end": { "line": 740, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19234, "end": 19240, "loc": { "start": { "line": 740, "column": 8 }, "end": { "line": 740, "column": 14 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 19241, "end": 19242, "loc": { "start": { "line": 740, "column": 15 }, "end": { "line": 740, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_ROMAN_NUMBER", "start": 19243, "end": 19259, "loc": { "start": { "line": 740, "column": 17 }, "end": { "line": 740, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19259, "end": 19260, "loc": { "start": { "line": 740, "column": 33 }, "end": { "line": 740, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19261, "end": 19262, "loc": { "start": { "line": 740, "column": 35 }, "end": { "line": 740, "column": 36 } } }, { "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": 19272, "end": 19278, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 741, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "String", "start": 19279, "end": 19285, "loc": { "start": { "line": 741, "column": 15 }, "end": { "line": 741, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19285, "end": 19286, "loc": { "start": { "line": 741, "column": 21 }, "end": { "line": 741, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19286, "end": 19292, "loc": { "start": { "line": 741, "column": 22 }, "end": { "line": 741, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19292, "end": 19293, "loc": { "start": { "line": 741, "column": 28 }, "end": { "line": 741, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19293, "end": 19294, "loc": { "start": { "line": 741, "column": 29 }, "end": { "line": 741, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19300, "end": 19301, "loc": { "start": { "line": 742, "column": 4 }, "end": { "line": 742, "column": 5 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 19309, "end": 19317, "loc": { "start": { "line": 744, "column": 4 }, "end": { "line": 744, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatDigit", "start": 19318, "end": 19329, "loc": { "start": { "line": 744, "column": 13 }, "end": { "line": 744, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19329, "end": 19330, "loc": { "start": { "line": 744, "column": 24 }, "end": { "line": 744, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "digit", "start": 19330, "end": 19335, "loc": { "start": { "line": 744, "column": 25 }, "end": { "line": 744, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19335, "end": 19336, "loc": { "start": { "line": 744, "column": 30 }, "end": { "line": 744, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19337, "end": 19341, "loc": { "start": { "line": 744, "column": 32 }, "end": { "line": 744, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19341, "end": 19342, "loc": { "start": { "line": 744, "column": 36 }, "end": { "line": 744, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "quintuple", "start": 19343, "end": 19352, "loc": { "start": { "line": 744, "column": 38 }, "end": { "line": 744, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19352, "end": 19353, "loc": { "start": { "line": 744, "column": 47 }, "end": { "line": 744, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decuple", "start": 19354, "end": 19361, "loc": { "start": { "line": 744, "column": 49 }, "end": { "line": 744, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19361, "end": 19362, "loc": { "start": { "line": 744, "column": 56 }, "end": { "line": 744, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19363, "end": 19364, "loc": { "start": { "line": 744, "column": 58 }, "end": { "line": 744, "column": 59 } } }, { "type": { "label": "switch", "keyword": "switch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "switch", "start": 19374, "end": 19380, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 745, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19381, "end": 19382, "loc": { "start": { "line": 745, "column": 15 }, "end": { "line": 745, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "digit", "start": 19382, "end": 19387, "loc": { "start": { "line": 745, "column": 16 }, "end": { "line": 745, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19387, "end": 19388, "loc": { "start": { "line": 745, "column": 21 }, "end": { "line": 745, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19389, "end": 19390, "loc": { "start": { "line": 745, "column": 23 }, "end": { "line": 745, "column": 24 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19404, "end": 19408, "loc": { "start": { "line": 746, "column": 12 }, "end": { "line": 746, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19409, "end": 19410, "loc": { "start": { "line": 746, "column": 17 }, "end": { "line": 746, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19410, "end": 19411, "loc": { "start": { "line": 746, "column": 18 }, "end": { "line": 746, "column": 19 } } }, { "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": 19429, "end": 19435, "loc": { "start": { "line": 747, "column": 16 }, "end": { "line": 747, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 19436, "end": 19438, "loc": { "start": { "line": 747, "column": 23 }, "end": { "line": 747, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19438, "end": 19439, "loc": { "start": { "line": 747, "column": 25 }, "end": { "line": 747, "column": 26 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19453, "end": 19457, "loc": { "start": { "line": 748, "column": 12 }, "end": { "line": 748, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19458, "end": 19459, "loc": { "start": { "line": 748, "column": 17 }, "end": { "line": 748, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19459, "end": 19460, "loc": { "start": { "line": 748, "column": 18 }, "end": { "line": 748, "column": 19 } } }, { "type": "CommentLine", "value": " I", "start": 19461, "end": 19465, "loc": { "start": { "line": 748, "column": 20 }, "end": { "line": 748, "column": 24 } } }, { "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": 19483, "end": 19489, "loc": { "start": { "line": 749, "column": 16 }, "end": { "line": 749, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19490, "end": 19494, "loc": { "start": { "line": 749, "column": 23 }, "end": { "line": 749, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19494, "end": 19495, "loc": { "start": { "line": 749, "column": 27 }, "end": { "line": 749, "column": 28 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19509, "end": 19513, "loc": { "start": { "line": 750, "column": 12 }, "end": { "line": 750, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 19514, "end": 19515, "loc": { "start": { "line": 750, "column": 17 }, "end": { "line": 750, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19515, "end": 19516, "loc": { "start": { "line": 750, "column": 18 }, "end": { "line": 750, "column": 19 } } }, { "type": "CommentLine", "value": " II", "start": 19517, "end": 19522, "loc": { "start": { "line": 750, "column": 20 }, "end": { "line": 750, "column": 25 } } }, { "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": 19540, "end": 19546, "loc": { "start": { "line": 751, "column": 16 }, "end": { "line": 751, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19547, "end": 19551, "loc": { "start": { "line": 751, "column": 23 }, "end": { "line": 751, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19552, "end": 19553, "loc": { "start": { "line": 751, "column": 28 }, "end": { "line": 751, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19554, "end": 19558, "loc": { "start": { "line": 751, "column": 30 }, "end": { "line": 751, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19558, "end": 19559, "loc": { "start": { "line": 751, "column": 34 }, "end": { "line": 751, "column": 35 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19573, "end": 19577, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 752, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 19578, "end": 19579, "loc": { "start": { "line": 752, "column": 17 }, "end": { "line": 752, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19579, "end": 19580, "loc": { "start": { "line": 752, "column": 18 }, "end": { "line": 752, "column": 19 } } }, { "type": "CommentLine", "value": " III", "start": 19581, "end": 19587, "loc": { "start": { "line": 752, "column": 20 }, "end": { "line": 752, "column": 26 } } }, { "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": 19605, "end": 19611, "loc": { "start": { "line": 753, "column": 16 }, "end": { "line": 753, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19612, "end": 19616, "loc": { "start": { "line": 753, "column": 23 }, "end": { "line": 753, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19617, "end": 19618, "loc": { "start": { "line": 753, "column": 28 }, "end": { "line": 753, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19619, "end": 19623, "loc": { "start": { "line": 753, "column": 30 }, "end": { "line": 753, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19624, "end": 19625, "loc": { "start": { "line": 753, "column": 35 }, "end": { "line": 753, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19626, "end": 19630, "loc": { "start": { "line": 753, "column": 37 }, "end": { "line": 753, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19630, "end": 19631, "loc": { "start": { "line": 753, "column": 41 }, "end": { "line": 753, "column": 42 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19645, "end": 19649, "loc": { "start": { "line": 754, "column": 12 }, "end": { "line": 754, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 19650, "end": 19651, "loc": { "start": { "line": 754, "column": 17 }, "end": { "line": 754, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19651, "end": 19652, "loc": { "start": { "line": 754, "column": 18 }, "end": { "line": 754, "column": 19 } } }, { "type": "CommentLine", "value": " IV", "start": 19653, "end": 19658, "loc": { "start": { "line": 754, "column": 20 }, "end": { "line": 754, "column": 25 } } }, { "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": 19676, "end": 19682, "loc": { "start": { "line": 755, "column": 16 }, "end": { "line": 755, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19683, "end": 19687, "loc": { "start": { "line": 755, "column": 23 }, "end": { "line": 755, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19688, "end": 19689, "loc": { "start": { "line": 755, "column": 28 }, "end": { "line": 755, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "quintuple", "start": 19690, "end": 19699, "loc": { "start": { "line": 755, "column": 30 }, "end": { "line": 755, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19699, "end": 19700, "loc": { "start": { "line": 755, "column": 39 }, "end": { "line": 755, "column": 40 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 19714, "end": 19718, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 9, "start": 19719, "end": 19720, "loc": { "start": { "line": 756, "column": 17 }, "end": { "line": 756, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19720, "end": 19721, "loc": { "start": { "line": 756, "column": 18 }, "end": { "line": 756, "column": 19 } } }, { "type": "CommentLine", "value": " IX", "start": 19722, "end": 19727, "loc": { "start": { "line": 756, "column": 20 }, "end": { "line": 756, "column": 25 } } }, { "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": 19745, "end": 19751, "loc": { "start": { "line": 757, "column": 16 }, "end": { "line": 757, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19752, "end": 19756, "loc": { "start": { "line": 757, "column": 23 }, "end": { "line": 757, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19757, "end": 19758, "loc": { "start": { "line": 757, "column": 28 }, "end": { "line": 757, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decuple", "start": 19759, "end": 19766, "loc": { "start": { "line": 757, "column": 30 }, "end": { "line": 757, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19766, "end": 19767, "loc": { "start": { "line": 757, "column": 37 }, "end": { "line": 757, "column": 38 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 19781, "end": 19788, "loc": { "start": { "line": 758, "column": 12 }, "end": { "line": 758, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19788, "end": 19789, "loc": { "start": { "line": 758, "column": 19 }, "end": { "line": 758, "column": 20 } } }, { "type": "CommentLine", "value": " V, VI, VII, VIII", "start": 19807, "end": 19826, "loc": { "start": { "line": 759, "column": 16 }, "end": { "line": 759, "column": 35 } } }, { "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": 19844, "end": 19850, "loc": { "start": { "line": 760, "column": 16 }, "end": { "line": 760, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "quintuple", "start": 19851, "end": 19860, "loc": { "start": { "line": 760, "column": 23 }, "end": { "line": 760, "column": 32 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19861, "end": 19862, "loc": { "start": { "line": 760, "column": 33 }, "end": { "line": 760, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatDigit", "start": 19863, "end": 19874, "loc": { "start": { "line": 760, "column": 35 }, "end": { "line": 760, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19874, "end": 19875, "loc": { "start": { "line": 760, "column": 46 }, "end": { "line": 760, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "digit", "start": 19875, "end": 19880, "loc": { "start": { "line": 760, "column": 47 }, "end": { "line": 760, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 19881, "end": 19882, "loc": { "start": { "line": 760, "column": 53 }, "end": { "line": 760, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 19883, "end": 19884, "loc": { "start": { "line": 760, "column": 55 }, "end": { "line": 760, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19884, "end": 19885, "loc": { "start": { "line": 760, "column": 56 }, "end": { "line": 760, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unit", "start": 19886, "end": 19890, "loc": { "start": { "line": 760, "column": 58 }, "end": { "line": 760, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19890, "end": 19891, "loc": { "start": { "line": 760, "column": 62 }, "end": { "line": 760, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "quintuple", "start": 19892, "end": 19901, "loc": { "start": { "line": 760, "column": 64 }, "end": { "line": 760, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19901, "end": 19902, "loc": { "start": { "line": 760, "column": 73 }, "end": { "line": 760, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "decuple", "start": 19903, "end": 19910, "loc": { "start": { "line": 760, "column": 75 }, "end": { "line": 760, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19910, "end": 19911, "loc": { "start": { "line": 760, "column": 82 }, "end": { "line": 760, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19911, "end": 19912, "loc": { "start": { "line": 760, "column": 83 }, "end": { "line": 760, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19922, "end": 19923, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 761, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19929, "end": 19930, "loc": { "start": { "line": 762, "column": 4 }, "end": { "line": 762, "column": 5 } } }, { "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": 19938, "end": 19941, "loc": { "start": { "line": 764, "column": 4 }, "end": { "line": 764, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousands", "start": 19942, "end": 19951, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19952, "end": 19953, "loc": { "start": { "line": 764, "column": 18 }, "end": { "line": 764, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19954, "end": 19958, "loc": { "start": { "line": 764, "column": 20 }, "end": { "line": 764, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19958, "end": 19959, "loc": { "start": { "line": 764, "column": 24 }, "end": { "line": 764, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 19959, "end": 19964, "loc": { "start": { "line": 764, "column": 25 }, "end": { "line": 764, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19964, "end": 19965, "loc": { "start": { "line": 764, "column": 30 }, "end": { "line": 764, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 19965, "end": 19971, "loc": { "start": { "line": 764, "column": 31 }, "end": { "line": 764, "column": 37 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19972, "end": 19973, "loc": { "start": { "line": 764, "column": 38 }, "end": { "line": 764, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 19974, "end": 19978, "loc": { "start": { "line": 764, "column": 40 }, "end": { "line": 764, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19978, "end": 19979, "loc": { "start": { "line": 764, "column": 44 }, "end": { "line": 764, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19979, "end": 19980, "loc": { "start": { "line": 764, "column": 45 }, "end": { "line": 764, "column": 46 } } }, { "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": 19986, "end": 19989, "loc": { "start": { "line": 765, "column": 4 }, "end": { "line": 765, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousandsPart", "start": 19990, "end": 20003, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20004, "end": 20005, "loc": { "start": { "line": 765, "column": 22 }, "end": { "line": 765, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 20006, "end": 20008, "loc": { "start": { "line": 765, "column": 24 }, "end": { "line": 765, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20008, "end": 20009, "loc": { "start": { "line": 765, "column": 26 }, "end": { "line": 765, "column": 27 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 20015, "end": 20020, "loc": { "start": { "line": 766, "column": 4 }, "end": { "line": 766, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20021, "end": 20022, "loc": { "start": { "line": 766, "column": 10 }, "end": { "line": 766, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousands", "start": 20022, "end": 20031, "loc": { "start": { "line": 766, "column": 11 }, "end": { "line": 766, "column": 20 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 20032, "end": 20033, "loc": { "start": { "line": 766, "column": 21 }, "end": { "line": 766, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 20034, "end": 20035, "loc": { "start": { "line": 766, "column": 23 }, "end": { "line": 766, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20035, "end": 20036, "loc": { "start": { "line": 766, "column": 24 }, "end": { "line": 766, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20037, "end": 20038, "loc": { "start": { "line": 766, "column": 26 }, "end": { "line": 766, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousandsPart", "start": 20048, "end": 20061, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 21 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 20062, "end": 20064, "loc": { "start": { "line": 767, "column": 22 }, "end": { "line": 767, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "M", "start": 20065, "end": 20068, "loc": { "start": { "line": 767, "column": 25 }, "end": { "line": 767, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20068, "end": 20069, "loc": { "start": { "line": 767, "column": 28 }, "end": { "line": 767, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousands", "start": 20079, "end": 20088, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 768, "column": 17 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 20089, "end": 20091, "loc": { "start": { "line": 768, "column": 18 }, "end": { "line": 768, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 20092, "end": 20093, "loc": { "start": { "line": 768, "column": 21 }, "end": { "line": 768, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20093, "end": 20094, "loc": { "start": { "line": 768, "column": 22 }, "end": { "line": 768, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20100, "end": 20101, "loc": { "start": { "line": 769, "column": 4 }, "end": { "line": 769, "column": 5 } } }, { "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": 20109, "end": 20114, "loc": { "start": { "line": 771, "column": 4 }, "end": { "line": 771, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hundreds", "start": 20115, "end": 20123, "loc": { "start": { "line": 771, "column": 10 }, "end": { "line": 771, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20124, "end": 20125, "loc": { "start": { "line": 771, "column": 19 }, "end": { "line": 771, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 20126, "end": 20130, "loc": { "start": { "line": 771, "column": 21 }, "end": { "line": 771, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20130, "end": 20131, "loc": { "start": { "line": 771, "column": 25 }, "end": { "line": 771, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 20131, "end": 20136, "loc": { "start": { "line": 771, "column": 26 }, "end": { "line": 771, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20136, "end": 20137, "loc": { "start": { "line": 771, "column": 31 }, "end": { "line": 771, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20137, "end": 20138, "loc": { "start": { "line": 771, "column": 32 }, "end": { "line": 771, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 20138, "end": 20144, "loc": { "start": { "line": 771, "column": 33 }, "end": { "line": 771, "column": 39 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 20145, "end": 20146, "loc": { "start": { "line": 771, "column": 40 }, "end": { "line": 771, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 20147, "end": 20151, "loc": { "start": { "line": 771, "column": 42 }, "end": { "line": 771, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20151, "end": 20152, "loc": { "start": { "line": 771, "column": 46 }, "end": { "line": 771, "column": 47 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 20153, "end": 20154, "loc": { "start": { "line": 771, "column": 48 }, "end": { "line": 771, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 20155, "end": 20158, "loc": { "start": { "line": 771, "column": 50 }, "end": { "line": 771, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20158, "end": 20159, "loc": { "start": { "line": 771, "column": 53 }, "end": { "line": 771, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20159, "end": 20160, "loc": { "start": { "line": 771, "column": 54 }, "end": { "line": 771, "column": 55 } } }, { "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": 20166, "end": 20171, "loc": { "start": { "line": 772, "column": 4 }, "end": { "line": 772, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hundredsPart", "start": 20172, "end": 20184, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20185, "end": 20186, "loc": { "start": { "line": 772, "column": 23 }, "end": { "line": 772, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatDigit", "start": 20187, "end": 20198, "loc": { "start": { "line": 772, "column": 25 }, "end": { "line": 772, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20198, "end": 20199, "loc": { "start": { "line": 772, "column": 36 }, "end": { "line": 772, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hundreds", "start": 20199, "end": 20207, "loc": { "start": { "line": 772, "column": 37 }, "end": { "line": 772, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20207, "end": 20208, "loc": { "start": { "line": 772, "column": 45 }, "end": { "line": 772, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "C", "start": 20209, "end": 20212, "loc": { "start": { "line": 772, "column": 47 }, "end": { "line": 772, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20212, "end": 20213, "loc": { "start": { "line": 772, "column": 50 }, "end": { "line": 772, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "D", "start": 20214, "end": 20217, "loc": { "start": { "line": 772, "column": 52 }, "end": { "line": 772, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20217, "end": 20218, "loc": { "start": { "line": 772, "column": 55 }, "end": { "line": 772, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "M", "start": 20219, "end": 20222, "loc": { "start": { "line": 772, "column": 57 }, "end": { "line": 772, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20222, "end": 20223, "loc": { "start": { "line": 772, "column": 60 }, "end": { "line": 772, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20223, "end": 20224, "loc": { "start": { "line": 772, "column": 61 }, "end": { "line": 772, "column": 62 } } }, { "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": 20232, "end": 20237, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 774, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tens", "start": 20238, "end": 20242, "loc": { "start": { "line": 774, "column": 10 }, "end": { "line": 774, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20243, "end": 20244, "loc": { "start": { "line": 774, "column": 15 }, "end": { "line": 774, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 20245, "end": 20249, "loc": { "start": { "line": 774, "column": 17 }, "end": { "line": 774, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20249, "end": 20250, "loc": { "start": { "line": 774, "column": 21 }, "end": { "line": 774, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 20250, "end": 20255, "loc": { "start": { "line": 774, "column": 22 }, "end": { "line": 774, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20255, "end": 20256, "loc": { "start": { "line": 774, "column": 27 }, "end": { "line": 774, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20256, "end": 20257, "loc": { "start": { "line": 774, "column": 28 }, "end": { "line": 774, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 20257, "end": 20263, "loc": { "start": { "line": 774, "column": 29 }, "end": { "line": 774, "column": 35 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 20264, "end": 20265, "loc": { "start": { "line": 774, "column": 36 }, "end": { "line": 774, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 20266, "end": 20269, "loc": { "start": { "line": 774, "column": 38 }, "end": { "line": 774, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20269, "end": 20270, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 42 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 20271, "end": 20272, "loc": { "start": { "line": 774, "column": 43 }, "end": { "line": 774, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 20273, "end": 20275, "loc": { "start": { "line": 774, "column": 45 }, "end": { "line": 774, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20275, "end": 20276, "loc": { "start": { "line": 774, "column": 47 }, "end": { "line": 774, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20276, "end": 20277, "loc": { "start": { "line": 774, "column": 48 }, "end": { "line": 774, "column": 49 } } }, { "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": 20283, "end": 20288, "loc": { "start": { "line": 775, "column": 4 }, "end": { "line": 775, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tensPart", "start": 20289, "end": 20297, "loc": { "start": { "line": 775, "column": 10 }, "end": { "line": 775, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20298, "end": 20299, "loc": { "start": { "line": 775, "column": 19 }, "end": { "line": 775, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatDigit", "start": 20300, "end": 20311, "loc": { "start": { "line": 775, "column": 21 }, "end": { "line": 775, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20311, "end": 20312, "loc": { "start": { "line": 775, "column": 32 }, "end": { "line": 775, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tens", "start": 20312, "end": 20316, "loc": { "start": { "line": 775, "column": 33 }, "end": { "line": 775, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20316, "end": 20317, "loc": { "start": { "line": 775, "column": 37 }, "end": { "line": 775, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "X", "start": 20318, "end": 20321, "loc": { "start": { "line": 775, "column": 39 }, "end": { "line": 775, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20321, "end": 20322, "loc": { "start": { "line": 775, "column": 42 }, "end": { "line": 775, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "L", "start": 20323, "end": 20326, "loc": { "start": { "line": 775, "column": 44 }, "end": { "line": 775, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20326, "end": 20327, "loc": { "start": { "line": 775, "column": 47 }, "end": { "line": 775, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "C", "start": 20328, "end": 20331, "loc": { "start": { "line": 775, "column": 49 }, "end": { "line": 775, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20331, "end": 20332, "loc": { "start": { "line": 775, "column": 52 }, "end": { "line": 775, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20332, "end": 20333, "loc": { "start": { "line": 775, "column": 53 }, "end": { "line": 775, "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": 20341, "end": 20346, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "units", "start": 20347, "end": 20352, "loc": { "start": { "line": 777, "column": 10 }, "end": { "line": 777, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20353, "end": 20354, "loc": { "start": { "line": 777, "column": 16 }, "end": { "line": 777, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 20355, "end": 20361, "loc": { "start": { "line": 777, "column": 18 }, "end": { "line": 777, "column": 24 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 20362, "end": 20363, "loc": { "start": { "line": 777, "column": 25 }, "end": { "line": 777, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 20364, "end": 20366, "loc": { "start": { "line": 777, "column": 27 }, "end": { "line": 777, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20366, "end": 20367, "loc": { "start": { "line": 777, "column": 29 }, "end": { "line": 777, "column": 30 } } }, { "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": 20373, "end": 20378, "loc": { "start": { "line": 778, "column": 4 }, "end": { "line": 778, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unitsPart", "start": 20379, "end": 20388, "loc": { "start": { "line": 778, "column": 10 }, "end": { "line": 778, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20389, "end": 20390, "loc": { "start": { "line": 778, "column": 20 }, "end": { "line": 778, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatDigit", "start": 20391, "end": 20402, "loc": { "start": { "line": 778, "column": 22 }, "end": { "line": 778, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20402, "end": 20403, "loc": { "start": { "line": 778, "column": 33 }, "end": { "line": 778, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "units", "start": 20403, "end": 20408, "loc": { "start": { "line": 778, "column": 34 }, "end": { "line": 778, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20408, "end": 20409, "loc": { "start": { "line": 778, "column": 39 }, "end": { "line": 778, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "I", "start": 20410, "end": 20413, "loc": { "start": { "line": 778, "column": 41 }, "end": { "line": 778, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20413, "end": 20414, "loc": { "start": { "line": 778, "column": 44 }, "end": { "line": 778, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "V", "start": 20415, "end": 20418, "loc": { "start": { "line": 778, "column": 46 }, "end": { "line": 778, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20418, "end": 20419, "loc": { "start": { "line": 778, "column": 49 }, "end": { "line": 778, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "X", "start": 20420, "end": 20423, "loc": { "start": { "line": 778, "column": 51 }, "end": { "line": 778, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20423, "end": 20424, "loc": { "start": { "line": 778, "column": 54 }, "end": { "line": 778, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20424, "end": 20425, "loc": { "start": { "line": 778, "column": 55 }, "end": { "line": 778, "column": 56 } } }, { "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": 20433, "end": 20438, "loc": { "start": { "line": 780, "column": 4 }, "end": { "line": 780, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatted", "start": 20439, "end": 20448, "loc": { "start": { "line": 780, "column": 10 }, "end": { "line": 780, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20449, "end": 20450, "loc": { "start": { "line": 780, "column": 20 }, "end": { "line": 780, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thousandsPart", "start": 20451, "end": 20464, "loc": { "start": { "line": 780, "column": 22 }, "end": { "line": 780, "column": 35 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20465, "end": 20466, "loc": { "start": { "line": 780, "column": 36 }, "end": { "line": 780, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hundredsPart", "start": 20467, "end": 20479, "loc": { "start": { "line": 780, "column": 38 }, "end": { "line": 780, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20480, "end": 20481, "loc": { "start": { "line": 780, "column": 51 }, "end": { "line": 780, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tensPart", "start": 20482, "end": 20490, "loc": { "start": { "line": 780, "column": 53 }, "end": { "line": 780, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20491, "end": 20492, "loc": { "start": { "line": 780, "column": 62 }, "end": { "line": 780, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unitsPart", "start": 20493, "end": 20502, "loc": { "start": { "line": 780, "column": 64 }, "end": { "line": 780, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20502, "end": 20503, "loc": { "start": { "line": 780, "column": 73 }, "end": { "line": 780, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "romanLiteralsCache", "start": 20511, "end": 20529, "loc": { "start": { "line": 782, "column": 4 }, "end": { "line": 782, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20529, "end": 20530, "loc": { "start": { "line": 782, "column": 22 }, "end": { "line": 782, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "number", "start": 20530, "end": 20536, "loc": { "start": { "line": 782, "column": 23 }, "end": { "line": 782, "column": 29 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20536, "end": 20537, "loc": { "start": { "line": 782, "column": 29 }, "end": { "line": 782, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20538, "end": 20539, "loc": { "start": { "line": 782, "column": 31 }, "end": { "line": 782, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatted", "start": 20540, "end": 20549, "loc": { "start": { "line": 782, "column": 33 }, "end": { "line": 782, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20549, "end": 20550, "loc": { "start": { "line": 782, "column": 42 }, "end": { "line": 782, "column": 43 } } }, { "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": 20556, "end": 20562, "loc": { "start": { "line": 783, "column": 4 }, "end": { "line": 783, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formatted", "start": 20563, "end": 20572, "loc": { "start": { "line": 783, "column": 11 }, "end": { "line": 783, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20572, "end": 20573, "loc": { "start": { "line": 783, "column": 20 }, "end": { "line": 783, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20575, "end": 20576, "loc": { "start": { "line": 784, "column": 0 }, "end": { "line": 784, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20576, "end": 20576, "loc": { "start": { "line": 784, "column": 1 }, "end": { "line": 784, "column": 1 } } } ] }