{ "type": "File", "start": 0, "end": 6142, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 175, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 6142, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 175, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 47, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } }, "imported": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "local": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" } } ], "source": { "type": "StringLiteral", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } }, "extra": { "rawValue": "../base_hud_part", "raw": "\"../base_hud_part\"" }, "value": "../base_hud_part" } }, { "type": "ImportDeclaration", "start": 49, "end": 95, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } }, "imported": { "type": "Identifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "local": { "type": "Identifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 }, "identifierName": "makeDiv" }, "name": "makeDiv" } } ], "source": { "type": "StringLiteral", "start": 73, "end": 94, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "../../../core/utils", "raw": "\"../../../core/utils\"" }, "value": "../../../core/utils" } }, { "type": "ImportDeclaration", "start": 97, "end": 146, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 106, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 15 } }, "imported": { "type": "Identifier", "start": 106, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "local": { "type": "Identifier", "start": 106, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" } } ], "source": { "type": "StringLiteral", "start": 120, "end": 145, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 48 } }, "extra": { "rawValue": "../../../platform/sound", "raw": "\"../../../platform/sound\"" }, "value": "../../../platform/sound" } }, { "type": "ImportDeclaration", "start": 148, "end": 203, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 55 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 157, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 } }, "imported": { "type": "Identifier", "start": 157, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" }, "local": { "type": "Identifier", "start": 157, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" } } ], "source": { "type": "StringLiteral", "start": 185, "end": 202, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 54 } }, "extra": { "rawValue": "./notifications", "raw": "\"./notifications\"" }, "value": "./notifications" } }, { "type": "ImportDeclaration", "start": 205, "end": 247, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 214, "end": 215, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 10 } }, "imported": { "type": "Identifier", "start": 214, "end": 215, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 10 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 214, "end": 215, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 10 }, "identifierName": "T" }, "name": "T" } } ], "source": { "type": "StringLiteral", "start": 223, "end": 246, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 41 } }, "extra": { "rawValue": "../../../translations", "raw": "\"../../../translations\"" }, "value": "../../../translations" } }, { "type": "ImportDeclaration", "start": 249, "end": 303, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 258, "end": 269, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 20 } }, "imported": { "type": "Identifier", "start": 258, "end": 269, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "local": { "type": "Identifier", "start": 258, "end": 269, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" } } ], "source": { "type": "StringLiteral", "start": 277, "end": 302, "loc": { "start": { "line": 6, "column": 28 }, "end": { "line": 6, "column": 53 } }, "extra": { "rawValue": "../../key_action_mapper", "raw": "\"../../key_action_mapper\"" }, "value": "../../key_action_mapper" } }, { "type": "ImportDeclaration", "start": 305, "end": 362, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 314, "end": 330, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 } }, "imported": { "type": "Identifier", "start": 314, "end": 330, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" }, "local": { "type": "Identifier", "start": 314, "end": 330, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" } } ], "source": { "type": "StringLiteral", "start": 338, "end": 361, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 56 } }, "extra": { "rawValue": "../dynamic_dom_attach", "raw": "\"../dynamic_dom_attach\"" }, "value": "../dynamic_dom_attach" } }, { "type": "ImportDeclaration", "start": 364, "end": 423, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 59 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 373, "end": 385, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 } }, "imported": { "type": "Identifier", "start": 373, "end": 385, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 }, "identifierName": "TrackedState" }, "name": "TrackedState" }, "local": { "type": "Identifier", "start": 373, "end": 385, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 }, "identifierName": "TrackedState" }, "name": "TrackedState" } } ], "source": { "type": "StringLiteral", "start": 393, "end": 422, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 58 } }, "extra": { "rawValue": "../../../core/tracked_state", "raw": "\"../../../core/tracked_state\"" }, "value": "../../../core/tracked_state" } }, { "type": "ExportNamedDeclaration", "start": 427, "end": 6140, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 174, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 434, "end": 6140, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 174, "column": 1 } }, "id": { "type": "Identifier", "start": 440, "end": 451, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 24 }, "identifierName": "HUDGameMenu" }, "name": "HUDGameMenu" }, "superClass": { "type": "Identifier", "start": 460, "end": 471, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "column": 44 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "body": { "type": "ClassBody", "start": 472, "end": 6140, "loc": { "start": { "line": 10, "column": 45 }, "end": { "line": 174, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 479, "end": 3559, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 92, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 479, "end": 493, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 18 }, "identifierName": "createElements" }, "name": "createElements" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 494, "end": 500, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "column": 25 }, "identifierName": "parent" }, "name": "parent" } ], "body": { "type": "BlockStatement", "start": 502, "end": 3559, "loc": { "start": { "line": 11, "column": 27 }, "end": { "line": 92, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 513, "end": 567, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 513, "end": 566, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 513, "end": 525, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 20 } }, "object": { "type": "ThisExpression", "start": 513, "end": 517, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, "property": { "type": "Identifier", "start": 518, "end": 525, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 20 }, "identifierName": "element" }, "name": "element" }, "computed": false }, "right": { "type": "CallExpression", "start": 528, "end": 566, "loc": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 61 } }, "callee": { "type": "Identifier", "start": 528, "end": 535, "loc": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 30 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 536, "end": 542, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, { "type": "StringLiteral", "start": 544, "end": 565, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 60 } }, "extra": { "rawValue": "ingame_HUD_GameMenu", "raw": "\"ingame_HUD_GameMenu\"" }, "value": "ingame_HUD_GameMenu" } ] } } }, { "type": "VariableDeclaration", "start": 579, "end": 1622, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 36, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 585, "end": 1621, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 36, "column": 9 } }, "id": { "type": "Identifier", "start": 585, "end": 592, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 21 }, "identifierName": "buttons" }, "name": "buttons" }, "init": { "type": "ArrayExpression", "start": 595, "end": 1621, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 36, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 610, "end": 1242, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 27, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 629, "end": 639, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 629, "end": 631, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 18 }, "identifierName": "id" }, "name": "id" }, "value": { "type": "StringLiteral", "start": 633, "end": 639, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 26 } }, "extra": { "rawValue": "shop", "raw": "\"shop\"" }, "value": "shop" } }, { "type": "ObjectProperty", "start": 658, "end": 675, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 658, "end": 663, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 21 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "StringLiteral", "start": 665, "end": 675, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 33 } }, "extra": { "rawValue": "Upgrades", "raw": "\"Upgrades\"" }, "value": "Upgrades" } }, { "type": "ObjectProperty", "start": 694, "end": 740, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 62 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 694, "end": 701, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 23 }, "identifierName": "handler" }, "name": "handler" }, "value": { "type": "ArrowFunctionExpression", "start": 703, "end": 740, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 62 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 709, "end": 740, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 709, "end": 738, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 60 } }, "object": { "type": "MemberExpression", "start": 709, "end": 733, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 55 } }, "object": { "type": "MemberExpression", "start": 709, "end": 728, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 50 } }, "object": { "type": "MemberExpression", "start": 709, "end": 722, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 44 } }, "object": { "type": "MemberExpression", "start": 709, "end": 718, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 40 } }, "object": { "type": "ThisExpression", "start": 709, "end": 713, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 35 } } }, "property": { "type": "Identifier", "start": 714, "end": 718, "loc": { "start": { "line": 18, "column": 36 }, "end": { "line": 18, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 719, "end": 722, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 44 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 723, "end": 728, "loc": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 50 }, "identifierName": "parts" }, "name": "parts" }, "computed": false }, "property": { "type": "Identifier", "start": 729, "end": 733, "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 18, "column": 55 }, "identifierName": "shop" }, "name": "shop" }, "computed": false }, "property": { "type": "Identifier", "start": 734, "end": 738, "loc": { "start": { "line": 18, "column": 56 }, "end": { "line": 18, "column": 60 }, "identifierName": "show" }, "name": "show" }, "computed": false }, "arguments": [] } } }, { "type": "ObjectProperty", "start": 759, "end": 802, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 59 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 759, "end": 769, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 26 }, "identifierName": "keybinding" }, "name": "keybinding" }, "value": { "type": "MemberExpression", "start": 771, "end": 802, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 59 } }, "object": { "type": "MemberExpression", "start": 771, "end": 789, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 46 } }, "object": { "type": "Identifier", "start": 771, "end": 782, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 39 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 783, "end": 789, "loc": { "start": { "line": 19, "column": 40 }, "end": { "line": 19, "column": 46 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 790, "end": 802, "loc": { "start": { "line": 19, "column": 47 }, "end": { "line": 19, "column": 59 }, "identifierName": "menuOpenShop" }, "name": "menuOpenShop" }, "computed": false } }, { "type": "ObjectProperty", "start": 821, "end": 879, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 74 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 821, "end": 826, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 21 }, "identifierName": "badge" }, "name": "badge" }, "value": { "type": "ArrowFunctionExpression", "start": 828, "end": 879, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 74 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 834, "end": 879, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 834, "end": 877, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 72 } }, "object": { "type": "MemberExpression", "start": 834, "end": 852, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 47 } }, "object": { "type": "MemberExpression", "start": 834, "end": 843, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 38 } }, "object": { "type": "ThisExpression", "start": 834, "end": 838, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 33 } } }, "property": { "type": "Identifier", "start": 839, "end": 843, "loc": { "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 844, "end": 852, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 47 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 853, "end": 877, "loc": { "start": { "line": 20, "column": 48 }, "end": { "line": 20, "column": 72 }, "identifierName": "getAvailableUpgradeCount" }, "name": "getAvailableUpgradeCount" }, "computed": false }, "arguments": [] } } }, { "type": "ObjectProperty", "start": 898, "end": 1087, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 24, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 898, "end": 910, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 28 }, "identifierName": "notification" }, "name": "notification" }, "value": { "type": "ArrayExpression", "start": 959, "end": 1086, "loc": { "start": { "line": 21, "column": 77 }, "end": { "line": 24, "column": 17 } }, "elements": [ { "type": "MemberExpression", "start": 982, "end": 1015, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 53 } }, "object": { "type": "MemberExpression", "start": 982, "end": 1004, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 42 } }, "object": { "type": "MemberExpression", "start": 982, "end": 990, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 28 } }, "object": { "type": "Identifier", "start": 982, "end": 983, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 }, "identifierName": "T" }, "name": "T", "leadingComments": null }, "property": { "type": "Identifier", "start": 984, "end": 990, "loc": { "start": { "line": 22, "column": 22 }, "end": { "line": 22, "column": 28 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 991, "end": 1004, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 42 }, "identifierName": "notifications" }, "name": "notifications" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1005, "end": 1015, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 53 }, "identifierName": "newUpgrade" }, "name": "newUpgrade" }, "computed": false, "leadingComments": null }, { "type": "MemberExpression", "start": 1038, "end": 1066, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 48 } }, "object": { "type": "Identifier", "start": 1038, "end": 1058, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 40 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" }, "property": { "type": "Identifier", "start": 1059, "end": 1066, "loc": { "start": { "line": 23, "column": 41 }, "end": { "line": 23, "column": 48 }, "identifierName": "upgrade" }, "name": "upgrade" }, "computed": false } ], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {[string, enumNotificationType]} ", "start": 912, "end": 957, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 75 } } } ], "extra": { "parenthesized": true, "parenStart": 958 } } }, { "type": "ObjectProperty", "start": 1106, "end": 1226, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 26, "column": 104 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1106, "end": 1113, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 23 }, "identifierName": "visible" }, "name": "visible" }, "value": { "type": "ArrowFunctionExpression", "start": 1115, "end": 1226, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 26, "column": 104 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "LogicalExpression", "start": 1142, "end": 1226, "loc": { "start": { "line": 26, "column": 20 }, "end": { "line": 26, "column": 104 } }, "left": { "type": "UnaryExpression", "start": 1142, "end": 1193, "loc": { "start": { "line": 26, "column": 20 }, "end": { "line": 26, "column": 71 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1143, "end": 1193, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 71 } }, "object": { "type": "CallExpression", "start": 1143, "end": 1182, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 1143, "end": 1180, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 58 } }, "object": { "type": "MemberExpression", "start": 1143, "end": 1165, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1143, "end": 1156, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1143, "end": 1152, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1143, "end": 1147, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 25 } } }, "property": { "type": "Identifier", "start": 1148, "end": 1152, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 30 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1153, "end": 1156, "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 34 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1157, "end": 1165, "loc": { "start": { "line": 26, "column": 35 }, "end": { "line": 26, "column": 43 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 1166, "end": 1180, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 26, "column": 58 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 1183, "end": 1193, "loc": { "start": { "line": 26, "column": 61 }, "end": { "line": 26, "column": 71 }, "identifierName": "offerHints" }, "name": "offerHints" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 1197, "end": 1226, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 104 } }, "left": { "type": "MemberExpression", "start": 1197, "end": 1221, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 99 } }, "object": { "type": "MemberExpression", "start": 1197, "end": 1215, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 93 } }, "object": { "type": "MemberExpression", "start": 1197, "end": 1206, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 84 } }, "object": { "type": "ThisExpression", "start": 1197, "end": 1201, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 79 } } }, "property": { "type": "Identifier", "start": 1202, "end": 1206, "loc": { "start": { "line": 26, "column": 80 }, "end": { "line": 26, "column": 84 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1207, "end": 1215, "loc": { "start": { "line": 26, "column": 85 }, "end": { "line": 26, "column": 93 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 1216, "end": 1221, "loc": { "start": { "line": 26, "column": 94 }, "end": { "line": 26, "column": 99 }, "identifierName": "level" }, "name": "level" }, "computed": false }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 1225, "end": 1226, "loc": { "start": { "line": 26, "column": 103 }, "end": { "line": 26, "column": 104 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } } } } ] }, { "type": "ObjectExpression", "start": 1257, "end": 1609, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 35, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 1276, "end": 1287, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1276, "end": 1278, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 18 }, "identifierName": "id" }, "name": "id" }, "value": { "type": "StringLiteral", "start": 1280, "end": 1287, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 27 } }, "extra": { "rawValue": "stats", "raw": "\"stats\"" }, "value": "stats" } }, { "type": "ObjectProperty", "start": 1306, "end": 1320, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1306, "end": 1311, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 21 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "StringLiteral", "start": 1313, "end": 1320, "loc": { "start": { "line": 30, "column": 23 }, "end": { "line": 30, "column": 30 } }, "extra": { "rawValue": "Stats", "raw": "\"Stats\"" }, "value": "Stats" } }, { "type": "ObjectProperty", "start": 1339, "end": 1391, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 68 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1339, "end": 1346, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 23 }, "identifierName": "handler" }, "name": "handler" }, "value": { "type": "ArrowFunctionExpression", "start": 1348, "end": 1391, "loc": { "start": { "line": 31, "column": 25 }, "end": { "line": 31, "column": 68 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 1354, "end": 1391, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1354, "end": 1389, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 66 } }, "object": { "type": "MemberExpression", "start": 1354, "end": 1384, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 61 } }, "object": { "type": "MemberExpression", "start": 1354, "end": 1373, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 50 } }, "object": { "type": "MemberExpression", "start": 1354, "end": 1367, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 44 } }, "object": { "type": "MemberExpression", "start": 1354, "end": 1363, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1354, "end": 1358, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 35 } } }, "property": { "type": "Identifier", "start": 1359, "end": 1363, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1364, "end": 1367, "loc": { "start": { "line": 31, "column": 41 }, "end": { "line": 31, "column": 44 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 1368, "end": 1373, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 50 }, "identifierName": "parts" }, "name": "parts" }, "computed": false }, "property": { "type": "Identifier", "start": 1374, "end": 1384, "loc": { "start": { "line": 31, "column": 51 }, "end": { "line": 31, "column": 61 }, "identifierName": "statistics" }, "name": "statistics" }, "computed": false }, "property": { "type": "Identifier", "start": 1385, "end": 1389, "loc": { "start": { "line": 31, "column": 62 }, "end": { "line": 31, "column": 66 }, "identifierName": "show" }, "name": "show" }, "computed": false }, "arguments": [] } } }, { "type": "ObjectProperty", "start": 1410, "end": 1454, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 60 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1410, "end": 1420, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 26 }, "identifierName": "keybinding" }, "name": "keybinding" }, "value": { "type": "MemberExpression", "start": 1422, "end": 1454, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 60 } }, "object": { "type": "MemberExpression", "start": 1422, "end": 1440, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 46 } }, "object": { "type": "Identifier", "start": 1422, "end": 1433, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 39 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 1434, "end": 1440, "loc": { "start": { "line": 32, "column": 40 }, "end": { "line": 32, "column": 46 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1441, "end": 1454, "loc": { "start": { "line": 32, "column": 47 }, "end": { "line": 32, "column": 60 }, "identifierName": "menuOpenStats" }, "name": "menuOpenStats" }, "computed": false } }, { "type": "ObjectProperty", "start": 1473, "end": 1593, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 34, "column": 104 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1473, "end": 1480, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 23 }, "identifierName": "visible" }, "name": "visible" }, "value": { "type": "ArrowFunctionExpression", "start": 1482, "end": 1593, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 34, "column": 104 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "LogicalExpression", "start": 1509, "end": 1593, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 104 } }, "left": { "type": "UnaryExpression", "start": 1509, "end": 1560, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 71 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 1510, "end": 1560, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 71 } }, "object": { "type": "CallExpression", "start": 1510, "end": 1549, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 1510, "end": 1547, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 58 } }, "object": { "type": "MemberExpression", "start": 1510, "end": 1532, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1510, "end": 1523, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1510, "end": 1519, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1510, "end": 1514, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 25 } } }, "property": { "type": "Identifier", "start": 1515, "end": 1519, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 30 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1520, "end": 1523, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 34 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1524, "end": 1532, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 43 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 1533, "end": 1547, "loc": { "start": { "line": 34, "column": 44 }, "end": { "line": 34, "column": 58 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 1550, "end": 1560, "loc": { "start": { "line": 34, "column": 61 }, "end": { "line": 34, "column": 71 }, "identifierName": "offerHints" }, "name": "offerHints" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 1564, "end": 1593, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 104 } }, "left": { "type": "MemberExpression", "start": 1564, "end": 1588, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 99 } }, "object": { "type": "MemberExpression", "start": 1564, "end": 1582, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 93 } }, "object": { "type": "MemberExpression", "start": 1564, "end": 1573, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 84 } }, "object": { "type": "ThisExpression", "start": 1564, "end": 1568, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 79 } } }, "property": { "type": "Identifier", "start": 1569, "end": 1573, "loc": { "start": { "line": 34, "column": 80 }, "end": { "line": 34, "column": 84 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1574, "end": 1582, "loc": { "start": { "line": 34, "column": 85 }, "end": { "line": 34, "column": 93 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 1583, "end": 1588, "loc": { "start": { "line": 34, "column": 94 }, "end": { "line": 34, "column": 99 }, "identifierName": "level" }, "name": "level" }, "computed": false }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 1592, "end": 1593, "loc": { "start": { "line": 34, "column": 103 }, "end": { "line": 34, "column": 104 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } } } } ] } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array<{\r\n * badge: function,\r\n * button: HTMLElement,\r\n * badgeElement: HTMLElement,\r\n * lastRenderAmount: number,\r\n * condition?: function,\r\n * notification: [string, enumNotificationType]\r\n * }>} ", "start": 1634, "end": 1901, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 45, "column": 17 } } } ] }, { "type": "ExpressionStatement", "start": 1911, "end": 1936, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 1911, "end": 1935, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1911, "end": 1930, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1911, "end": 1915, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1916, "end": 1930, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 27 }, "identifierName": "badgesToUpdate" }, "name": "badgesToUpdate" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 1933, "end": 1935, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 32 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array<{\r\n * badge: function,\r\n * button: HTMLElement,\r\n * badgeElement: HTMLElement,\r\n * lastRenderAmount: number,\r\n * condition?: function,\r\n * notification: [string, enumNotificationType]\r\n * }>} ", "start": 1634, "end": 1901, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 45, "column": 17 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array<{\r\n * button: HTMLElement,\r\n * condition: function,\r\n * domAttach: DynamicDomAttach\r\n * }>} ", "start": 1948, "end": 2091, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 52, "column": 17 } } } ] }, { "type": "ExpressionStatement", "start": 2101, "end": 2130, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 2101, "end": 2129, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2101, "end": 2124, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2101, "end": 2105, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2106, "end": 2124, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 31 }, "identifierName": "visibilityToUpdate" }, "name": "visibilityToUpdate" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 2127, "end": 2129, "loc": { "start": { "line": 53, "column": 34 }, "end": { "line": 53, "column": 36 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array<{\r\n * button: HTMLElement,\r\n * condition: function,\r\n * domAttach: DynamicDomAttach\r\n * }>} ", "start": 1948, "end": 2091, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 52, "column": 17 } } } ] }, { "type": "ExpressionStatement", "start": 2142, "end": 3249, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 85, "column": 11 } }, "expression": { "type": "CallExpression", "start": 2142, "end": 3248, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 85, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 2142, "end": 2157, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 23 } }, "object": { "type": "Identifier", "start": 2142, "end": 2149, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 15 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 2150, "end": 2157, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 23 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 2158, "end": 3247, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 85, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "ObjectPattern", "start": 2159, "end": 2223, "loc": { "start": { "line": 55, "column": 25 }, "end": { "line": 55, "column": 89 } }, "properties": [ { "type": "ObjectProperty", "start": 2161, "end": 2163, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 29 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2161, "end": 2163, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 29 }, "identifierName": "id" }, "name": "id" }, "value": { "type": "Identifier", "start": 2161, "end": 2163, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 29 }, "identifierName": "id" }, "name": "id" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2165, "end": 2170, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2165, "end": 2170, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "Identifier", "start": 2165, "end": 2170, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 }, "identifierName": "label" }, "name": "label" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2172, "end": 2179, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 45 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2172, "end": 2179, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 45 }, "identifierName": "handler" }, "name": "handler" }, "value": { "type": "Identifier", "start": 2172, "end": 2179, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 45 }, "identifierName": "handler" }, "name": "handler" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2181, "end": 2191, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 57 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2181, "end": 2191, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 57 }, "identifierName": "keybinding" }, "name": "keybinding" }, "value": { "type": "Identifier", "start": 2181, "end": 2191, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 57 }, "identifierName": "keybinding" }, "name": "keybinding" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2193, "end": 2198, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 64 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2193, "end": 2198, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 64 }, "identifierName": "badge" }, "name": "badge" }, "value": { "type": "Identifier", "start": 2193, "end": 2198, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 64 }, "identifierName": "badge" }, "name": "badge" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2200, "end": 2212, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 78 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2200, "end": 2212, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 78 }, "identifierName": "notification" }, "name": "notification" }, "value": { "type": "Identifier", "start": 2200, "end": 2212, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 78 }, "identifierName": "notification" }, "name": "notification" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2214, "end": 2221, "loc": { "start": { "line": 55, "column": 80 }, "end": { "line": 55, "column": 87 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2214, "end": 2221, "loc": { "start": { "line": 55, "column": 80 }, "end": { "line": 55, "column": 87 }, "identifierName": "visible" }, "name": "visible" }, "value": { "type": "Identifier", "start": 2214, "end": 2221, "loc": { "start": { "line": 55, "column": 80 }, "end": { "line": 55, "column": 87 }, "identifierName": "visible" }, "name": "visible" }, "extra": { "shorthand": true } } ] } ], "body": { "type": "BlockStatement", "start": 2228, "end": 3247, "loc": { "start": { "line": 55, "column": 94 }, "end": { "line": 85, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2243, "end": 2291, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2249, "end": 2290, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 59 } }, "id": { "type": "Identifier", "start": 2249, "end": 2255, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 24 }, "identifierName": "button" }, "name": "button" }, "init": { "type": "CallExpression", "start": 2258, "end": 2290, "loc": { "start": { "line": 56, "column": 27 }, "end": { "line": 56, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 2258, "end": 2280, "loc": { "start": { "line": 56, "column": 27 }, "end": { "line": 56, "column": 49 } }, "object": { "type": "Identifier", "start": 2258, "end": 2266, "loc": { "start": { "line": 56, "column": 27 }, "end": { "line": 56, "column": 35 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2267, "end": 2280, "loc": { "start": { "line": 56, "column": 36 }, "end": { "line": 56, "column": 49 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2281, "end": 2289, "loc": { "start": { "line": 56, "column": 50 }, "end": { "line": 56, "column": 58 } }, "extra": { "rawValue": "button", "raw": "\"button\"" }, "value": "button" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2305, "end": 2330, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 37 } }, "expression": { "type": "CallExpression", "start": 2305, "end": 2329, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 2305, "end": 2325, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 32 } }, "object": { "type": "MemberExpression", "start": 2305, "end": 2321, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 28 } }, "object": { "type": "Identifier", "start": 2305, "end": 2311, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 2312, "end": 2321, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 28 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 2322, "end": 2325, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 32 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2326, "end": 2328, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 35 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ExpressionStatement", "start": 2344, "end": 2377, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 45 } }, "expression": { "type": "CallExpression", "start": 2344, "end": 2376, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 2344, "end": 2368, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 36 } }, "object": { "type": "MemberExpression", "start": 2344, "end": 2356, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2344, "end": 2348, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 16 } } }, "property": { "type": "Identifier", "start": 2349, "end": 2356, "loc": { "start": { "line": 58, "column": 17 }, "end": { "line": 58, "column": 24 }, "identifierName": "element" }, "name": "element" }, "computed": false }, "property": { "type": "Identifier", "start": 2357, "end": 2368, "loc": { "start": { "line": 58, "column": 25 }, "end": { "line": 58, "column": 36 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2369, "end": 2375, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 2391, "end": 2425, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 46 } }, "expression": { "type": "CallExpression", "start": 2391, "end": 2424, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 2391, "end": 2407, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 28 } }, "object": { "type": "ThisExpression", "start": 2391, "end": 2395, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 16 } } }, "property": { "type": "Identifier", "start": 2396, "end": 2407, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 28 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2408, "end": 2414, "loc": { "start": { "line": 59, "column": 29 }, "end": { "line": 59, "column": 35 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 2416, "end": 2423, "loc": { "start": { "line": 59, "column": 37 }, "end": { "line": 59, "column": 44 }, "identifierName": "handler" }, "name": "handler" } ] } }, { "type": "IfStatement", "start": 2441, "end": 2589, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 64, "column": 13 } }, "test": { "type": "Identifier", "start": 2445, "end": 2455, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 26 }, "identifierName": "keybinding" }, "name": "keybinding" }, "consequent": { "type": "BlockStatement", "start": 2457, "end": 2589, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 64, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 2476, "end": 2535, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2482, "end": 2534, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 74 } }, "id": { "type": "Identifier", "start": 2482, "end": 2489, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 29 }, "identifierName": "binding" }, "name": "binding" }, "init": { "type": "CallExpression", "start": 2492, "end": 2534, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 2492, "end": 2522, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 62 } }, "object": { "type": "MemberExpression", "start": 2492, "end": 2511, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2492, "end": 2501, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 41 } }, "object": { "type": "ThisExpression", "start": 2492, "end": 2496, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 36 } } }, "property": { "type": "Identifier", "start": 2497, "end": 2501, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 41 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2502, "end": 2511, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 51 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false }, "property": { "type": "Identifier", "start": 2512, "end": 2522, "loc": { "start": { "line": 62, "column": 52 }, "end": { "line": 62, "column": 62 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2523, "end": 2533, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 73 }, "identifierName": "keybinding" }, "name": "keybinding" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2553, "end": 2574, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 37 } }, "expression": { "type": "CallExpression", "start": 2553, "end": 2573, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 2553, "end": 2564, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 27 } }, "object": { "type": "Identifier", "start": 2553, "end": 2560, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 23 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 2561, "end": 2564, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 27 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2565, "end": 2572, "loc": { "start": { "line": 63, "column": 28 }, "end": { "line": 63, "column": 35 }, "identifierName": "handler" }, "name": "handler" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2605, "end": 2846, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 72, "column": 13 } }, "test": { "type": "Identifier", "start": 2609, "end": 2616, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 23 }, "identifierName": "visible" }, "name": "visible" }, "consequent": { "type": "BlockStatement", "start": 2618, "end": 2846, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 72, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2637, "end": 2831, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 71, "column": 19 } }, "expression": { "type": "CallExpression", "start": 2637, "end": 2830, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 71, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 2637, "end": 2665, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 44 } }, "object": { "type": "MemberExpression", "start": 2637, "end": 2660, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 39 } }, "object": { "type": "ThisExpression", "start": 2637, "end": 2641, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 20 } } }, "property": { "type": "Identifier", "start": 2642, "end": 2660, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 67, "column": 39 }, "identifierName": "visibilityToUpdate" }, "name": "visibilityToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 2661, "end": 2665, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 44 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 2666, "end": 2829, "loc": { "start": { "line": 67, "column": 45 }, "end": { "line": 71, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 2689, "end": 2695, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 26 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 2689, "end": 2695, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 26 }, "identifierName": "button" }, "name": "button" }, "value": { "type": "Identifier", "start": 2689, "end": 2695, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 26 }, "identifierName": "button" }, "name": "button" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 2718, "end": 2736, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2718, "end": 2727, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 29 }, "identifierName": "condition" }, "name": "condition" }, "value": { "type": "Identifier", "start": 2729, "end": 2736, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 38 }, "identifierName": "visible" }, "name": "visible" } }, { "type": "ObjectProperty", "start": 2759, "end": 2809, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 70 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2759, "end": 2768, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 29 }, "identifierName": "domAttach" }, "name": "domAttach" }, "value": { "type": "NewExpression", "start": 2770, "end": 2809, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 70 } }, "callee": { "type": "Identifier", "start": 2774, "end": 2790, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 51 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" }, "arguments": [ { "type": "MemberExpression", "start": 2791, "end": 2800, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 61 } }, "object": { "type": "ThisExpression", "start": 2791, "end": 2795, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 56 } } }, "property": { "type": "Identifier", "start": 2796, "end": 2800, "loc": { "start": { "line": 70, "column": 57 }, "end": { "line": 70, "column": 61 }, "identifierName": "root" }, "name": "root" }, "computed": false }, { "type": "Identifier", "start": 2802, "end": 2808, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 69 }, "identifierName": "button" }, "name": "button" } ] } } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2862, "end": 3236, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 84, "column": 13 } }, "test": { "type": "Identifier", "start": 2866, "end": 2871, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 21 }, "identifierName": "badge" }, "name": "badge" }, "consequent": { "type": "BlockStatement", "start": 2873, "end": 3236, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 84, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 2892, "end": 2946, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2898, "end": 2945, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 69 } }, "id": { "type": "Identifier", "start": 2898, "end": 2910, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 34 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "init": { "type": "CallExpression", "start": 2913, "end": 2945, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 69 } }, "callee": { "type": "Identifier", "start": 2913, "end": 2920, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 44 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 2921, "end": 2927, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 51 }, "identifierName": "button" }, "name": "button" }, { "type": "NullLiteral", "start": 2929, "end": 2933, "loc": { "start": { "line": 75, "column": 53 }, "end": { "line": 75, "column": 57 } } }, { "type": "ArrayExpression", "start": 2935, "end": 2944, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 68 } }, "elements": [ { "type": "StringLiteral", "start": 2936, "end": 2943, "loc": { "start": { "line": 75, "column": 60 }, "end": { "line": 75, "column": 67 } }, "extra": { "rawValue": "badge", "raw": "\"badge\"" }, "value": "badge" } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2964, "end": 3221, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 83, "column": 19 } }, "expression": { "type": "CallExpression", "start": 2964, "end": 3220, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 83, "column": 18 } }, "callee": { "type": "MemberExpression", "start": 2964, "end": 2988, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 40 } }, "object": { "type": "MemberExpression", "start": 2964, "end": 2983, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 35 } }, "object": { "type": "ThisExpression", "start": 2964, "end": 2968, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 20 } } }, "property": { "type": "Identifier", "start": 2969, "end": 2983, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 35 }, "identifierName": "badgesToUpdate" }, "name": "badgesToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 2984, "end": 2988, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 2989, "end": 3219, "loc": { "start": { "line": 76, "column": 41 }, "end": { "line": 83, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 3012, "end": 3017, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 25 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3012, "end": 3017, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 25 }, "identifierName": "badge" }, "name": "badge" }, "value": { "type": "Identifier", "start": 3012, "end": 3017, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 25 }, "identifierName": "badge" }, "name": "badge" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3040, "end": 3059, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 39 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3040, "end": 3056, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 36 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "value": { "type": "NumericLiteral", "start": 3058, "end": 3059, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 39 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "ObjectProperty", "start": 3082, "end": 3088, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3082, "end": 3088, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 }, "identifierName": "button" }, "name": "button" }, "value": { "type": "Identifier", "start": 3082, "end": 3088, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 }, "identifierName": "button" }, "name": "button" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3111, "end": 3123, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 32 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3111, "end": 3123, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 32 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "value": { "type": "Identifier", "start": 3111, "end": 3123, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 32 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3146, "end": 3158, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 32 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 3146, "end": 3158, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 32 }, "identifierName": "notification" }, "name": "notification" }, "value": { "type": "Identifier", "start": 3146, "end": 3158, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 32 }, "identifierName": "notification" }, "name": "notification" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 3181, "end": 3199, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3181, "end": 3190, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 29 }, "identifierName": "condition" }, "name": "condition" }, "value": { "type": "Identifier", "start": 3192, "end": 3199, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 38 }, "identifierName": "visible" }, "name": "visible" } } ] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 3261, "end": 3339, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 86 } }, "expression": { "type": "AssignmentExpression", "start": 3261, "end": 3338, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 85 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3261, "end": 3276, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 23 } }, "object": { "type": "ThisExpression", "start": 3261, "end": 3265, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 12 } } }, "property": { "type": "Identifier", "start": 3266, "end": 3276, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 23 }, "identifierName": "saveButton" }, "name": "saveButton" }, "computed": false }, "right": { "type": "CallExpression", "start": 3279, "end": 3338, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 85 } }, "callee": { "type": "Identifier", "start": 3279, "end": 3286, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 33 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "MemberExpression", "start": 3287, "end": 3299, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 46 } }, "object": { "type": "ThisExpression", "start": 3287, "end": 3291, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 38 } } }, "property": { "type": "Identifier", "start": 3292, "end": 3299, "loc": { "start": { "line": 87, "column": 39 }, "end": { "line": 87, "column": 46 }, "identifierName": "element" }, "name": "element" }, "computed": false }, { "type": "NullLiteral", "start": 3301, "end": 3305, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 52 } } }, { "type": "ArrayExpression", "start": 3307, "end": 3337, "loc": { "start": { "line": 87, "column": 54 }, "end": { "line": 87, "column": 84 } }, "elements": [ { "type": "StringLiteral", "start": 3308, "end": 3316, "loc": { "start": { "line": 87, "column": 55 }, "end": { "line": 87, "column": 63 } }, "extra": { "rawValue": "button", "raw": "\"button\"" }, "value": "button" }, { "type": "StringLiteral", "start": 3318, "end": 3324, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 71 } }, "extra": { "rawValue": "save", "raw": "\"save\"" }, "value": "save" }, { "type": "StringLiteral", "start": 3326, "end": 3336, "loc": { "start": { "line": 87, "column": 73 }, "end": { "line": 87, "column": 83 } }, "extra": { "rawValue": "animEven", "raw": "\"animEven\"" }, "value": "animEven" } ] } ] } } }, { "type": "ExpressionStatement", "start": 3349, "end": 3423, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 3349, "end": 3422, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3349, "end": 3368, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3349, "end": 3353, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } } }, "property": { "type": "Identifier", "start": 3354, "end": 3368, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 27 }, "identifierName": "settingsButton" }, "name": "settingsButton" }, "computed": false }, "right": { "type": "CallExpression", "start": 3371, "end": 3422, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 81 } }, "callee": { "type": "Identifier", "start": 3371, "end": 3378, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 37 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "MemberExpression", "start": 3379, "end": 3391, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 50 } }, "object": { "type": "ThisExpression", "start": 3379, "end": 3383, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 42 } } }, "property": { "type": "Identifier", "start": 3384, "end": 3391, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 50 }, "identifierName": "element" }, "name": "element" }, "computed": false }, { "type": "NullLiteral", "start": 3393, "end": 3397, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 56 } } }, { "type": "ArrayExpression", "start": 3399, "end": 3421, "loc": { "start": { "line": 88, "column": 58 }, "end": { "line": 88, "column": 80 } }, "elements": [ { "type": "StringLiteral", "start": 3400, "end": 3408, "loc": { "start": { "line": 88, "column": 59 }, "end": { "line": 88, "column": 67 } }, "extra": { "rawValue": "button", "raw": "\"button\"" }, "value": "button" }, { "type": "StringLiteral", "start": 3410, "end": 3420, "loc": { "start": { "line": 88, "column": 69 }, "end": { "line": 88, "column": 79 } }, "extra": { "rawValue": "settings", "raw": "\"settings\"" }, "value": "settings" } ] } ] } } }, { "type": "ExpressionStatement", "start": 3435, "end": 3485, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 58 } }, "expression": { "type": "CallExpression", "start": 3435, "end": 3484, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 3435, "end": 3451, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3435, "end": 3439, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } } }, "property": { "type": "Identifier", "start": 3440, "end": 3451, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 24 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3452, "end": 3467, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 40 } }, "object": { "type": "ThisExpression", "start": 3452, "end": 3456, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 29 } } }, "property": { "type": "Identifier", "start": 3457, "end": 3467, "loc": { "start": { "line": 90, "column": 30 }, "end": { "line": 90, "column": 40 }, "identifierName": "saveButton" }, "name": "saveButton" }, "computed": false }, { "type": "MemberExpression", "start": 3469, "end": 3483, "loc": { "start": { "line": 90, "column": 42 }, "end": { "line": 90, "column": 56 } }, "object": { "type": "ThisExpression", "start": 3469, "end": 3473, "loc": { "start": { "line": 90, "column": 42 }, "end": { "line": 90, "column": 46 } } }, "property": { "type": "Identifier", "start": 3474, "end": 3483, "loc": { "start": { "line": 90, "column": 47 }, "end": { "line": 90, "column": 56 }, "identifierName": "startSave" }, "name": "startSave" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 3495, "end": 3552, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 65 } }, "expression": { "type": "CallExpression", "start": 3495, "end": 3551, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 3495, "end": 3511, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3495, "end": 3499, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 12 } } }, "property": { "type": "Identifier", "start": 3500, "end": 3511, "loc": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 24 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3512, "end": 3531, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 44 } }, "object": { "type": "ThisExpression", "start": 3512, "end": 3516, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 29 } } }, "property": { "type": "Identifier", "start": 3517, "end": 3531, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "column": 44 }, "identifierName": "settingsButton" }, "name": "settingsButton" }, "computed": false }, { "type": "MemberExpression", "start": 3533, "end": 3550, "loc": { "start": { "line": 91, "column": 46 }, "end": { "line": 91, "column": 63 } }, "object": { "type": "ThisExpression", "start": 3533, "end": 3537, "loc": { "start": { "line": 91, "column": 46 }, "end": { "line": 91, "column": 50 } } }, "property": { "type": "Identifier", "start": 3538, "end": 3550, "loc": { "start": { "line": 91, "column": 51 }, "end": { "line": 91, "column": 63 }, "identifierName": "openSettings" }, "name": "openSettings" }, "computed": false } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3567, "end": 3736, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 98, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3567, "end": 3577, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 14 }, "identifierName": "initialize" }, "name": "initialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3580, "end": 3736, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 98, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3591, "end": 3647, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 64 } }, "expression": { "type": "CallExpression", "start": 3591, "end": 3646, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 3591, "end": 3622, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 39 } }, "object": { "type": "MemberExpression", "start": 3591, "end": 3618, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 35 } }, "object": { "type": "MemberExpression", "start": 3591, "end": 3608, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 25 } }, "object": { "type": "MemberExpression", "start": 3591, "end": 3600, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 17 } }, "object": { "type": "ThisExpression", "start": 3591, "end": 3595, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, "property": { "type": "Identifier", "start": 3596, "end": 3600, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3601, "end": 3608, "loc": { "start": { "line": 95, "column": 18 }, "end": { "line": 95, "column": 25 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 3609, "end": 3618, "loc": { "start": { "line": 95, "column": 26 }, "end": { "line": 95, "column": 35 }, "identifierName": "gameSaved" }, "name": "gameSaved" }, "computed": false }, "property": { "type": "Identifier", "start": 3619, "end": 3622, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 39 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3623, "end": 3639, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 56 } }, "object": { "type": "ThisExpression", "start": 3623, "end": 3627, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 44 } } }, "property": { "type": "Identifier", "start": 3628, "end": 3639, "loc": { "start": { "line": 95, "column": 45 }, "end": { "line": 95, "column": 56 }, "identifierName": "onGameSaved" }, "name": "onGameSaved" }, "computed": false }, { "type": "ThisExpression", "start": 3641, "end": 3645, "loc": { "start": { "line": 95, "column": 58 }, "end": { "line": 95, "column": 62 } } } ] } }, { "type": "ExpressionStatement", "start": 3659, "end": 3729, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 78 } }, "expression": { "type": "AssignmentExpression", "start": 3659, "end": 3728, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 77 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3659, "end": 3679, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3659, "end": 3663, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 12 } } }, "property": { "type": "Identifier", "start": 3664, "end": 3679, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 28 }, "identifierName": "trackedIsSaving" }, "name": "trackedIsSaving" }, "computed": false }, "right": { "type": "NewExpression", "start": 3682, "end": 3728, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 77 } }, "callee": { "type": "Identifier", "start": 3686, "end": 3698, "loc": { "start": { "line": 97, "column": 35 }, "end": { "line": 97, "column": 47 }, "identifierName": "TrackedState" }, "name": "TrackedState" }, "arguments": [ { "type": "MemberExpression", "start": 3699, "end": 3721, "loc": { "start": { "line": 97, "column": 48 }, "end": { "line": 97, "column": 70 } }, "object": { "type": "ThisExpression", "start": 3699, "end": 3703, "loc": { "start": { "line": 97, "column": 48 }, "end": { "line": 97, "column": 52 } } }, "property": { "type": "Identifier", "start": 3704, "end": 3721, "loc": { "start": { "line": 97, "column": 53 }, "end": { "line": 97, "column": 70 }, "identifierName": "onIsSavingChanged" }, "name": "onIsSavingChanged" }, "computed": false }, { "type": "ThisExpression", "start": 3723, "end": 3727, "loc": { "start": { "line": 97, "column": 72 }, "end": { "line": 97, "column": 76 } } } ] } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3744, "end": 5743, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 156, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3744, "end": 3750, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3753, "end": 5743, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 156, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3764, "end": 3786, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3768, "end": 3785, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 29 } }, "id": { "type": "Identifier", "start": 3768, "end": 3777, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 21 }, "identifierName": "playSound" }, "name": "playSound" }, "init": { "type": "BooleanLiteral", "start": 3780, "end": 3785, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 29 } }, "value": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 3796, "end": 3826, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3800, "end": 3825, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 37 } }, "id": { "type": "Identifier", "start": 3800, "end": 3813, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 25 }, "identifierName": "notifications" }, "name": "notifications" }, "init": { "type": "NewExpression", "start": 3816, "end": 3825, "loc": { "start": { "line": 102, "column": 28 }, "end": { "line": 102, "column": 37 } }, "callee": { "type": "Identifier", "start": 3820, "end": 3823, "loc": { "start": { "line": 102, "column": 32 }, "end": { "line": 102, "column": 35 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " Check whether we are saving", "start": 3838, "end": 3868, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 38 } } } ] }, { "type": "ExpressionStatement", "start": 3878, "end": 3945, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 75 } }, "expression": { "type": "CallExpression", "start": 3878, "end": 3944, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 3878, "end": 3902, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 32 } }, "object": { "type": "MemberExpression", "start": 3878, "end": 3898, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3878, "end": 3882, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3883, "end": 3898, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 28 }, "identifierName": "trackedIsSaving" }, "name": "trackedIsSaving" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 3899, "end": 3902, "loc": { "start": { "line": 105, "column": 29 }, "end": { "line": 105, "column": 32 }, "identifierName": "set" }, "name": "set" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "UnaryExpression", "start": 3903, "end": 3943, "loc": { "start": { "line": 105, "column": 33 }, "end": { "line": 105, "column": 73 } }, "operator": "!", "prefix": true, "argument": { "type": "UnaryExpression", "start": 3904, "end": 3943, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 73 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3905, "end": 3943, "loc": { "start": { "line": 105, "column": 35 }, "end": { "line": 105, "column": 73 } }, "object": { "type": "MemberExpression", "start": 3905, "end": 3924, "loc": { "start": { "line": 105, "column": 35 }, "end": { "line": 105, "column": 54 } }, "object": { "type": "MemberExpression", "start": 3905, "end": 3914, "loc": { "start": { "line": 105, "column": 35 }, "end": { "line": 105, "column": 44 } }, "object": { "type": "ThisExpression", "start": 3905, "end": 3909, "loc": { "start": { "line": 105, "column": 35 }, "end": { "line": 105, "column": 39 } } }, "property": { "type": "Identifier", "start": 3910, "end": 3914, "loc": { "start": { "line": 105, "column": 40 }, "end": { "line": 105, "column": 44 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3915, "end": 3924, "loc": { "start": { "line": 105, "column": 45 }, "end": { "line": 105, "column": 54 }, "identifierName": "gameState" }, "name": "gameState" }, "computed": false }, "property": { "type": "Identifier", "start": 3925, "end": 3943, "loc": { "start": { "line": 105, "column": 55 }, "end": { "line": 105, "column": 73 }, "identifierName": "currentSavePromise" }, "name": "currentSavePromise" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesizedArgument": false } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check whether we are saving", "start": 3838, "end": 3868, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 38 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Update visibility of buttons", "start": 3957, "end": 3988, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 39 } } } ] }, { "type": "ForStatement", "start": 3998, "end": 4185, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 111, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4003, "end": 4012, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4007, "end": 4012, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 22 } }, "id": { "type": "Identifier", "start": 4007, "end": 4008, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 4011, "end": 4012, "loc": { "start": { "line": 108, "column": 21 }, "end": { "line": 108, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 4014, "end": 4048, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 58 } }, "left": { "type": "Identifier", "start": 4014, "end": 4015, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4018, "end": 4048, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4018, "end": 4041, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 51 } }, "object": { "type": "ThisExpression", "start": 4018, "end": 4022, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 32 } } }, "property": { "type": "Identifier", "start": 4023, "end": 4041, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 51 }, "identifierName": "visibilityToUpdate" }, "name": "visibilityToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 4042, "end": 4048, "loc": { "start": { "line": 108, "column": 52 }, "end": { "line": 108, "column": 58 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4050, "end": 4053, "loc": { "start": { "line": 108, "column": 60 }, "end": { "line": 108, "column": 63 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4052, "end": 4053, "loc": { "start": { "line": 108, "column": 62 }, "end": { "line": 108, "column": 63 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4055, "end": 4185, "loc": { "start": { "line": 108, "column": 65 }, "end": { "line": 111, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4070, "end": 4130, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4076, "end": 4129, "loc": { "start": { "line": 109, "column": 18 }, "end": { "line": 109, "column": 71 } }, "id": { "type": "ObjectPattern", "start": 4076, "end": 4100, "loc": { "start": { "line": 109, "column": 18 }, "end": { "line": 109, "column": 42 } }, "properties": [ { "type": "ObjectProperty", "start": 4078, "end": 4087, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 29 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4078, "end": 4087, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 29 }, "identifierName": "condition" }, "name": "condition" }, "value": { "type": "Identifier", "start": 4078, "end": 4087, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 29 }, "identifierName": "condition" }, "name": "condition" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4089, "end": 4098, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 40 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4089, "end": 4098, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 40 }, "identifierName": "domAttach" }, "name": "domAttach" }, "value": { "type": "Identifier", "start": 4089, "end": 4098, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 40 }, "identifierName": "domAttach" }, "name": "domAttach" }, "extra": { "shorthand": true } } ] }, "init": { "type": "MemberExpression", "start": 4103, "end": 4129, "loc": { "start": { "line": 109, "column": 45 }, "end": { "line": 109, "column": 71 } }, "object": { "type": "MemberExpression", "start": 4103, "end": 4126, "loc": { "start": { "line": 109, "column": 45 }, "end": { "line": 109, "column": 68 } }, "object": { "type": "ThisExpression", "start": 4103, "end": 4107, "loc": { "start": { "line": 109, "column": 45 }, "end": { "line": 109, "column": 49 } } }, "property": { "type": "Identifier", "start": 4108, "end": 4126, "loc": { "start": { "line": 109, "column": 50 }, "end": { "line": 109, "column": 68 }, "identifierName": "visibilityToUpdate" }, "name": "visibilityToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 4127, "end": 4128, "loc": { "start": { "line": 109, "column": 69 }, "end": { "line": 109, "column": 70 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 4144, "end": 4174, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 42 } }, "expression": { "type": "CallExpression", "start": 4144, "end": 4173, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4144, "end": 4160, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 28 } }, "object": { "type": "Identifier", "start": 4144, "end": 4153, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 21 }, "identifierName": "domAttach" }, "name": "domAttach" }, "property": { "type": "Identifier", "start": 4154, "end": 4160, "loc": { "start": { "line": 110, "column": 22 }, "end": { "line": 110, "column": 28 }, "identifierName": "update" }, "name": "update" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 4161, "end": 4172, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 40 } }, "callee": { "type": "Identifier", "start": 4161, "end": 4170, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 38 }, "identifierName": "condition" }, "name": "condition" }, "arguments": [] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Update visibility of buttons", "start": 3957, "end": 3988, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check for notifications and badges", "start": 4197, "end": 4234, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 45 } } } ] }, { "type": "ForStatement", "start": 4244, "end": 5477, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 147, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4249, "end": 4258, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4253, "end": 4258, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 22 } }, "id": { "type": "Identifier", "start": 4253, "end": 4254, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 4257, "end": 4258, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 4260, "end": 4290, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 54 } }, "left": { "type": "Identifier", "start": 4260, "end": 4261, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4264, "end": 4290, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4264, "end": 4283, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 47 } }, "object": { "type": "ThisExpression", "start": 4264, "end": 4268, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 32 } } }, "property": { "type": "Identifier", "start": 4269, "end": 4283, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 114, "column": 47 }, "identifierName": "badgesToUpdate" }, "name": "badgesToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 4284, "end": 4290, "loc": { "start": { "line": 114, "column": 48 }, "end": { "line": 114, "column": 54 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4292, "end": 4295, "loc": { "start": { "line": 114, "column": 56 }, "end": { "line": 114, "column": 59 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4294, "end": 4295, "loc": { "start": { "line": 114, "column": 58 }, "end": { "line": 114, "column": 59 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4297, "end": 5477, "loc": { "start": { "line": 114, "column": 61 }, "end": { "line": 147, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4312, "end": 4534, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 122, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4318, "end": 4533, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 122, "column": 38 } }, "id": { "type": "ObjectPattern", "start": 4318, "end": 4508, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 122, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 4337, "end": 4342, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 21 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4337, "end": 4342, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 21 }, "identifierName": "badge" }, "name": "badge" }, "value": { "type": "Identifier", "start": 4337, "end": 4342, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 21 }, "identifierName": "badge" }, "name": "badge" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4361, "end": 4367, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 22 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4361, "end": 4367, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 22 }, "identifierName": "button" }, "name": "button" }, "value": { "type": "Identifier", "start": 4361, "end": 4367, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 22 }, "identifierName": "button" }, "name": "button" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4386, "end": 4398, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 28 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4386, "end": 4398, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 28 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "value": { "type": "Identifier", "start": 4386, "end": 4398, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 28 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4417, "end": 4433, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 32 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4417, "end": 4433, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 32 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "value": { "type": "Identifier", "start": 4417, "end": 4433, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 32 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4452, "end": 4464, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4452, "end": 4464, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 }, "identifierName": "notification" }, "name": "notification" }, "value": { "type": "Identifier", "start": 4452, "end": 4464, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 }, "identifierName": "notification" }, "name": "notification" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 4483, "end": 4492, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 25 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 4483, "end": 4492, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 25 }, "identifierName": "condition" }, "name": "condition" }, "value": { "type": "Identifier", "start": 4483, "end": 4492, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 25 }, "identifierName": "condition" }, "name": "condition" }, "extra": { "shorthand": true } } ] }, "init": { "type": "MemberExpression", "start": 4511, "end": 4533, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4511, "end": 4530, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 35 } }, "object": { "type": "ThisExpression", "start": 4511, "end": 4515, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, "property": { "type": "Identifier", "start": 4516, "end": 4530, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 35 }, "identifierName": "badgesToUpdate" }, "name": "badgesToUpdate" }, "computed": false }, "property": { "type": "Identifier", "start": 4531, "end": 4532, "loc": { "start": { "line": 122, "column": 36 }, "end": { "line": 122, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4550, "end": 4692, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 127, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 4554, "end": 4579, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 41 } }, "left": { "type": "Identifier", "start": 4554, "end": 4563, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 25 }, "identifierName": "condition" }, "name": "condition" }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 4567, "end": 4579, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4568, "end": 4579, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 41 } }, "callee": { "type": "Identifier", "start": 4568, "end": 4577, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 39 }, "identifierName": "condition" }, "name": "condition" }, "arguments": [] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 4581, "end": 4692, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 127, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 4668, "end": 4677, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Do not show notifications for invisible buttons", "start": 4600, "end": 4650, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 66 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check if the amount shown differs from the one shown last frame", "start": 4708, "end": 4774, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 78 } } } ] }, { "type": "VariableDeclaration", "start": 4788, "end": 4811, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4794, "end": 4810, "loc": { "start": { "line": 130, "column": 18 }, "end": { "line": 130, "column": 34 } }, "id": { "type": "Identifier", "start": 4794, "end": 4800, "loc": { "start": { "line": 130, "column": 18 }, "end": { "line": 130, "column": 24 }, "identifierName": "amount" }, "name": "amount", "leadingComments": null }, "init": { "type": "CallExpression", "start": 4803, "end": 4810, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 34 } }, "callee": { "type": "Identifier", "start": 4803, "end": 4808, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 32 }, "identifierName": "badge" }, "name": "badge" }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Check if the amount shown differs from the one shown last frame", "start": 4708, "end": 4774, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 78 } } } ] }, { "type": "IfStatement", "start": 4825, "end": 5466, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 146, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 4829, "end": 4856, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 43 } }, "left": { "type": "Identifier", "start": 4829, "end": 4845, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 32 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "operator": "!==", "right": { "type": "Identifier", "start": 4850, "end": 4856, "loc": { "start": { "line": 131, "column": 37 }, "end": { "line": 131, "column": 43 }, "identifierName": "amount" }, "name": "amount" } }, "consequent": { "type": "BlockStatement", "start": 4858, "end": 5466, "loc": { "start": { "line": 131, "column": 45 }, "end": { "line": 146, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 4877, "end": 4967, "loc": { "start": { "line": 132, "column": 16 }, "end": { "line": 134, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 4881, "end": 4891, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 30 } }, "left": { "type": "Identifier", "start": 4881, "end": 4887, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 26 }, "identifierName": "amount" }, "name": "amount" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 4890, "end": 4891, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 4893, "end": 4967, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 134, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4916, "end": 4948, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 4916, "end": 4947, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4916, "end": 4938, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 42 } }, "object": { "type": "Identifier", "start": 4916, "end": 4928, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 32 }, "identifierName": "badgeElement" }, "name": "badgeElement" }, "property": { "type": "Identifier", "start": 4929, "end": 4938, "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 42 }, "identifierName": "innerText" }, "name": "innerText" }, "computed": false }, "right": { "type": "Identifier", "start": 4941, "end": 4947, "loc": { "start": { "line": 133, "column": 45 }, "end": { "line": 133, "column": 51 }, "identifierName": "amount" }, "name": "amount" } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Check if the badge increased, if so play a notification", "start": 4985, "end": 5043, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 74 } } } ] }, { "type": "IfStatement", "start": 5061, "end": 5273, "loc": { "start": { "line": 136, "column": 16 }, "end": { "line": 141, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 5065, "end": 5090, "loc": { "start": { "line": 136, "column": 20 }, "end": { "line": 136, "column": 45 } }, "left": { "type": "Identifier", "start": 5065, "end": 5071, "loc": { "start": { "line": 136, "column": 20 }, "end": { "line": 136, "column": 26 }, "identifierName": "amount" }, "name": "amount", "leadingComments": null }, "operator": ">", "right": { "type": "Identifier", "start": 5074, "end": 5090, "loc": { "start": { "line": 136, "column": 29 }, "end": { "line": 136, "column": 45 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 5092, "end": 5273, "loc": { "start": { "line": 136, "column": 47 }, "end": { "line": 141, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 5115, "end": 5132, "loc": { "start": { "line": 137, "column": 20 }, "end": { "line": 137, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 5115, "end": 5131, "loc": { "start": { "line": 137, "column": 20 }, "end": { "line": 137, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 5115, "end": 5124, "loc": { "start": { "line": 137, "column": 20 }, "end": { "line": 137, "column": 29 }, "identifierName": "playSound" }, "name": "playSound" }, "right": { "type": "BooleanLiteral", "start": 5127, "end": 5131, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 36 } }, "value": true } } }, { "type": "IfStatement", "start": 5154, "end": 5254, "loc": { "start": { "line": 138, "column": 20 }, "end": { "line": 140, "column": 21 } }, "test": { "type": "Identifier", "start": 5158, "end": 5170, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 36 }, "identifierName": "notification" }, "name": "notification" }, "consequent": { "type": "BlockStatement", "start": 5172, "end": 5254, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 140, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 5199, "end": 5231, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 56 } }, "expression": { "type": "CallExpression", "start": 5199, "end": 5230, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 5199, "end": 5216, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 41 } }, "object": { "type": "Identifier", "start": 5199, "end": 5212, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 37 }, "identifierName": "notifications" }, "name": "notifications" }, "property": { "type": "Identifier", "start": 5213, "end": 5216, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 41 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5217, "end": 5229, "loc": { "start": { "line": 139, "column": 42 }, "end": { "line": 139, "column": 54 }, "identifierName": "notification" }, "name": "notification" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if the badge increased, if so play a notification", "start": 4985, "end": 5043, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 74 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Rerender notifications", "start": 5293, "end": 5318, "loc": { "start": { "line": 143, "column": 16 }, "end": { "line": 143, "column": 41 } } } ] }, { "type": "ExpressionStatement", "start": 5336, "end": 5385, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 5336, "end": 5384, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5336, "end": 5375, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 55 } }, "object": { "type": "MemberExpression", "start": 5336, "end": 5358, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5336, "end": 5355, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 35 } }, "object": { "type": "ThisExpression", "start": 5336, "end": 5340, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5341, "end": 5355, "loc": { "start": { "line": 144, "column": 21 }, "end": { "line": 144, "column": 35 }, "identifierName": "badgesToUpdate" }, "name": "badgesToUpdate" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 5356, "end": 5357, "loc": { "start": { "line": 144, "column": 36 }, "end": { "line": 144, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 5359, "end": 5375, "loc": { "start": { "line": 144, "column": 39 }, "end": { "line": 144, "column": 55 }, "identifierName": "lastRenderAmount" }, "name": "lastRenderAmount" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 5378, "end": 5384, "loc": { "start": { "line": 144, "column": 58 }, "end": { "line": 144, "column": 64 }, "identifierName": "amount" }, "name": "amount" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Rerender notifications", "start": 5293, "end": 5318, "loc": { "start": { "line": 143, "column": 16 }, "end": { "line": 143, "column": 41 } } } ] }, { "type": "ExpressionStatement", "start": 5403, "end": 5451, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 64 } }, "expression": { "type": "CallExpression", "start": 5403, "end": 5450, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 5403, "end": 5426, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 39 } }, "object": { "type": "MemberExpression", "start": 5403, "end": 5419, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 32 } }, "object": { "type": "Identifier", "start": 5403, "end": 5409, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 22 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 5410, "end": 5419, "loc": { "start": { "line": 145, "column": 23 }, "end": { "line": 145, "column": 32 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 5420, "end": 5426, "loc": { "start": { "line": 145, "column": 33 }, "end": { "line": 145, "column": 39 }, "identifierName": "toggle" }, "name": "toggle" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5427, "end": 5437, "loc": { "start": { "line": 145, "column": 40 }, "end": { "line": 145, "column": 50 } }, "extra": { "rawValue": "hasBadge", "raw": "\"hasBadge\"" }, "value": "hasBadge" }, { "type": "BinaryExpression", "start": 5439, "end": 5449, "loc": { "start": { "line": 145, "column": 52 }, "end": { "line": 145, "column": 62 } }, "left": { "type": "Identifier", "start": 5439, "end": 5445, "loc": { "start": { "line": 145, "column": 52 }, "end": { "line": 145, "column": 58 }, "identifierName": "amount" }, "name": "amount" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5448, "end": 5449, "loc": { "start": { "line": 145, "column": 61 }, "end": { "line": 145, "column": 62 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Check for notifications and badges", "start": 4197, "end": 4234, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 45 } } } ] }, { "type": "IfStatement", "start": 5489, "end": 5584, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 151, "column": 9 } }, "test": { "type": "Identifier", "start": 5493, "end": 5502, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 21 }, "identifierName": "playSound" }, "name": "playSound" }, "consequent": { "type": "BlockStatement", "start": 5504, "end": 5584, "loc": { "start": { "line": 149, "column": 23 }, "end": { "line": 151, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5519, "end": 5573, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 66 } }, "expression": { "type": "CallExpression", "start": 5519, "end": 5572, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 5519, "end": 5546, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 39 } }, "object": { "type": "MemberExpression", "start": 5519, "end": 5539, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 32 } }, "object": { "type": "MemberExpression", "start": 5519, "end": 5528, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 21 } }, "object": { "type": "ThisExpression", "start": 5519, "end": 5523, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 16 } } }, "property": { "type": "Identifier", "start": 5524, "end": 5528, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5529, "end": 5539, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 32 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 5540, "end": 5546, "loc": { "start": { "line": 150, "column": 33 }, "end": { "line": 150, "column": 39 }, "identifierName": "playUi" }, "name": "playUi" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5547, "end": 5571, "loc": { "start": { "line": 150, "column": 40 }, "end": { "line": 150, "column": 64 } }, "object": { "type": "Identifier", "start": 5547, "end": 5553, "loc": { "start": { "line": 150, "column": 40 }, "end": { "line": 150, "column": 46 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "property": { "type": "Identifier", "start": 5554, "end": 5571, "loc": { "start": { "line": 150, "column": 47 }, "end": { "line": 150, "column": 64 }, "identifierName": "badgeNotification" }, "name": "badgeNotification" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 5596, "end": 5736, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 155, "column": 11 } }, "expression": { "type": "CallExpression", "start": 5596, "end": 5735, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 155, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 5596, "end": 5617, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 29 } }, "object": { "type": "Identifier", "start": 5596, "end": 5609, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 21 }, "identifierName": "notifications" }, "name": "notifications" }, "property": { "type": "Identifier", "start": 5610, "end": 5617, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 29 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 5618, "end": 5734, "loc": { "start": { "line": 153, "column": 30 }, "end": { "line": 155, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "ArrayPattern", "start": 5619, "end": 5639, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 51 } }, "elements": [ { "type": "Identifier", "start": 5620, "end": 5632, "loc": { "start": { "line": 153, "column": 32 }, "end": { "line": 153, "column": 44 }, "identifierName": "notification" }, "name": "notification" }, { "type": "Identifier", "start": 5634, "end": 5638, "loc": { "start": { "line": 153, "column": 46 }, "end": { "line": 153, "column": 50 }, "identifierName": "type" }, "name": "type" } ] } ], "body": { "type": "BlockStatement", "start": 5644, "end": 5734, "loc": { "start": { "line": 153, "column": 56 }, "end": { "line": 155, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5659, "end": 5723, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 76 } }, "expression": { "type": "CallExpression", "start": 5659, "end": 5722, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 5659, "end": 5702, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 55 } }, "object": { "type": "MemberExpression", "start": 5659, "end": 5693, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 46 } }, "object": { "type": "MemberExpression", "start": 5659, "end": 5680, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 33 } }, "object": { "type": "MemberExpression", "start": 5659, "end": 5672, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5659, "end": 5668, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 21 } }, "object": { "type": "ThisExpression", "start": 5659, "end": 5663, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 16 } } }, "property": { "type": "Identifier", "start": 5664, "end": 5668, "loc": { "start": { "line": 154, "column": 17 }, "end": { "line": 154, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5669, "end": 5672, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 25 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 5673, "end": 5680, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 33 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 5681, "end": 5693, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 46 }, "identifierName": "notification" }, "name": "notification" }, "computed": false }, "property": { "type": "Identifier", "start": 5694, "end": 5702, "loc": { "start": { "line": 154, "column": 47 }, "end": { "line": 154, "column": 55 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5703, "end": 5715, "loc": { "start": { "line": 154, "column": 56 }, "end": { "line": 154, "column": 68 }, "identifierName": "notification" }, "name": "notification" }, { "type": "Identifier", "start": 5717, "end": 5721, "loc": { "start": { "line": 154, "column": 70 }, "end": { "line": 154, "column": 74 }, "identifierName": "type" }, "name": "type" } ] } } ], "directives": [] } } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 5751, "end": 5850, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 160, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5751, "end": 5768, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 21 }, "identifierName": "onIsSavingChanged" }, "name": "onIsSavingChanged" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5769, "end": 5777, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 30 }, "identifierName": "isSaving" }, "name": "isSaving" } ], "body": { "type": "BlockStatement", "start": 5779, "end": 5850, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 160, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5790, "end": 5843, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 61 } }, "expression": { "type": "CallExpression", "start": 5790, "end": 5842, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5790, "end": 5822, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 40 } }, "object": { "type": "MemberExpression", "start": 5790, "end": 5815, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 33 } }, "object": { "type": "MemberExpression", "start": 5790, "end": 5805, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5790, "end": 5794, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, "property": { "type": "Identifier", "start": 5795, "end": 5805, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 23 }, "identifierName": "saveButton" }, "name": "saveButton" }, "computed": false }, "property": { "type": "Identifier", "start": 5806, "end": 5815, "loc": { "start": { "line": 159, "column": 24 }, "end": { "line": 159, "column": 33 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 5816, "end": 5822, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 40 }, "identifierName": "toggle" }, "name": "toggle" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5823, "end": 5831, "loc": { "start": { "line": 159, "column": 41 }, "end": { "line": 159, "column": 49 } }, "extra": { "rawValue": "saving", "raw": "\"saving\"" }, "value": "saving" }, { "type": "Identifier", "start": 5833, "end": 5841, "loc": { "start": { "line": 159, "column": 51 }, "end": { "line": 159, "column": 59 }, "identifierName": "isSaving" }, "name": "isSaving" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 5858, "end": 5989, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 165, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5858, "end": 5869, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 162, "column": 15 }, "identifierName": "onGameSaved" }, "name": "onGameSaved" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5872, "end": 5989, "loc": { "start": { "line": 162, "column": 18 }, "end": { "line": 165, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5883, "end": 5928, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 53 } }, "expression": { "type": "CallExpression", "start": 5883, "end": 5927, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 5883, "end": 5915, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 40 } }, "object": { "type": "MemberExpression", "start": 5883, "end": 5908, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 33 } }, "object": { "type": "MemberExpression", "start": 5883, "end": 5898, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5883, "end": 5887, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 12 } } }, "property": { "type": "Identifier", "start": 5888, "end": 5898, "loc": { "start": { "line": 163, "column": 13 }, "end": { "line": 163, "column": 23 }, "identifierName": "saveButton" }, "name": "saveButton" }, "computed": false }, "property": { "type": "Identifier", "start": 5899, "end": 5908, "loc": { "start": { "line": 163, "column": 24 }, "end": { "line": 163, "column": 33 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 5909, "end": 5915, "loc": { "start": { "line": 163, "column": 34 }, "end": { "line": 163, "column": 40 }, "identifierName": "toggle" }, "name": "toggle" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5916, "end": 5926, "loc": { "start": { "line": 163, "column": 41 }, "end": { "line": 163, "column": 51 } }, "extra": { "rawValue": "animEven", "raw": "\"animEven\"" }, "value": "animEven" } ] } }, { "type": "ExpressionStatement", "start": 5938, "end": 5982, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 52 } }, "expression": { "type": "CallExpression", "start": 5938, "end": 5981, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 5938, "end": 5970, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 40 } }, "object": { "type": "MemberExpression", "start": 5938, "end": 5963, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 33 } }, "object": { "type": "MemberExpression", "start": 5938, "end": 5953, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5938, "end": 5942, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 12 } } }, "property": { "type": "Identifier", "start": 5943, "end": 5953, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 23 }, "identifierName": "saveButton" }, "name": "saveButton" }, "computed": false }, "property": { "type": "Identifier", "start": 5954, "end": 5963, "loc": { "start": { "line": 164, "column": 24 }, "end": { "line": 164, "column": 33 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 5964, "end": 5970, "loc": { "start": { "line": 164, "column": 34 }, "end": { "line": 164, "column": 40 }, "identifierName": "toggle" }, "name": "toggle" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5971, "end": 5980, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 50 } }, "extra": { "rawValue": "animOdd", "raw": "\"animOdd\"" }, "value": "animOdd" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 5997, "end": 6056, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5997, "end": 6006, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 13 }, "identifierName": "startSave" }, "name": "startSave" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6009, "end": 6056, "loc": { "start": { "line": 167, "column": 16 }, "end": { "line": 169, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6020, "end": 6049, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 37 } }, "expression": { "type": "CallExpression", "start": 6020, "end": 6048, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 6020, "end": 6046, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 34 } }, "object": { "type": "MemberExpression", "start": 6020, "end": 6039, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 27 } }, "object": { "type": "MemberExpression", "start": 6020, "end": 6029, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6020, "end": 6024, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 12 } } }, "property": { "type": "Identifier", "start": 6025, "end": 6029, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6030, "end": 6039, "loc": { "start": { "line": 168, "column": 18 }, "end": { "line": 168, "column": 27 }, "identifierName": "gameState" }, "name": "gameState" }, "computed": false }, "property": { "type": "Identifier", "start": 6040, "end": 6046, "loc": { "start": { "line": 168, "column": 28 }, "end": { "line": 168, "column": 34 }, "identifierName": "doSave" }, "name": "doSave" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 6064, "end": 6137, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 173, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6064, "end": 6076, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 16 }, "identifierName": "openSettings" }, "name": "openSettings" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6079, "end": 6137, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 173, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6090, "end": 6130, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 48 } }, "expression": { "type": "CallExpression", "start": 6090, "end": 6129, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 6090, "end": 6127, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 45 } }, "object": { "type": "MemberExpression", "start": 6090, "end": 6122, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6090, "end": 6109, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 27 } }, "object": { "type": "MemberExpression", "start": 6090, "end": 6103, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 21 } }, "object": { "type": "MemberExpression", "start": 6090, "end": 6099, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6090, "end": 6094, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 12 } } }, "property": { "type": "Identifier", "start": 6095, "end": 6099, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 172, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6100, "end": 6103, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 21 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 6104, "end": 6109, "loc": { "start": { "line": 172, "column": 22 }, "end": { "line": 172, "column": 27 }, "identifierName": "parts" }, "name": "parts" }, "computed": false }, "property": { "type": "Identifier", "start": 6110, "end": 6122, "loc": { "start": { "line": 172, "column": 28 }, "end": { "line": 172, "column": 40 }, "identifierName": "settingsMenu" }, "name": "settingsMenu" }, "computed": false }, "property": { "type": "Identifier", "start": 6123, "end": 6127, "loc": { "start": { "line": 172, "column": 41 }, "end": { "line": 172, "column": 45 }, "identifierName": "show" }, "name": "show" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @type {[string, enumNotificationType]} ", "start": 912, "end": 957, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 75 } } }, { "type": "CommentBlock", "value": "* @type {Array<{\r\n * badge: function,\r\n * button: HTMLElement,\r\n * badgeElement: HTMLElement,\r\n * lastRenderAmount: number,\r\n * condition?: function,\r\n * notification: [string, enumNotificationType]\r\n * }>} ", "start": 1634, "end": 1901, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 45, "column": 17 } } }, { "type": "CommentBlock", "value": "* @type {Array<{\r\n * button: HTMLElement,\r\n * condition: function,\r\n * domAttach: DynamicDomAttach\r\n * }>} ", "start": 1948, "end": 2091, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 52, "column": 17 } } }, { "type": "CommentLine", "value": " Check whether we are saving", "start": 3838, "end": 3868, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 38 } } }, { "type": "CommentLine", "value": " Update visibility of buttons", "start": 3957, "end": 3988, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 39 } } }, { "type": "CommentLine", "value": " Check for notifications and badges", "start": 4197, "end": 4234, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 45 } } }, { "type": "CommentLine", "value": " Do not show notifications for invisible buttons", "start": 4600, "end": 4650, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 66 } } }, { "type": "CommentLine", "value": " Check if the amount shown differs from the one shown last frame", "start": 4708, "end": 4774, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 78 } } }, { "type": "CommentLine", "value": " Check if the badge increased, if so play a notification", "start": 4985, "end": 5043, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 74 } } }, { "type": "CommentLine", "value": " Rerender notifications", "start": 5293, "end": 5318, "loc": { "start": { "line": 143, "column": 16 }, "end": { "line": 143, "column": 41 } } } ], "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": "BaseHUDPart", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21, "end": 22, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 23, "end": 27, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../base_hud_part", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46, "end": 47, "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 47 } } }, { "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": 49, "end": 55, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 56, "end": 57, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 66, "end": 67, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 68, "end": 72, "loc": { "start": { "line": 2, "column": 19 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/utils", "start": 73, "end": 94, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 94, "end": 95, "loc": { "start": { "line": 2, "column": 45 }, "end": { "line": 2, "column": 46 } } }, { "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": 97, "end": 103, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 104, "end": 105, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 106, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 113, "end": 114, "loc": { "start": { "line": 3, "column": 16 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 115, "end": 119, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../platform/sound", "start": 120, "end": 145, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 145, "end": 146, "loc": { "start": { "line": 3, "column": 48 }, "end": { "line": 3, "column": 49 } } }, { "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": 148, "end": 154, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 155, "end": 156, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumNotificationType", "start": 157, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 178, "end": 179, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 180, "end": 184, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./notifications", "start": 185, "end": 202, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 202, "end": 203, "loc": { "start": { "line": 4, "column": 54 }, "end": { "line": 4, "column": 55 } } }, { "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": 205, "end": 211, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 212, "end": 213, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 214, "end": 215, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 216, "end": 217, "loc": { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 218, "end": 222, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "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": 223, "end": 246, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 246, "end": 247, "loc": { "start": { "line": 5, "column": 41 }, "end": { "line": 5, "column": 42 } } }, { "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": 249, "end": 255, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 256, "end": 257, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 258, "end": 269, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 270, "end": 271, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 272, "end": 276, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../key_action_mapper", "start": 277, "end": 302, "loc": { "start": { "line": 6, "column": 28 }, "end": { "line": 6, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 302, "end": 303, "loc": { "start": { "line": 6, "column": 53 }, "end": { "line": 6, "column": 54 } } }, { "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": 305, "end": 311, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 312, "end": 313, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DynamicDomAttach", "start": 314, "end": 330, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 331, "end": 332, "loc": { "start": { "line": 7, "column": 26 }, "end": { "line": 7, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 333, "end": 337, "loc": { "start": { "line": 7, "column": 28 }, "end": { "line": 7, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../dynamic_dom_attach", "start": 338, "end": 361, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 361, "end": 362, "loc": { "start": { "line": 7, "column": 56 }, "end": { "line": 7, "column": 57 } } }, { "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": 364, "end": 370, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 371, "end": 372, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TrackedState", "start": 373, "end": 385, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 386, "end": 387, "loc": { "start": { "line": 8, "column": 22 }, "end": { "line": 8, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 388, "end": 392, "loc": { "start": { "line": 8, "column": 24 }, "end": { "line": 8, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/tracked_state", "start": 393, "end": 422, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 422, "end": 423, "loc": { "start": { "line": 8, "column": 58 }, "end": { "line": 8, "column": 59 } } }, { "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": 427, "end": 433, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 434, "end": 439, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HUDGameMenu", "start": 440, "end": 451, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 452, "end": 459, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 460, "end": 471, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 472, "end": 473, "loc": { "start": { "line": 10, "column": 45 }, "end": { "line": 10, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElements", "start": 479, "end": 493, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 493, "end": 494, "loc": { "start": { "line": 11, "column": 18 }, "end": { "line": 11, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 494, "end": 500, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 500, "end": 501, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 502, "end": 503, "loc": { "start": { "line": 11, "column": 27 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 513, "end": 517, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 517, "end": 518, "loc": { "start": { "line": 12, "column": 12 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 518, "end": 525, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 526, "end": 527, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 528, "end": 535, "loc": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 535, "end": 536, "loc": { "start": { "line": 12, "column": 30 }, "end": { "line": 12, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 536, "end": 542, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 542, "end": 543, "loc": { "start": { "line": 12, "column": 37 }, "end": { "line": 12, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ingame_HUD_GameMenu", "start": 544, "end": 565, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 565, "end": 566, "loc": { "start": { "line": 12, "column": 60 }, "end": { "line": 12, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 566, "end": 567, "loc": { "start": { "line": 12, "column": 61 }, "end": { "line": 12, "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": 579, "end": 584, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 585, "end": 592, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 593, "end": 594, "loc": { "start": { "line": 14, "column": 22 }, "end": { "line": 14, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 595, "end": 596, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 14, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 610, "end": 611, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 629, "end": 631, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 631, "end": 632, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shop", "start": 633, "end": 639, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 639, "end": 640, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 658, "end": 663, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 663, "end": 664, "loc": { "start": { "line": 17, "column": 21 }, "end": { "line": 17, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Upgrades", "start": 665, "end": 675, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 675, "end": 676, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 694, "end": 701, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 701, "end": 702, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 703, "end": 704, "loc": { "start": { "line": 18, "column": 25 }, "end": { "line": 18, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 704, "end": 705, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 706, "end": 708, "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 709, "end": 713, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 713, "end": 714, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 714, "end": 718, "loc": { "start": { "line": 18, "column": 36 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 718, "end": 719, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 719, "end": 722, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 722, "end": 723, "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parts", "start": 723, "end": 728, "loc": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 728, "end": 729, "loc": { "start": { "line": 18, "column": 50 }, "end": { "line": 18, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shop", "start": 729, "end": 733, "loc": { "start": { "line": 18, "column": 51 }, "end": { "line": 18, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 733, "end": 734, "loc": { "start": { "line": 18, "column": 55 }, "end": { "line": 18, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "show", "start": 734, "end": 738, "loc": { "start": { "line": 18, "column": 56 }, "end": { "line": 18, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 738, "end": 739, "loc": { "start": { "line": 18, "column": 60 }, "end": { "line": 18, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 739, "end": 740, "loc": { "start": { "line": 18, "column": 61 }, "end": { "line": 18, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 740, "end": 741, "loc": { "start": { "line": 18, "column": 62 }, "end": { "line": 18, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keybinding", "start": 759, "end": 769, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 769, "end": 770, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 771, "end": 782, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 782, "end": 783, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 783, "end": 789, "loc": { "start": { "line": 19, "column": 40 }, "end": { "line": 19, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 789, "end": 790, "loc": { "start": { "line": 19, "column": 46 }, "end": { "line": 19, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "menuOpenShop", "start": 790, "end": 802, "loc": { "start": { "line": 19, "column": 47 }, "end": { "line": 19, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 802, "end": 803, "loc": { "start": { "line": 19, "column": 59 }, "end": { "line": 19, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 821, "end": 826, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 826, "end": 827, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 828, "end": 829, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 829, "end": 830, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 20, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 831, "end": 833, "loc": { "start": { "line": 20, "column": 26 }, "end": { "line": 20, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 834, "end": 838, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 838, "end": 839, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 20, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 839, "end": 843, "loc": { "start": { "line": 20, "column": 34 }, "end": { "line": 20, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 843, "end": 844, "loc": { "start": { "line": 20, "column": 38 }, "end": { "line": 20, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 844, "end": 852, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 852, "end": 853, "loc": { "start": { "line": 20, "column": 47 }, "end": { "line": 20, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAvailableUpgradeCount", "start": 853, "end": 877, "loc": { "start": { "line": 20, "column": 48 }, "end": { "line": 20, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 877, "end": 878, "loc": { "start": { "line": 20, "column": 72 }, "end": { "line": 20, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 878, "end": 879, "loc": { "start": { "line": 20, "column": 73 }, "end": { "line": 20, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 879, "end": 880, "loc": { "start": { "line": 20, "column": 74 }, "end": { "line": 20, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 898, "end": 910, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 28 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 910, "end": 911, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 29 } } }, { "type": "CommentBlock", "value": "* @type {[string, enumNotificationType]} ", "start": 912, "end": 957, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 958, "end": 959, "loc": { "start": { "line": 21, "column": 76 }, "end": { "line": 21, "column": 77 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 959, "end": 960, "loc": { "start": { "line": 21, "column": 77 }, "end": { "line": 21, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 982, "end": 983, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 983, "end": 984, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 984, "end": 990, "loc": { "start": { "line": 22, "column": 22 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 990, "end": 991, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notifications", "start": 991, "end": 1004, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1004, "end": 1005, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newUpgrade", "start": 1005, "end": 1015, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1015, "end": 1016, "loc": { "start": { "line": 22, "column": 53 }, "end": { "line": 22, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumNotificationType", "start": 1038, "end": 1058, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1058, "end": 1059, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upgrade", "start": 1059, "end": 1066, "loc": { "start": { "line": 23, "column": 41 }, "end": { "line": 23, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1066, "end": 1067, "loc": { "start": { "line": 23, "column": 48 }, "end": { "line": 23, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1085, "end": 1086, "loc": { "start": { "line": 24, "column": 16 }, "end": { "line": 24, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1086, "end": 1087, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1087, "end": 1088, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 1106, "end": 1113, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1113, "end": 1114, "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1118, "end": 1120, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 30 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1142, "end": 1143, "loc": { "start": { "line": 26, "column": 20 }, "end": { "line": 26, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1143, "end": 1147, "loc": { "start": { "line": 26, "column": 21 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1147, "end": 1148, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1148, "end": 1152, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1152, "end": 1153, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1153, "end": 1156, "loc": { "start": { "line": 26, "column": 31 }, "end": { "line": 26, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1156, "end": 1157, "loc": { "start": { "line": 26, "column": 34 }, "end": { "line": 26, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 1157, "end": 1165, "loc": { "start": { "line": 26, "column": 35 }, "end": { "line": 26, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1165, "end": 1166, "loc": { "start": { "line": 26, "column": 43 }, "end": { "line": 26, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 1166, "end": 1180, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 26, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1180, "end": 1181, "loc": { "start": { "line": 26, "column": 58 }, "end": { "line": 26, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1181, "end": 1182, "loc": { "start": { "line": 26, "column": 59 }, "end": { "line": 26, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1182, "end": 1183, "loc": { "start": { "line": 26, "column": 60 }, "end": { "line": 26, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offerHints", "start": 1183, "end": 1193, "loc": { "start": { "line": 26, "column": 61 }, "end": { "line": 26, "column": 71 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1194, "end": 1196, "loc": { "start": { "line": 26, "column": 72 }, "end": { "line": 26, "column": 74 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1197, "end": 1201, "loc": { "start": { "line": 26, "column": 75 }, "end": { "line": 26, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1201, "end": 1202, "loc": { "start": { "line": 26, "column": 79 }, "end": { "line": 26, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1202, "end": 1206, "loc": { "start": { "line": 26, "column": 80 }, "end": { "line": 26, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1206, "end": 1207, "loc": { "start": { "line": 26, "column": 84 }, "end": { "line": 26, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 1207, "end": 1215, "loc": { "start": { "line": 26, "column": 85 }, "end": { "line": 26, "column": 93 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1215, "end": 1216, "loc": { "start": { "line": 26, "column": 93 }, "end": { "line": 26, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 1216, "end": 1221, "loc": { "start": { "line": 26, "column": 94 }, "end": { "line": 26, "column": 99 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 1222, "end": 1224, "loc": { "start": { "line": 26, "column": 100 }, "end": { "line": 26, "column": 102 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 1225, "end": 1226, "loc": { "start": { "line": 26, "column": 103 }, "end": { "line": 26, "column": 104 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1226, "end": 1227, "loc": { "start": { "line": 26, "column": 104 }, "end": { "line": 26, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1241, "end": 1242, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1242, "end": 1243, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1257, "end": 1258, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1276, "end": 1278, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1278, "end": 1279, "loc": { "start": { "line": 29, "column": 18 }, "end": { "line": 29, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "stats", "start": 1280, "end": 1287, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1287, "end": 1288, "loc": { "start": { "line": 29, "column": 27 }, "end": { "line": 29, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 1306, "end": 1311, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1311, "end": 1312, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Stats", "start": 1313, "end": 1320, "loc": { "start": { "line": 30, "column": 23 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1320, "end": 1321, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 1339, "end": 1346, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1346, "end": 1347, "loc": { "start": { "line": 31, "column": 23 }, "end": { "line": 31, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1348, "end": 1349, "loc": { "start": { "line": 31, "column": 25 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1349, "end": 1350, "loc": { "start": { "line": 31, "column": 26 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1351, "end": 1353, "loc": { "start": { "line": 31, "column": 28 }, "end": { "line": 31, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1354, "end": 1358, "loc": { "start": { "line": 31, "column": 31 }, "end": { "line": 31, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1358, "end": 1359, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1359, "end": 1363, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1363, "end": 1364, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 1364, "end": 1367, "loc": { "start": { "line": 31, "column": 41 }, "end": { "line": 31, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1367, "end": 1368, "loc": { "start": { "line": 31, "column": 44 }, "end": { "line": 31, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parts", "start": 1368, "end": 1373, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1373, "end": 1374, "loc": { "start": { "line": 31, "column": 50 }, "end": { "line": 31, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "statistics", "start": 1374, "end": 1384, "loc": { "start": { "line": 31, "column": 51 }, "end": { "line": 31, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1384, "end": 1385, "loc": { "start": { "line": 31, "column": 61 }, "end": { "line": 31, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "show", "start": 1385, "end": 1389, "loc": { "start": { "line": 31, "column": 62 }, "end": { "line": 31, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1389, "end": 1390, "loc": { "start": { "line": 31, "column": 66 }, "end": { "line": 31, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1390, "end": 1391, "loc": { "start": { "line": 31, "column": 67 }, "end": { "line": 31, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1391, "end": 1392, "loc": { "start": { "line": 31, "column": 68 }, "end": { "line": 31, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keybinding", "start": 1410, "end": 1420, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1420, "end": 1421, "loc": { "start": { "line": 32, "column": 26 }, "end": { "line": 32, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 1422, "end": 1433, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1433, "end": 1434, "loc": { "start": { "line": 32, "column": 39 }, "end": { "line": 32, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1434, "end": 1440, "loc": { "start": { "line": 32, "column": 40 }, "end": { "line": 32, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1440, "end": 1441, "loc": { "start": { "line": 32, "column": 46 }, "end": { "line": 32, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "menuOpenStats", "start": 1441, "end": 1454, "loc": { "start": { "line": 32, "column": 47 }, "end": { "line": 32, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1454, "end": 1455, "loc": { "start": { "line": 32, "column": 60 }, "end": { "line": 32, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 1473, "end": 1480, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1480, "end": 1481, "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": 1482, "end": 1483, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1483, "end": 1484, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1485, "end": 1487, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 30 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1509, "end": 1510, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1510, "end": 1514, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1514, "end": 1515, "loc": { "start": { "line": 34, "column": 25 }, "end": { "line": 34, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1515, "end": 1519, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1519, "end": 1520, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 34, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1520, "end": 1523, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1523, "end": 1524, "loc": { "start": { "line": 34, "column": 34 }, "end": { "line": 34, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 1524, "end": 1532, "loc": { "start": { "line": 34, "column": 35 }, "end": { "line": 34, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1532, "end": 1533, "loc": { "start": { "line": 34, "column": 43 }, "end": { "line": 34, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 1533, "end": 1547, "loc": { "start": { "line": 34, "column": 44 }, "end": { "line": 34, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1547, "end": 1548, "loc": { "start": { "line": 34, "column": 58 }, "end": { "line": 34, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1548, "end": 1549, "loc": { "start": { "line": 34, "column": 59 }, "end": { "line": 34, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1549, "end": 1550, "loc": { "start": { "line": 34, "column": 60 }, "end": { "line": 34, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offerHints", "start": 1550, "end": 1560, "loc": { "start": { "line": 34, "column": 61 }, "end": { "line": 34, "column": 71 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1561, "end": 1563, "loc": { "start": { "line": 34, "column": 72 }, "end": { "line": 34, "column": 74 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1564, "end": 1568, "loc": { "start": { "line": 34, "column": 75 }, "end": { "line": 34, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1568, "end": 1569, "loc": { "start": { "line": 34, "column": 79 }, "end": { "line": 34, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1569, "end": 1573, "loc": { "start": { "line": 34, "column": 80 }, "end": { "line": 34, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1573, "end": 1574, "loc": { "start": { "line": 34, "column": 84 }, "end": { "line": 34, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 1574, "end": 1582, "loc": { "start": { "line": 34, "column": 85 }, "end": { "line": 34, "column": 93 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1582, "end": 1583, "loc": { "start": { "line": 34, "column": 93 }, "end": { "line": 34, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 1583, "end": 1588, "loc": { "start": { "line": 34, "column": 94 }, "end": { "line": 34, "column": 99 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 1589, "end": 1591, "loc": { "start": { "line": 34, "column": 100 }, "end": { "line": 34, "column": 102 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 1592, "end": 1593, "loc": { "start": { "line": 34, "column": 103 }, "end": { "line": 34, "column": 104 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1593, "end": 1594, "loc": { "start": { "line": 34, "column": 104 }, "end": { "line": 34, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1608, "end": 1609, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1609, "end": 1610, "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1621, "end": 1622, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 10 } } }, { "type": "CommentBlock", "value": "* @type {Array<{\r\n * badge: function,\r\n * button: HTMLElement,\r\n * badgeElement: HTMLElement,\r\n * lastRenderAmount: number,\r\n * condition?: function,\r\n * notification: [string, enumNotificationType]\r\n * }>} ", "start": 1634, "end": 1901, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1911, "end": 1915, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1915, "end": 1916, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgesToUpdate", "start": 1916, "end": 1930, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1931, "end": 1932, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1933, "end": 1934, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1934, "end": 1935, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1935, "end": 1936, "loc": { "start": { "line": 46, "column": 32 }, "end": { "line": 46, "column": 33 } } }, { "type": "CommentBlock", "value": "* @type {Array<{\r\n * button: HTMLElement,\r\n * condition: function,\r\n * domAttach: DynamicDomAttach\r\n * }>} ", "start": 1948, "end": 2091, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2101, "end": 2105, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2105, "end": 2106, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibilityToUpdate", "start": 2106, "end": 2124, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2125, "end": 2126, "loc": { "start": { "line": 53, "column": 32 }, "end": { "line": 53, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2127, "end": 2128, "loc": { "start": { "line": 53, "column": 34 }, "end": { "line": 53, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2128, "end": 2129, "loc": { "start": { "line": 53, "column": 35 }, "end": { "line": 53, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2129, "end": 2130, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 2142, "end": 2149, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2149, "end": 2150, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 2150, "end": 2157, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2157, "end": 2158, "loc": { "start": { "line": 55, "column": 23 }, "end": { "line": 55, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2158, "end": 2159, "loc": { "start": { "line": 55, "column": 24 }, "end": { "line": 55, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2159, "end": 2160, "loc": { "start": { "line": 55, "column": 25 }, "end": { "line": 55, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2161, "end": 2163, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2163, "end": 2164, "loc": { "start": { "line": 55, "column": 29 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 2165, "end": 2170, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2170, "end": 2171, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 2172, "end": 2179, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2179, "end": 2180, "loc": { "start": { "line": 55, "column": 45 }, "end": { "line": 55, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keybinding", "start": 2181, "end": 2191, "loc": { "start": { "line": 55, "column": 47 }, "end": { "line": 55, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 55, "column": 57 }, "end": { "line": 55, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 2193, "end": 2198, "loc": { "start": { "line": 55, "column": 59 }, "end": { "line": 55, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 55, "column": 64 }, "end": { "line": 55, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 2200, "end": 2212, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2212, "end": 2213, "loc": { "start": { "line": 55, "column": 78 }, "end": { "line": 55, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 2214, "end": 2221, "loc": { "start": { "line": 55, "column": 80 }, "end": { "line": 55, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2222, "end": 2223, "loc": { "start": { "line": 55, "column": 88 }, "end": { "line": 55, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2223, "end": 2224, "loc": { "start": { "line": 55, "column": 89 }, "end": { "line": 55, "column": 90 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2225, "end": 2227, "loc": { "start": { "line": 55, "column": 91 }, "end": { "line": 55, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2228, "end": 2229, "loc": { "start": { "line": 55, "column": 94 }, "end": { "line": 55, "column": 95 } } }, { "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": 2243, "end": 2248, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2249, "end": 2255, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2256, "end": 2257, "loc": { "start": { "line": 56, "column": 25 }, "end": { "line": 56, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2258, "end": 2266, "loc": { "start": { "line": 56, "column": 27 }, "end": { "line": 56, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 56, "column": 35 }, "end": { "line": 56, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 2267, "end": 2280, "loc": { "start": { "line": 56, "column": 36 }, "end": { "line": 56, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2280, "end": 2281, "loc": { "start": { "line": 56, "column": 49 }, "end": { "line": 56, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "button", "start": 2281, "end": 2289, "loc": { "start": { "line": 56, "column": 50 }, "end": { "line": 56, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2289, "end": 2290, "loc": { "start": { "line": 56, "column": 58 }, "end": { "line": 56, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2290, "end": 2291, "loc": { "start": { "line": 56, "column": 59 }, "end": { "line": 56, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2305, "end": 2311, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2311, "end": 2312, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 2312, "end": 2321, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2321, "end": 2322, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 2322, "end": 2325, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2325, "end": 2326, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2326, "end": 2328, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2328, "end": 2329, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 57, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2329, "end": 2330, "loc": { "start": { "line": 57, "column": 36 }, "end": { "line": 57, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2344, "end": 2348, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2348, "end": 2349, "loc": { "start": { "line": 58, "column": 16 }, "end": { "line": 58, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 2349, "end": 2356, "loc": { "start": { "line": 58, "column": 17 }, "end": { "line": 58, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2356, "end": 2357, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 2357, "end": 2368, "loc": { "start": { "line": 58, "column": 25 }, "end": { "line": 58, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2368, "end": 2369, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2369, "end": 2375, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2375, "end": 2376, "loc": { "start": { "line": 58, "column": 43 }, "end": { "line": 58, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2376, "end": 2377, "loc": { "start": { "line": 58, "column": 44 }, "end": { "line": 58, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2391, "end": 2395, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2395, "end": 2396, "loc": { "start": { "line": 59, "column": 16 }, "end": { "line": 59, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 2396, "end": 2407, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2407, "end": 2408, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2408, "end": 2414, "loc": { "start": { "line": 59, "column": 29 }, "end": { "line": 59, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2414, "end": 2415, "loc": { "start": { "line": 59, "column": 35 }, "end": { "line": 59, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 2416, "end": 2423, "loc": { "start": { "line": 59, "column": 37 }, "end": { "line": 59, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2423, "end": 2424, "loc": { "start": { "line": 59, "column": 44 }, "end": { "line": 59, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2424, "end": 2425, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 59, "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": 2441, "end": 2443, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2444, "end": 2445, "loc": { "start": { "line": 61, "column": 15 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keybinding", "start": 2445, "end": 2455, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2455, "end": 2456, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2457, "end": 2458, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 61, "column": 29 } } }, { "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": 2476, "end": 2481, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2482, "end": 2489, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2490, "end": 2491, "loc": { "start": { "line": 62, "column": 30 }, "end": { "line": 62, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2492, "end": 2496, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 62, "column": 36 }, "end": { "line": 62, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2497, "end": 2501, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2501, "end": 2502, "loc": { "start": { "line": 62, "column": 41 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 2502, "end": 2511, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2511, "end": 2512, "loc": { "start": { "line": 62, "column": 51 }, "end": { "line": 62, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 2512, "end": 2522, "loc": { "start": { "line": 62, "column": 52 }, "end": { "line": 62, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2522, "end": 2523, "loc": { "start": { "line": 62, "column": 62 }, "end": { "line": 62, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keybinding", "start": 2523, "end": 2533, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2533, "end": 2534, "loc": { "start": { "line": 62, "column": 73 }, "end": { "line": 62, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2534, "end": 2535, "loc": { "start": { "line": 62, "column": 74 }, "end": { "line": 62, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2553, "end": 2560, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 2561, "end": 2564, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2564, "end": 2565, "loc": { "start": { "line": 63, "column": 27 }, "end": { "line": 63, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handler", "start": 2565, "end": 2572, "loc": { "start": { "line": 63, "column": 28 }, "end": { "line": 63, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2572, "end": 2573, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2573, "end": 2574, "loc": { "start": { "line": 63, "column": 36 }, "end": { "line": 63, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2588, "end": 2589, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 13 } } }, { "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": 2605, "end": 2607, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 66, "column": 15 }, "end": { "line": 66, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 2609, "end": 2616, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2616, "end": 2617, "loc": { "start": { "line": 66, "column": 23 }, "end": { "line": 66, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2618, "end": 2619, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2637, "end": 2641, "loc": { "start": { "line": 67, "column": 16 }, "end": { "line": 67, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2641, "end": 2642, "loc": { "start": { "line": 67, "column": 20 }, "end": { "line": 67, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibilityToUpdate", "start": 2642, "end": 2660, "loc": { "start": { "line": 67, "column": 21 }, "end": { "line": 67, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2660, "end": 2661, "loc": { "start": { "line": 67, "column": 39 }, "end": { "line": 67, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 2661, "end": 2665, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2665, "end": 2666, "loc": { "start": { "line": 67, "column": 44 }, "end": { "line": 67, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 67, "column": 45 }, "end": { "line": 67, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2689, "end": 2695, "loc": { "start": { "line": 68, "column": 20 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2695, "end": 2696, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 2718, "end": 2727, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2727, "end": 2728, "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": "visible", "start": 2729, "end": 2736, "loc": { "start": { "line": 69, "column": 31 }, "end": { "line": 69, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2736, "end": 2737, "loc": { "start": { "line": 69, "column": 38 }, "end": { "line": 69, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 2759, "end": 2768, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2768, "end": 2769, "loc": { "start": { "line": 70, "column": 29 }, "end": { "line": 70, "column": 30 } } }, { "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": 2770, "end": 2773, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DynamicDomAttach", "start": 2774, "end": 2790, "loc": { "start": { "line": 70, "column": 35 }, "end": { "line": 70, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2790, "end": 2791, "loc": { "start": { "line": 70, "column": 51 }, "end": { "line": 70, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2791, "end": 2795, "loc": { "start": { "line": 70, "column": 52 }, "end": { "line": 70, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2795, "end": 2796, "loc": { "start": { "line": 70, "column": 56 }, "end": { "line": 70, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2796, "end": 2800, "loc": { "start": { "line": 70, "column": 57 }, "end": { "line": 70, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2800, "end": 2801, "loc": { "start": { "line": 70, "column": 61 }, "end": { "line": 70, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2802, "end": 2808, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2808, "end": 2809, "loc": { "start": { "line": 70, "column": 69 }, "end": { "line": 70, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2809, "end": 2810, "loc": { "start": { "line": 70, "column": 70 }, "end": { "line": 70, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2828, "end": 2829, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2829, "end": 2830, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2830, "end": 2831, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2845, "end": 2846, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 13 } } }, { "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": 2862, "end": 2864, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2865, "end": 2866, "loc": { "start": { "line": 74, "column": 15 }, "end": { "line": 74, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 2866, "end": 2871, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2871, "end": 2872, "loc": { "start": { "line": 74, "column": 21 }, "end": { "line": 74, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2873, "end": 2874, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 24 } } }, { "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": 2892, "end": 2897, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgeElement", "start": 2898, "end": 2910, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2911, "end": 2912, "loc": { "start": { "line": 75, "column": 35 }, "end": { "line": 75, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 2913, "end": 2920, "loc": { "start": { "line": 75, "column": 37 }, "end": { "line": 75, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2920, "end": 2921, "loc": { "start": { "line": 75, "column": 44 }, "end": { "line": 75, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2921, "end": 2927, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2927, "end": 2928, "loc": { "start": { "line": 75, "column": 51 }, "end": { "line": 75, "column": 52 } } }, { "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": 2929, "end": 2933, "loc": { "start": { "line": 75, "column": 53 }, "end": { "line": 75, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2933, "end": 2934, "loc": { "start": { "line": 75, "column": 57 }, "end": { "line": 75, "column": 58 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2935, "end": 2936, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 60 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "badge", "start": 2936, "end": 2943, "loc": { "start": { "line": 75, "column": 60 }, "end": { "line": 75, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2943, "end": 2944, "loc": { "start": { "line": 75, "column": 67 }, "end": { "line": 75, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2944, "end": 2945, "loc": { "start": { "line": 75, "column": 68 }, "end": { "line": 75, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2945, "end": 2946, "loc": { "start": { "line": 75, "column": 69 }, "end": { "line": 75, "column": 70 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2964, "end": 2968, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2968, "end": 2969, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgesToUpdate", "start": 2969, "end": 2983, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 2984, "end": 2988, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2988, "end": 2989, "loc": { "start": { "line": 76, "column": 40 }, "end": { "line": 76, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2989, "end": 2990, "loc": { "start": { "line": 76, "column": 41 }, "end": { "line": 76, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 3012, "end": 3017, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3017, "end": 3018, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastRenderAmount", "start": 3040, "end": 3056, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 36 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3056, "end": 3057, "loc": { "start": { "line": 78, "column": 36 }, "end": { "line": 78, "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, "start": 3058, "end": 3059, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3059, "end": 3060, "loc": { "start": { "line": 78, "column": 39 }, "end": { "line": 78, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3082, "end": 3088, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3088, "end": 3089, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgeElement", "start": 3111, "end": 3123, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3123, "end": 3124, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 3146, "end": 3158, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3158, "end": 3159, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 3181, "end": 3190, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 29 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3190, "end": 3191, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visible", "start": 3192, "end": 3199, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3199, "end": 3200, "loc": { "start": { "line": 82, "column": 38 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3218, "end": 3219, "loc": { "start": { "line": 83, "column": 16 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3219, "end": 3220, "loc": { "start": { "line": 83, "column": 17 }, "end": { "line": 83, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3220, "end": 3221, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3235, "end": 3236, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3246, "end": 3247, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3247, "end": 3248, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3248, "end": 3249, "loc": { "start": { "line": 85, "column": 10 }, "end": { "line": 85, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3261, "end": 3265, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3265, "end": 3266, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveButton", "start": 3266, "end": 3276, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3277, "end": 3278, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 3279, "end": 3286, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3286, "end": 3287, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3287, "end": 3291, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3291, "end": 3292, "loc": { "start": { "line": 87, "column": 38 }, "end": { "line": 87, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 3292, "end": 3299, "loc": { "start": { "line": 87, "column": 39 }, "end": { "line": 87, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3299, "end": 3300, "loc": { "start": { "line": 87, "column": 46 }, "end": { "line": 87, "column": 47 } } }, { "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": 3301, "end": 3305, "loc": { "start": { "line": 87, "column": 48 }, "end": { "line": 87, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3305, "end": 3306, "loc": { "start": { "line": 87, "column": 52 }, "end": { "line": 87, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3307, "end": 3308, "loc": { "start": { "line": 87, "column": 54 }, "end": { "line": 87, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "button", "start": 3308, "end": 3316, "loc": { "start": { "line": 87, "column": 55 }, "end": { "line": 87, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3316, "end": 3317, "loc": { "start": { "line": 87, "column": 63 }, "end": { "line": 87, "column": 64 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "save", "start": 3318, "end": 3324, "loc": { "start": { "line": 87, "column": 65 }, "end": { "line": 87, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3324, "end": 3325, "loc": { "start": { "line": 87, "column": 71 }, "end": { "line": 87, "column": 72 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "animEven", "start": 3326, "end": 3336, "loc": { "start": { "line": 87, "column": 73 }, "end": { "line": 87, "column": 83 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3336, "end": 3337, "loc": { "start": { "line": 87, "column": 83 }, "end": { "line": 87, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3337, "end": 3338, "loc": { "start": { "line": 87, "column": 84 }, "end": { "line": 87, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3338, "end": 3339, "loc": { "start": { "line": 87, "column": 85 }, "end": { "line": 87, "column": 86 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3349, "end": 3353, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3353, "end": 3354, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settingsButton", "start": 3354, "end": 3368, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3369, "end": 3370, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 3371, "end": 3378, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3378, "end": 3379, "loc": { "start": { "line": 88, "column": 37 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3379, "end": 3383, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3383, "end": 3384, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 3384, "end": 3391, "loc": { "start": { "line": 88, "column": 43 }, "end": { "line": 88, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3391, "end": 3392, "loc": { "start": { "line": 88, "column": 50 }, "end": { "line": 88, "column": 51 } } }, { "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": 3393, "end": 3397, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3397, "end": 3398, "loc": { "start": { "line": 88, "column": 56 }, "end": { "line": 88, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3399, "end": 3400, "loc": { "start": { "line": 88, "column": 58 }, "end": { "line": 88, "column": 59 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "button", "start": 3400, "end": 3408, "loc": { "start": { "line": 88, "column": 59 }, "end": { "line": 88, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3408, "end": 3409, "loc": { "start": { "line": 88, "column": 67 }, "end": { "line": 88, "column": 68 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "settings", "start": 3410, "end": 3420, "loc": { "start": { "line": 88, "column": 69 }, "end": { "line": 88, "column": 79 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3420, "end": 3421, "loc": { "start": { "line": 88, "column": 79 }, "end": { "line": 88, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3421, "end": 3422, "loc": { "start": { "line": 88, "column": 80 }, "end": { "line": 88, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3422, "end": 3423, "loc": { "start": { "line": 88, "column": 81 }, "end": { "line": 88, "column": 82 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3435, "end": 3439, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3439, "end": 3440, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 3440, "end": 3451, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3451, "end": 3452, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3452, "end": 3456, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3456, "end": 3457, "loc": { "start": { "line": 90, "column": 29 }, "end": { "line": 90, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveButton", "start": 3457, "end": 3467, "loc": { "start": { "line": 90, "column": 30 }, "end": { "line": 90, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3467, "end": 3468, "loc": { "start": { "line": 90, "column": 40 }, "end": { "line": 90, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3469, "end": 3473, "loc": { "start": { "line": 90, "column": 42 }, "end": { "line": 90, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3473, "end": 3474, "loc": { "start": { "line": 90, "column": 46 }, "end": { "line": 90, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startSave", "start": 3474, "end": 3483, "loc": { "start": { "line": 90, "column": 47 }, "end": { "line": 90, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3483, "end": 3484, "loc": { "start": { "line": 90, "column": 56 }, "end": { "line": 90, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3484, "end": 3485, "loc": { "start": { "line": 90, "column": 57 }, "end": { "line": 90, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3495, "end": 3499, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3499, "end": 3500, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 3500, "end": 3511, "loc": { "start": { "line": 91, "column": 13 }, "end": { "line": 91, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3511, "end": 3512, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3512, "end": 3516, "loc": { "start": { "line": 91, "column": 25 }, "end": { "line": 91, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3516, "end": 3517, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settingsButton", "start": 3517, "end": 3531, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3531, "end": 3532, "loc": { "start": { "line": 91, "column": 44 }, "end": { "line": 91, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3533, "end": 3537, "loc": { "start": { "line": 91, "column": 46 }, "end": { "line": 91, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3537, "end": 3538, "loc": { "start": { "line": 91, "column": 50 }, "end": { "line": 91, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "openSettings", "start": 3538, "end": 3550, "loc": { "start": { "line": 91, "column": 51 }, "end": { "line": 91, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3550, "end": 3551, "loc": { "start": { "line": 91, "column": 63 }, "end": { "line": 91, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3551, "end": 3552, "loc": { "start": { "line": 91, "column": 64 }, "end": { "line": 91, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3558, "end": 3559, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 3567, "end": 3577, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3577, "end": 3578, "loc": { "start": { "line": 94, "column": 14 }, "end": { "line": 94, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3578, "end": 3579, "loc": { "start": { "line": 94, "column": 15 }, "end": { "line": 94, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3580, "end": 3581, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 18 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3591, "end": 3595, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3595, "end": 3596, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3596, "end": 3600, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3600, "end": 3601, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 3601, "end": 3608, "loc": { "start": { "line": 95, "column": 18 }, "end": { "line": 95, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3608, "end": 3609, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameSaved", "start": 3609, "end": 3618, "loc": { "start": { "line": 95, "column": 26 }, "end": { "line": 95, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3618, "end": 3619, "loc": { "start": { "line": 95, "column": 35 }, "end": { "line": 95, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 3619, "end": 3622, "loc": { "start": { "line": 95, "column": 36 }, "end": { "line": 95, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3622, "end": 3623, "loc": { "start": { "line": 95, "column": 39 }, "end": { "line": 95, "column": 40 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3623, "end": 3627, "loc": { "start": { "line": 95, "column": 40 }, "end": { "line": 95, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3627, "end": 3628, "loc": { "start": { "line": 95, "column": 44 }, "end": { "line": 95, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onGameSaved", "start": 3628, "end": 3639, "loc": { "start": { "line": 95, "column": 45 }, "end": { "line": 95, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3639, "end": 3640, "loc": { "start": { "line": 95, "column": 56 }, "end": { "line": 95, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3641, "end": 3645, "loc": { "start": { "line": 95, "column": 58 }, "end": { "line": 95, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3645, "end": 3646, "loc": { "start": { "line": 95, "column": 62 }, "end": { "line": 95, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 95, "column": 63 }, "end": { "line": 95, "column": 64 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3659, "end": 3663, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3663, "end": 3664, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackedIsSaving", "start": 3664, "end": 3679, "loc": { "start": { "line": 97, "column": 13 }, "end": { "line": 97, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3680, "end": 3681, "loc": { "start": { "line": 97, "column": 29 }, "end": { "line": 97, "column": 30 } } }, { "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": 3682, "end": 3685, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TrackedState", "start": 3686, "end": 3698, "loc": { "start": { "line": 97, "column": 35 }, "end": { "line": 97, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3698, "end": 3699, "loc": { "start": { "line": 97, "column": 47 }, "end": { "line": 97, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3699, "end": 3703, "loc": { "start": { "line": 97, "column": 48 }, "end": { "line": 97, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3703, "end": 3704, "loc": { "start": { "line": 97, "column": 52 }, "end": { "line": 97, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onIsSavingChanged", "start": 3704, "end": 3721, "loc": { "start": { "line": 97, "column": 53 }, "end": { "line": 97, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3721, "end": 3722, "loc": { "start": { "line": 97, "column": 70 }, "end": { "line": 97, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3723, "end": 3727, "loc": { "start": { "line": 97, "column": 72 }, "end": { "line": 97, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3727, "end": 3728, "loc": { "start": { "line": 97, "column": 76 }, "end": { "line": 97, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3728, "end": 3729, "loc": { "start": { "line": 97, "column": 77 }, "end": { "line": 97, "column": 78 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3735, "end": 3736, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 3744, "end": 3750, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3750, "end": 3751, "loc": { "start": { "line": 100, "column": 10 }, "end": { "line": 100, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3751, "end": 3752, "loc": { "start": { "line": 100, "column": 11 }, "end": { "line": 100, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3753, "end": 3754, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 100, "column": 14 } } }, { "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": 3764, "end": 3767, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playSound", "start": 3768, "end": 3777, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3778, "end": 3779, "loc": { "start": { "line": 101, "column": 22 }, "end": { "line": 101, "column": 23 } } }, { "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": 3780, "end": 3785, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3785, "end": 3786, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 30 } } }, { "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": 3796, "end": 3799, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notifications", "start": 3800, "end": 3813, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3814, "end": 3815, "loc": { "start": { "line": 102, "column": 26 }, "end": { "line": 102, "column": 27 } } }, { "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": 3816, "end": 3819, "loc": { "start": { "line": 102, "column": 28 }, "end": { "line": 102, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 3820, "end": 3823, "loc": { "start": { "line": 102, "column": 32 }, "end": { "line": 102, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3823, "end": 3824, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3824, "end": 3825, "loc": { "start": { "line": 102, "column": 36 }, "end": { "line": 102, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3825, "end": 3826, "loc": { "start": { "line": 102, "column": 37 }, "end": { "line": 102, "column": 38 } } }, { "type": "CommentLine", "value": " Check whether we are saving", "start": 3838, "end": 3868, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3878, "end": 3882, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3882, "end": 3883, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackedIsSaving", "start": 3883, "end": 3898, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3898, "end": 3899, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 3899, "end": 3902, "loc": { "start": { "line": 105, "column": 29 }, "end": { "line": 105, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3902, "end": 3903, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 33 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3903, "end": 3904, "loc": { "start": { "line": 105, "column": 33 }, "end": { "line": 105, "column": 34 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3904, "end": 3905, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3905, "end": 3909, "loc": { "start": { "line": 105, "column": 35 }, "end": { "line": 105, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3909, "end": 3910, "loc": { "start": { "line": 105, "column": 39 }, "end": { "line": 105, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3910, "end": 3914, "loc": { "start": { "line": 105, "column": 40 }, "end": { "line": 105, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3914, "end": 3915, "loc": { "start": { "line": 105, "column": 44 }, "end": { "line": 105, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameState", "start": 3915, "end": 3924, "loc": { "start": { "line": 105, "column": 45 }, "end": { "line": 105, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3924, "end": 3925, "loc": { "start": { "line": 105, "column": 54 }, "end": { "line": 105, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentSavePromise", "start": 3925, "end": 3943, "loc": { "start": { "line": 105, "column": 55 }, "end": { "line": 105, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3943, "end": 3944, "loc": { "start": { "line": 105, "column": 73 }, "end": { "line": 105, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3944, "end": 3945, "loc": { "start": { "line": 105, "column": 74 }, "end": { "line": 105, "column": 75 } } }, { "type": "CommentLine", "value": " Update visibility of buttons", "start": 3957, "end": 3988, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 39 } } }, { "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": 3998, "end": 4001, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4002, "end": 4003, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "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": 4003, "end": 4006, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4007, "end": 4008, "loc": { "start": { "line": 108, "column": 17 }, "end": { "line": 108, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4009, "end": 4010, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "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": 4011, "end": 4012, "loc": { "start": { "line": 108, "column": 21 }, "end": { "line": 108, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4012, "end": 4013, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4014, "end": 4015, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4016, "end": 4017, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4018, "end": 4022, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4022, "end": 4023, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibilityToUpdate", "start": 4023, "end": 4041, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4041, "end": 4042, "loc": { "start": { "line": 108, "column": 51 }, "end": { "line": 108, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4042, "end": 4048, "loc": { "start": { "line": 108, "column": 52 }, "end": { "line": 108, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4048, "end": 4049, "loc": { "start": { "line": 108, "column": 58 }, "end": { "line": 108, "column": 59 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4050, "end": 4052, "loc": { "start": { "line": 108, "column": 60 }, "end": { "line": 108, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4052, "end": 4053, "loc": { "start": { "line": 108, "column": 62 }, "end": { "line": 108, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4053, "end": 4054, "loc": { "start": { "line": 108, "column": 63 }, "end": { "line": 108, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4055, "end": 4056, "loc": { "start": { "line": 108, "column": 65 }, "end": { "line": 108, "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": 4070, "end": 4075, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4076, "end": 4077, "loc": { "start": { "line": 109, "column": 18 }, "end": { "line": 109, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 4078, "end": 4087, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4087, "end": 4088, "loc": { "start": { "line": 109, "column": 29 }, "end": { "line": 109, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 4089, "end": 4098, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 40 } } }, { "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": 109, "column": 41 }, "end": { "line": 109, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4101, "end": 4102, "loc": { "start": { "line": 109, "column": 43 }, "end": { "line": 109, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4103, "end": 4107, "loc": { "start": { "line": 109, "column": 45 }, "end": { "line": 109, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4107, "end": 4108, "loc": { "start": { "line": 109, "column": 49 }, "end": { "line": 109, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibilityToUpdate", "start": 4108, "end": 4126, "loc": { "start": { "line": 109, "column": 50 }, "end": { "line": 109, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4126, "end": 4127, "loc": { "start": { "line": 109, "column": 68 }, "end": { "line": 109, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4127, "end": 4128, "loc": { "start": { "line": 109, "column": 69 }, "end": { "line": 109, "column": 70 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4128, "end": 4129, "loc": { "start": { "line": 109, "column": 70 }, "end": { "line": 109, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4129, "end": 4130, "loc": { "start": { "line": 109, "column": 71 }, "end": { "line": 109, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 4144, "end": 4153, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4153, "end": 4154, "loc": { "start": { "line": 110, "column": 21 }, "end": { "line": 110, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 4154, "end": 4160, "loc": { "start": { "line": 110, "column": 22 }, "end": { "line": 110, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4160, "end": 4161, "loc": { "start": { "line": 110, "column": 28 }, "end": { "line": 110, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 4161, "end": 4170, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4170, "end": 4171, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4171, "end": 4172, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 110, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4172, "end": 4173, "loc": { "start": { "line": 110, "column": 40 }, "end": { "line": 110, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4173, "end": 4174, "loc": { "start": { "line": 110, "column": 41 }, "end": { "line": 110, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4184, "end": 4185, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 9 } } }, { "type": "CommentLine", "value": " Check for notifications and badges", "start": 4197, "end": 4234, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 45 } } }, { "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": 4244, "end": 4247, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4248, "end": 4249, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "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": 4249, "end": 4252, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4253, "end": 4254, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4255, "end": 4256, "loc": { "start": { "line": 114, "column": 19 }, "end": { "line": 114, "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": 4257, "end": 4258, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4258, "end": 4259, "loc": { "start": { "line": 114, "column": 22 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4260, "end": 4261, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4262, "end": 4263, "loc": { "start": { "line": 114, "column": 26 }, "end": { "line": 114, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4264, "end": 4268, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4268, "end": 4269, "loc": { "start": { "line": 114, "column": 32 }, "end": { "line": 114, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgesToUpdate", "start": 4269, "end": 4283, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 114, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4283, "end": 4284, "loc": { "start": { "line": 114, "column": 47 }, "end": { "line": 114, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4284, "end": 4290, "loc": { "start": { "line": 114, "column": 48 }, "end": { "line": 114, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4290, "end": 4291, "loc": { "start": { "line": 114, "column": 54 }, "end": { "line": 114, "column": 55 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4292, "end": 4294, "loc": { "start": { "line": 114, "column": 56 }, "end": { "line": 114, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4294, "end": 4295, "loc": { "start": { "line": 114, "column": 58 }, "end": { "line": 114, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4295, "end": 4296, "loc": { "start": { "line": 114, "column": 59 }, "end": { "line": 114, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4297, "end": 4298, "loc": { "start": { "line": 114, "column": 61 }, "end": { "line": 114, "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": 4312, "end": 4317, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4318, "end": 4319, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 4337, "end": 4342, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4361, "end": 4367, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4367, "end": 4368, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgeElement", "start": 4386, "end": 4398, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4398, "end": 4399, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastRenderAmount", "start": 4417, "end": 4433, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4433, "end": 4434, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 119, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 4452, "end": 4464, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 120, "column": 28 }, "end": { "line": 120, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 4483, "end": 4492, "loc": { "start": { "line": 121, "column": 16 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4492, "end": 4493, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4507, "end": 4508, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4509, "end": 4510, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4511, "end": 4515, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4515, "end": 4516, "loc": { "start": { "line": 122, "column": 20 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgesToUpdate", "start": 4516, "end": 4530, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4530, "end": 4531, "loc": { "start": { "line": 122, "column": 35 }, "end": { "line": 122, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4531, "end": 4532, "loc": { "start": { "line": 122, "column": 36 }, "end": { "line": 122, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4532, "end": 4533, "loc": { "start": { "line": 122, "column": 37 }, "end": { "line": 122, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4533, "end": 4534, "loc": { "start": { "line": 122, "column": 38 }, "end": { "line": 122, "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": 4550, "end": 4552, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4553, "end": 4554, "loc": { "start": { "line": 124, "column": 15 }, "end": { "line": 124, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 4554, "end": 4563, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4564, "end": 4566, "loc": { "start": { "line": 124, "column": 26 }, "end": { "line": 124, "column": 28 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4567, "end": 4568, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 4568, "end": 4577, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4577, "end": 4578, "loc": { "start": { "line": 124, "column": 39 }, "end": { "line": 124, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4578, "end": 4579, "loc": { "start": { "line": 124, "column": 40 }, "end": { "line": 124, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4579, "end": 4580, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4581, "end": 4582, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } } }, { "type": "CommentLine", "value": " Do not show notifications for invisible buttons", "start": 4600, "end": 4650, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 66 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 4668, "end": 4676, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 24 } } }, { "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": 126, "column": 24 }, "end": { "line": 126, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4691, "end": 4692, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 13 } } }, { "type": "CommentLine", "value": " Check if the amount shown differs from the one shown last frame", "start": 4708, "end": 4774, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 78 } } }, { "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": 4788, "end": 4793, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 4794, "end": 4800, "loc": { "start": { "line": 130, "column": 18 }, "end": { "line": 130, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4801, "end": 4802, "loc": { "start": { "line": 130, "column": 25 }, "end": { "line": 130, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badge", "start": 4803, "end": 4808, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4808, "end": 4809, "loc": { "start": { "line": 130, "column": 32 }, "end": { "line": 130, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4809, "end": 4810, "loc": { "start": { "line": 130, "column": 33 }, "end": { "line": 130, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4810, "end": 4811, "loc": { "start": { "line": 130, "column": 34 }, "end": { "line": 130, "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": 4825, "end": 4827, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4828, "end": 4829, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastRenderAmount", "start": 4829, "end": 4845, "loc": { "start": { "line": 131, "column": 16 }, "end": { "line": 131, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4846, "end": 4849, "loc": { "start": { "line": 131, "column": 33 }, "end": { "line": 131, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 4850, "end": 4856, "loc": { "start": { "line": 131, "column": 37 }, "end": { "line": 131, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4856, "end": 4857, "loc": { "start": { "line": 131, "column": 43 }, "end": { "line": 131, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4858, "end": 4859, "loc": { "start": { "line": 131, "column": 45 }, "end": { "line": 131, "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": 4877, "end": 4879, "loc": { "start": { "line": 132, "column": 16 }, "end": { "line": 132, "column": 18 } } }, { "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": 132, "column": 19 }, "end": { "line": 132, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 4881, "end": 4887, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 4888, "end": 4889, "loc": { "start": { "line": 132, "column": 27 }, "end": { "line": 132, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4890, "end": 4891, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4891, "end": 4892, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4893, "end": 4894, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgeElement", "start": 4916, "end": 4928, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4928, "end": 4929, "loc": { "start": { "line": 133, "column": 32 }, "end": { "line": 133, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerText", "start": 4929, "end": 4938, "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4939, "end": 4940, "loc": { "start": { "line": 133, "column": 43 }, "end": { "line": 133, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 4941, "end": 4947, "loc": { "start": { "line": 133, "column": 45 }, "end": { "line": 133, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4947, "end": 4948, "loc": { "start": { "line": 133, "column": 51 }, "end": { "line": 133, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4966, "end": 4967, "loc": { "start": { "line": 134, "column": 16 }, "end": { "line": 134, "column": 17 } } }, { "type": "CommentLine", "value": " Check if the badge increased, if so play a notification", "start": 4985, "end": 5043, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 74 } } }, { "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": 5061, "end": 5063, "loc": { "start": { "line": 136, "column": 16 }, "end": { "line": 136, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5064, "end": 5065, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 5065, "end": 5071, "loc": { "start": { "line": 136, "column": 20 }, "end": { "line": 136, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5072, "end": 5073, "loc": { "start": { "line": 136, "column": 27 }, "end": { "line": 136, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastRenderAmount", "start": 5074, "end": 5090, "loc": { "start": { "line": 136, "column": 29 }, "end": { "line": 136, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5090, "end": 5091, "loc": { "start": { "line": 136, "column": 45 }, "end": { "line": 136, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5092, "end": 5093, "loc": { "start": { "line": 136, "column": 47 }, "end": { "line": 136, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playSound", "start": 5115, "end": 5124, "loc": { "start": { "line": 137, "column": 20 }, "end": { "line": 137, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5125, "end": 5126, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 31 } } }, { "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": 5127, "end": 5131, "loc": { "start": { "line": 137, "column": 32 }, "end": { "line": 137, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5131, "end": 5132, "loc": { "start": { "line": 137, "column": 36 }, "end": { "line": 137, "column": 37 } } }, { "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": 5154, "end": 5156, "loc": { "start": { "line": 138, "column": 20 }, "end": { "line": 138, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5157, "end": 5158, "loc": { "start": { "line": 138, "column": 23 }, "end": { "line": 138, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 5158, "end": 5170, "loc": { "start": { "line": 138, "column": 24 }, "end": { "line": 138, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5170, "end": 5171, "loc": { "start": { "line": 138, "column": 36 }, "end": { "line": 138, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5172, "end": 5173, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notifications", "start": 5199, "end": 5212, "loc": { "start": { "line": 139, "column": 24 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5212, "end": 5213, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 5213, "end": 5216, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5216, "end": 5217, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 5217, "end": 5229, "loc": { "start": { "line": 139, "column": 42 }, "end": { "line": 139, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5229, "end": 5230, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5230, "end": 5231, "loc": { "start": { "line": 139, "column": 55 }, "end": { "line": 139, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5253, "end": 5254, "loc": { "start": { "line": 140, "column": 20 }, "end": { "line": 140, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5272, "end": 5273, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 17 } } }, { "type": "CommentLine", "value": " Rerender notifications", "start": 5293, "end": 5318, "loc": { "start": { "line": 143, "column": 16 }, "end": { "line": 143, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5336, "end": 5340, "loc": { "start": { "line": 144, "column": 16 }, "end": { "line": 144, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5340, "end": 5341, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgesToUpdate", "start": 5341, "end": 5355, "loc": { "start": { "line": 144, "column": 21 }, "end": { "line": 144, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5355, "end": 5356, "loc": { "start": { "line": 144, "column": 35 }, "end": { "line": 144, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5356, "end": 5357, "loc": { "start": { "line": 144, "column": 36 }, "end": { "line": 144, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5357, "end": 5358, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5358, "end": 5359, "loc": { "start": { "line": 144, "column": 38 }, "end": { "line": 144, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastRenderAmount", "start": 5359, "end": 5375, "loc": { "start": { "line": 144, "column": 39 }, "end": { "line": 144, "column": 55 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5376, "end": 5377, "loc": { "start": { "line": 144, "column": 56 }, "end": { "line": 144, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 5378, "end": 5384, "loc": { "start": { "line": 144, "column": 58 }, "end": { "line": 144, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5384, "end": 5385, "loc": { "start": { "line": 144, "column": 64 }, "end": { "line": 144, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 5403, "end": 5409, "loc": { "start": { "line": 145, "column": 16 }, "end": { "line": 145, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5409, "end": 5410, "loc": { "start": { "line": 145, "column": 22 }, "end": { "line": 145, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 5410, "end": 5419, "loc": { "start": { "line": 145, "column": 23 }, "end": { "line": 145, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5419, "end": 5420, "loc": { "start": { "line": 145, "column": 32 }, "end": { "line": 145, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 5420, "end": 5426, "loc": { "start": { "line": 145, "column": 33 }, "end": { "line": 145, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5426, "end": 5427, "loc": { "start": { "line": 145, "column": 39 }, "end": { "line": 145, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hasBadge", "start": 5427, "end": 5437, "loc": { "start": { "line": 145, "column": 40 }, "end": { "line": 145, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5437, "end": 5438, "loc": { "start": { "line": 145, "column": 50 }, "end": { "line": 145, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 5439, "end": 5445, "loc": { "start": { "line": 145, "column": 52 }, "end": { "line": 145, "column": 58 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5446, "end": 5447, "loc": { "start": { "line": 145, "column": 59 }, "end": { "line": 145, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5448, "end": 5449, "loc": { "start": { "line": 145, "column": 61 }, "end": { "line": 145, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5449, "end": 5450, "loc": { "start": { "line": 145, "column": 62 }, "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": 5450, "end": 5451, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5465, "end": 5466, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5476, "end": 5477, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 9 } } }, { "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": 5489, "end": 5491, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5492, "end": 5493, "loc": { "start": { "line": 149, "column": 11 }, "end": { "line": 149, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playSound", "start": 5493, "end": 5502, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5502, "end": 5503, "loc": { "start": { "line": 149, "column": 21 }, "end": { "line": 149, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5504, "end": 5505, "loc": { "start": { "line": 149, "column": 23 }, "end": { "line": 149, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5519, "end": 5523, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5523, "end": 5524, "loc": { "start": { "line": 150, "column": 16 }, "end": { "line": 150, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5524, "end": 5528, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5528, "end": 5529, "loc": { "start": { "line": 150, "column": 21 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 5529, "end": 5539, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5539, "end": 5540, "loc": { "start": { "line": 150, "column": 32 }, "end": { "line": 150, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUi", "start": 5540, "end": 5546, "loc": { "start": { "line": 150, "column": 33 }, "end": { "line": 150, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5546, "end": 5547, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 5547, "end": 5553, "loc": { "start": { "line": 150, "column": 40 }, "end": { "line": 150, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5553, "end": 5554, "loc": { "start": { "line": 150, "column": 46 }, "end": { "line": 150, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "badgeNotification", "start": 5554, "end": 5571, "loc": { "start": { "line": 150, "column": 47 }, "end": { "line": 150, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5571, "end": 5572, "loc": { "start": { "line": 150, "column": 64 }, "end": { "line": 150, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5572, "end": 5573, "loc": { "start": { "line": 150, "column": 65 }, "end": { "line": 150, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5583, "end": 5584, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notifications", "start": 5596, "end": 5609, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5609, "end": 5610, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 5610, "end": 5617, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5617, "end": 5618, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5618, "end": 5619, "loc": { "start": { "line": 153, "column": 30 }, "end": { "line": 153, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5619, "end": 5620, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 5620, "end": 5632, "loc": { "start": { "line": 153, "column": 32 }, "end": { "line": 153, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5632, "end": 5633, "loc": { "start": { "line": 153, "column": 44 }, "end": { "line": 153, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 5634, "end": 5638, "loc": { "start": { "line": 153, "column": 46 }, "end": { "line": 153, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5638, "end": 5639, "loc": { "start": { "line": 153, "column": 50 }, "end": { "line": 153, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5639, "end": 5640, "loc": { "start": { "line": 153, "column": 51 }, "end": { "line": 153, "column": 52 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5641, "end": 5643, "loc": { "start": { "line": 153, "column": 53 }, "end": { "line": 153, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5644, "end": 5645, "loc": { "start": { "line": 153, "column": 56 }, "end": { "line": 153, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5659, "end": 5663, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5663, "end": 5664, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5664, "end": 5668, "loc": { "start": { "line": 154, "column": 17 }, "end": { "line": 154, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5668, "end": 5669, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 5669, "end": 5672, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5672, "end": 5673, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 154, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 5673, "end": 5680, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5680, "end": 5681, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 5681, "end": 5693, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5693, "end": 5694, "loc": { "start": { "line": 154, "column": 46 }, "end": { "line": 154, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 5694, "end": 5702, "loc": { "start": { "line": 154, "column": 47 }, "end": { "line": 154, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5702, "end": 5703, "loc": { "start": { "line": 154, "column": 55 }, "end": { "line": 154, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 5703, "end": 5715, "loc": { "start": { "line": 154, "column": 56 }, "end": { "line": 154, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5715, "end": 5716, "loc": { "start": { "line": 154, "column": 68 }, "end": { "line": 154, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 5717, "end": 5721, "loc": { "start": { "line": 154, "column": 70 }, "end": { "line": 154, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5721, "end": 5722, "loc": { "start": { "line": 154, "column": 74 }, "end": { "line": 154, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5722, "end": 5723, "loc": { "start": { "line": 154, "column": 75 }, "end": { "line": 154, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5733, "end": 5734, "loc": { "start": { "line": 155, "column": 8 }, "end": { "line": 155, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5734, "end": 5735, "loc": { "start": { "line": 155, "column": 9 }, "end": { "line": 155, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5735, "end": 5736, "loc": { "start": { "line": 155, "column": 10 }, "end": { "line": 155, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5742, "end": 5743, "loc": { "start": { "line": 156, "column": 4 }, "end": { "line": 156, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onIsSavingChanged", "start": 5751, "end": 5768, "loc": { "start": { "line": 158, "column": 4 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5768, "end": 5769, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSaving", "start": 5769, "end": 5777, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5777, "end": 5778, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5779, "end": 5780, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5790, "end": 5794, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5794, "end": 5795, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveButton", "start": 5795, "end": 5805, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5805, "end": 5806, "loc": { "start": { "line": 159, "column": 23 }, "end": { "line": 159, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 5806, "end": 5815, "loc": { "start": { "line": 159, "column": 24 }, "end": { "line": 159, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5815, "end": 5816, "loc": { "start": { "line": 159, "column": 33 }, "end": { "line": 159, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 5816, "end": 5822, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5822, "end": 5823, "loc": { "start": { "line": 159, "column": 40 }, "end": { "line": 159, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "saving", "start": 5823, "end": 5831, "loc": { "start": { "line": 159, "column": 41 }, "end": { "line": 159, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5831, "end": 5832, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSaving", "start": 5833, "end": 5841, "loc": { "start": { "line": 159, "column": 51 }, "end": { "line": 159, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5841, "end": 5842, "loc": { "start": { "line": 159, "column": 59 }, "end": { "line": 159, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5842, "end": 5843, "loc": { "start": { "line": 159, "column": 60 }, "end": { "line": 159, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5849, "end": 5850, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onGameSaved", "start": 5858, "end": 5869, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 162, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5869, "end": 5870, "loc": { "start": { "line": 162, "column": 15 }, "end": { "line": 162, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5870, "end": 5871, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5872, "end": 5873, "loc": { "start": { "line": 162, "column": 18 }, "end": { "line": 162, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5883, "end": 5887, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5887, "end": 5888, "loc": { "start": { "line": 163, "column": 12 }, "end": { "line": 163, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveButton", "start": 5888, "end": 5898, "loc": { "start": { "line": 163, "column": 13 }, "end": { "line": 163, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5898, "end": 5899, "loc": { "start": { "line": 163, "column": 23 }, "end": { "line": 163, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 5899, "end": 5908, "loc": { "start": { "line": 163, "column": 24 }, "end": { "line": 163, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5908, "end": 5909, "loc": { "start": { "line": 163, "column": 33 }, "end": { "line": 163, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 5909, "end": 5915, "loc": { "start": { "line": 163, "column": 34 }, "end": { "line": 163, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5915, "end": 5916, "loc": { "start": { "line": 163, "column": 40 }, "end": { "line": 163, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "animEven", "start": 5916, "end": 5926, "loc": { "start": { "line": 163, "column": 41 }, "end": { "line": 163, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5926, "end": 5927, "loc": { "start": { "line": 163, "column": 51 }, "end": { "line": 163, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5927, "end": 5928, "loc": { "start": { "line": 163, "column": 52 }, "end": { "line": 163, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5938, "end": 5942, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5942, "end": 5943, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "saveButton", "start": 5943, "end": 5953, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5953, "end": 5954, "loc": { "start": { "line": 164, "column": 23 }, "end": { "line": 164, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 5954, "end": 5963, "loc": { "start": { "line": 164, "column": 24 }, "end": { "line": 164, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5963, "end": 5964, "loc": { "start": { "line": 164, "column": 33 }, "end": { "line": 164, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggle", "start": 5964, "end": 5970, "loc": { "start": { "line": 164, "column": 34 }, "end": { "line": 164, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5970, "end": 5971, "loc": { "start": { "line": 164, "column": 40 }, "end": { "line": 164, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "animOdd", "start": 5971, "end": 5980, "loc": { "start": { "line": 164, "column": 41 }, "end": { "line": 164, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5980, "end": 5981, "loc": { "start": { "line": 164, "column": 50 }, "end": { "line": 164, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5981, "end": 5982, "loc": { "start": { "line": 164, "column": 51 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5988, "end": 5989, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "startSave", "start": 5997, "end": 6006, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6006, "end": 6007, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6007, "end": 6008, "loc": { "start": { "line": 167, "column": 14 }, "end": { "line": 167, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6009, "end": 6010, "loc": { "start": { "line": 167, "column": 16 }, "end": { "line": 167, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6020, "end": 6024, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6024, "end": 6025, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6025, "end": 6029, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6029, "end": 6030, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameState", "start": 6030, "end": 6039, "loc": { "start": { "line": 168, "column": 18 }, "end": { "line": 168, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6039, "end": 6040, "loc": { "start": { "line": 168, "column": 27 }, "end": { "line": 168, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doSave", "start": 6040, "end": 6046, "loc": { "start": { "line": 168, "column": 28 }, "end": { "line": 168, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6046, "end": 6047, "loc": { "start": { "line": 168, "column": 34 }, "end": { "line": 168, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6047, "end": 6048, "loc": { "start": { "line": 168, "column": 35 }, "end": { "line": 168, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6048, "end": 6049, "loc": { "start": { "line": 168, "column": 36 }, "end": { "line": 168, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6055, "end": 6056, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 169, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "openSettings", "start": 6064, "end": 6076, "loc": { "start": { "line": 171, "column": 4 }, "end": { "line": 171, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6076, "end": 6077, "loc": { "start": { "line": 171, "column": 16 }, "end": { "line": 171, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6077, "end": 6078, "loc": { "start": { "line": 171, "column": 17 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6079, "end": 6080, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6090, "end": 6094, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 12 } } }, { "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": 172, "column": 12 }, "end": { "line": 172, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6095, "end": 6099, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 172, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6099, "end": 6100, "loc": { "start": { "line": 172, "column": 17 }, "end": { "line": 172, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 6100, "end": 6103, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6103, "end": 6104, "loc": { "start": { "line": 172, "column": 21 }, "end": { "line": 172, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parts", "start": 6104, "end": 6109, "loc": { "start": { "line": 172, "column": 22 }, "end": { "line": 172, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6109, "end": 6110, "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": "settingsMenu", "start": 6110, "end": 6122, "loc": { "start": { "line": 172, "column": 28 }, "end": { "line": 172, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6122, "end": 6123, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "show", "start": 6123, "end": 6127, "loc": { "start": { "line": 172, "column": 41 }, "end": { "line": 172, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6127, "end": 6128, "loc": { "start": { "line": 172, "column": 45 }, "end": { "line": 172, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6128, "end": 6129, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6129, "end": 6130, "loc": { "start": { "line": 172, "column": 47 }, "end": { "line": 172, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6136, "end": 6137, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6139, "end": 6140, "loc": { "start": { "line": 174, "column": 0 }, "end": { "line": 174, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6142, "end": 6142, "loc": { "start": { "line": 175, "column": 0 }, "end": { "line": 175, "column": 0 } } } ] }