{ "type": "File", "start": 0, "end": 22607, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 646, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 22607, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 646, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 65, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 65 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 } }, "imported": { "type": "Identifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "local": { "type": "Identifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" } } ], "source": { "type": "StringLiteral", "start": 36, "end": 64, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 64 } }, "extra": { "rawValue": "../../../core/buffer_utils", "raw": "\"../../../core/buffer_utils\"" }, "value": "../../../core/buffer_utils" } }, { "type": "ImportDeclaration", "start": 67, "end": 136, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 69 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } }, { "type": "ImportSpecifier", "start": 90, "end": 105, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 38 } }, "imported": { "type": "Identifier", "start": 90, "end": 105, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 38 }, "identifierName": "THIRDPARTY_URLS" }, "name": "THIRDPARTY_URLS" }, "local": { "type": "Identifier", "start": 90, "end": 105, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 38 }, "identifierName": "THIRDPARTY_URLS" }, "name": "THIRDPARTY_URLS" } } ], "source": { "type": "StringLiteral", "start": 113, "end": 135, "loc": { "start": { "line": 2, "column": 46 }, "end": { "line": 2, "column": 68 } }, "extra": { "rawValue": "../../../core/config", "raw": "\"../../../core/config\"" }, "value": "../../../core/config" } }, { "type": "ImportDeclaration", "start": 138, "end": 201, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 147, "end": 161, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 } }, "imported": { "type": "Identifier", "start": 147, "end": 161, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 147, "end": 161, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 169, "end": 200, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 62 } }, "extra": { "rawValue": "../../../core/draw_parameters", "raw": "\"../../../core/draw_parameters\"" }, "value": "../../../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 203, "end": 275, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 72 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 212, "end": 233, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 } }, "imported": { "type": "Identifier", "start": 212, "end": 233, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 }, "identifierName": "gMetaBuildingRegistry" }, "name": "gMetaBuildingRegistry" }, "local": { "type": "Identifier", "start": 212, "end": 233, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 }, "identifierName": "gMetaBuildingRegistry" }, "name": "gMetaBuildingRegistry" } } ], "source": { "type": "StringLiteral", "start": 241, "end": 274, "loc": { "start": { "line": 4, "column": 38 }, "end": { "line": 4, "column": 71 } }, "extra": { "rawValue": "../../../core/global_registries", "raw": "\"../../../core/global_registries\"" }, "value": "../../../core/global_registries" } }, { "type": "ImportDeclaration", "start": 277, "end": 323, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 286, "end": 292, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } }, "imported": { "type": "Identifier", "start": 286, "end": 292, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" }, "local": { "type": "Identifier", "start": 286, "end": 292, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" } } ], "source": { "type": "StringLiteral", "start": 300, "end": 322, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 45 } }, "extra": { "rawValue": "../../../core/loader", "raw": "\"../../../core/loader\"" }, "value": "../../../core/loader" } }, { "type": "ImportDeclaration", "start": 325, "end": 394, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 69 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 334, "end": 348, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 23 } }, "imported": { "type": "Identifier", "start": 334, "end": 348, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 23 }, "identifierName": "DialogWithForm" }, "name": "DialogWithForm" }, "local": { "type": "Identifier", "start": 334, "end": 348, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 23 }, "identifierName": "DialogWithForm" }, "name": "DialogWithForm" } } ], "source": { "type": "StringLiteral", "start": 356, "end": 393, "loc": { "start": { "line": 6, "column": 31 }, "end": { "line": 6, "column": 68 } }, "extra": { "rawValue": "../../../core/modal_dialog_elements", "raw": "\"../../../core/modal_dialog_elements\"" }, "value": "../../../core/modal_dialog_elements" } }, { "type": "ImportDeclaration", "start": 396, "end": 464, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 68 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 405, "end": 421, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 } }, "imported": { "type": "Identifier", "start": 405, "end": 421, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 }, "identifierName": "FormElementInput" }, "name": "FormElementInput" }, "local": { "type": "Identifier", "start": 405, "end": 421, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 25 }, "identifierName": "FormElementInput" }, "name": "FormElementInput" } } ], "source": { "type": "StringLiteral", "start": 429, "end": 463, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 67 } }, "extra": { "rawValue": "../../../core/modal_dialog_forms", "raw": "\"../../../core/modal_dialog_forms\"" }, "value": "../../../core/modal_dialog_forms" } }, { "type": "ImportDeclaration", "start": 466, "end": 518, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 475, "end": 484, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 18 } }, "imported": { "type": "Identifier", "start": 475, "end": 484, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "local": { "type": "Identifier", "start": 475, "end": 484, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" } } ], "source": { "type": "StringLiteral", "start": 492, "end": 517, "loc": { "start": { "line": 8, "column": 26 }, "end": { "line": 8, "column": 51 } }, "extra": { "rawValue": "../../../core/rectangle", "raw": "\"../../../core/rectangle\"" }, "value": "../../../core/rectangle" } }, { "type": "ImportDeclaration", "start": 520, "end": 576, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 529, "end": 545, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 25 } }, "imported": { "type": "Identifier", "start": 529, "end": 545, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 25 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" }, "local": { "type": "Identifier", "start": 529, "end": 545, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 25 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } } ], "source": { "type": "StringLiteral", "start": 553, "end": 575, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 55 } }, "extra": { "rawValue": "../../../core/signal", "raw": "\"../../../core/signal\"" }, "value": "../../../core/signal" } }, { "type": "ImportDeclaration", "start": 578, "end": 721, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 16, "column": 29 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 592, "end": 608, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 20 } }, "imported": { "type": "Identifier", "start": 592, "end": 608, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 20 }, "identifierName": "arrayDeleteValue" }, "name": "arrayDeleteValue" }, "local": { "type": "Identifier", "start": 592, "end": 608, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 20 }, "identifierName": "arrayDeleteValue" }, "name": "arrayDeleteValue" } }, { "type": "ImportSpecifier", "start": 615, "end": 640, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 29 } }, "imported": { "type": "Identifier", "start": 615, "end": 640, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 29 }, "identifierName": "fillInLinkIntoTranslation" }, "name": "fillInLinkIntoTranslation" }, "local": { "type": "Identifier", "start": 615, "end": 640, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 29 }, "identifierName": "fillInLinkIntoTranslation" }, "name": "fillInLinkIntoTranslation" } }, { "type": "ImportSpecifier", "start": 647, "end": 651, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 8 } }, "imported": { "type": "Identifier", "start": 647, "end": 651, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 8 }, "identifierName": "lerp" }, "name": "lerp" }, "local": { "type": "Identifier", "start": 647, "end": 651, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 8 }, "identifierName": "lerp" }, "name": "lerp" } }, { "type": "ImportSpecifier", "start": 658, "end": 665, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 } }, "imported": { "type": "Identifier", "start": 658, "end": 665, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "local": { "type": "Identifier", "start": 658, "end": 665, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 }, "identifierName": "makeDiv" }, "name": "makeDiv" } }, { "type": "ImportSpecifier", "start": 672, "end": 689, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 } }, "imported": { "type": "Identifier", "start": 672, "end": 689, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren" }, "local": { "type": "Identifier", "start": 672, "end": 689, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren" } } ], "source": { "type": "StringLiteral", "start": 699, "end": 720, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 28 } }, "extra": { "rawValue": "../../../core/utils", "raw": "\"../../../core/utils\"" }, "value": "../../../core/utils" } }, { "type": "ImportDeclaration", "start": 723, "end": 769, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 732, "end": 738, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } }, "imported": { "type": "Identifier", "start": 732, "end": 738, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 732, "end": 738, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 746, "end": 768, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 45 } }, "extra": { "rawValue": "../../../core/vector", "raw": "\"../../../core/vector\"" }, "value": "../../../core/vector" } }, { "type": "ImportDeclaration", "start": 771, "end": 813, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 780, "end": 781, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 10 } }, "imported": { "type": "Identifier", "start": 780, "end": 781, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 10 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 780, "end": 781, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 10 }, "identifierName": "T" }, "name": "T" } } ], "source": { "type": "StringLiteral", "start": 789, "end": 812, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 41 } }, "extra": { "rawValue": "../../../translations", "raw": "\"../../../translations\"" }, "value": "../../../translations" } }, { "type": "ImportDeclaration", "start": 815, "end": 858, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 824, "end": 832, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 17 } }, "imported": { "type": "Identifier", "start": 824, "end": 832, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "local": { "type": "Identifier", "start": 824, "end": 832, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" } } ], "source": { "type": "StringLiteral", "start": 840, "end": 857, "loc": { "start": { "line": 19, "column": 25 }, "end": { "line": 19, "column": 42 } }, "extra": { "rawValue": "../../base_item", "raw": "\"../../base_item\"" }, "value": "../../base_item" } }, { "type": "ImportDeclaration", "start": 860, "end": 914, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 869, "end": 884, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 24 } }, "imported": { "type": "Identifier", "start": 869, "end": 884, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 24 }, "identifierName": "MetaHubBuilding" }, "name": "MetaHubBuilding" }, "local": { "type": "Identifier", "start": 869, "end": 884, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 24 }, "identifierName": "MetaHubBuilding" }, "name": "MetaHubBuilding" } } ], "source": { "type": "StringLiteral", "start": 892, "end": 913, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 53 } }, "extra": { "rawValue": "../../buildings/hub", "raw": "\"../../buildings/hub\"" }, "value": "../../buildings/hub" } }, { "type": "ImportDeclaration", "start": 916, "end": 963, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 925, "end": 940, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 } }, "imported": { "type": "Identifier", "start": 925, "end": 940, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "local": { "type": "Identifier", "start": 925, "end": 940, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" } } ], "source": { "type": "StringLiteral", "start": 948, "end": 962, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 46 } }, "extra": { "rawValue": "../../camera", "raw": "\"../../camera\"" }, "value": "../../camera" } }, { "type": "ImportDeclaration", "start": 965, "end": 1019, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 974, "end": 985, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 20 } }, "imported": { "type": "Identifier", "start": 974, "end": 985, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "local": { "type": "Identifier", "start": 974, "end": 985, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" } } ], "source": { "type": "StringLiteral", "start": 993, "end": 1018, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 53 } }, "extra": { "rawValue": "../../key_action_mapper", "raw": "\"../../key_action_mapper\"" }, "value": "../../key_action_mapper" } }, { "type": "ImportDeclaration", "start": 1021, "end": 1082, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1030, "end": 1052, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 31 } }, "imported": { "type": "Identifier", "start": 1030, "end": 1052, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 31 }, "identifierName": "defaultBuildingVariant" }, "name": "defaultBuildingVariant" }, "local": { "type": "Identifier", "start": 1030, "end": 1052, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 31 }, "identifierName": "defaultBuildingVariant" }, "name": "defaultBuildingVariant" } } ], "source": { "type": "StringLiteral", "start": 1060, "end": 1081, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 60 } }, "extra": { "rawValue": "../../meta_building", "raw": "\"../../meta_building\"" }, "value": "../../meta_building" } }, { "type": "ImportDeclaration", "start": 1084, "end": 1141, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1093, "end": 1108, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 24 } }, "imported": { "type": "Identifier", "start": 1093, "end": 1108, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 24 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "local": { "type": "Identifier", "start": 1093, "end": 1108, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 24 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" } } ], "source": { "type": "StringLiteral", "start": 1116, "end": 1140, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 56 } }, "extra": { "rawValue": "../../shape_definition", "raw": "\"../../shape_definition\"" }, "value": "../../shape_definition" } }, { "type": "ImportDeclaration", "start": 1143, "end": 1190, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1152, "end": 1163, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 20 } }, "imported": { "type": "Identifier", "start": 1152, "end": 1163, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "local": { "type": "Identifier", "start": 1152, "end": 1163, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" } } ], "source": { "type": "StringLiteral", "start": 1171, "end": 1189, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 46 } }, "extra": { "rawValue": "../base_hud_part", "raw": "\"../base_hud_part\"" }, "value": "../base_hud_part" } }, { "type": "ImportDeclaration", "start": 1192, "end": 1249, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1201, "end": 1217, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 25 } }, "imported": { "type": "Identifier", "start": 1201, "end": 1217, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 25 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" }, "local": { "type": "Identifier", "start": 1201, "end": 1217, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 25 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" } } ], "source": { "type": "StringLiteral", "start": 1225, "end": 1248, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 56 } }, "extra": { "rawValue": "../dynamic_dom_attach", "raw": "\"../dynamic_dom_attach\"" }, "value": "../dynamic_dom_attach" } }, { "type": "ImportDeclaration", "start": 1251, "end": 1306, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 55 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1260, "end": 1280, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 29 } }, "imported": { "type": "Identifier", "start": 1260, "end": 1280, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 29 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" }, "local": { "type": "Identifier", "start": 1260, "end": 1280, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 29 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" } } ], "source": { "type": "StringLiteral", "start": 1288, "end": 1305, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 27, "column": 54 } }, "extra": { "rawValue": "./notifications", "raw": "\"./notifications\"" }, "value": "./notifications" }, "trailingComments": [ { "type": "CommentBlock", "value": "* @typedef {{\r\n * label: string | null,\r\n * center: { x: number, y: number },\r\n * zoomLevel: number,\r\n * layer: Layer,\r\n * }} Waypoint ", "start": 1310, "end": 1457, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 34, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Used when a shape icon is rendered instead\r\n ", "start": 1461, "end": 1516, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] }, { "type": "VariableDeclaration", "start": 1518, "end": 1546, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1524, "end": 1545, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 27 } }, "id": { "type": "Identifier", "start": 1524, "end": 1540, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 22 }, "identifierName": "MAX_LABEL_LENGTH" }, "name": "MAX_LABEL_LENGTH", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 1543, "end": 1545, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 27 } }, "extra": { "rawValue": 71, "raw": "71" }, "value": 71 }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @typedef {{\r\n * label: string | null,\r\n * center: { x: number, y: number },\r\n * zoomLevel: number,\r\n * layer: Layer,\r\n * }} Waypoint ", "start": 1310, "end": 1457, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 34, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Used when a shape icon is rendered instead\r\n ", "start": 1461, "end": 1516, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1550, "end": 22607, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 646, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 1557, "end": 22607, "loc": { "start": { "line": 41, "column": 7 }, "end": { "line": 646, "column": 1 } }, "id": { "type": "Identifier", "start": 1563, "end": 1575, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 25 }, "identifierName": "HUDWaypoints" }, "name": "HUDWaypoints" }, "superClass": { "type": "Identifier", "start": 1584, "end": 1595, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 45 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "body": { "type": "ClassBody", "start": 1596, "end": 22607, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 646, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1699, "end": 2620, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 66, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1699, "end": 1713, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 18 }, "identifierName": "createElements" }, "name": "createElements", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1714, "end": 1720, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 25 }, "identifierName": "parent" }, "name": "parent" } ], "body": { "type": "BlockStatement", "start": 1722, "end": 2620, "loc": { "start": { "line": 46, "column": 27 }, "end": { "line": 66, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1811, "end": 2460, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 62, "column": 9 } }, "test": { "type": "MemberExpression", "start": 1815, "end": 1865, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 66 } }, "object": { "type": "CallExpression", "start": 1815, "end": 1854, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 1815, "end": 1852, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1815, "end": 1837, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1815, "end": 1828, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 29 } }, "object": { "type": "MemberExpression", "start": 1815, "end": 1824, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1815, "end": 1819, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1820, "end": 1824, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1825, "end": 1828, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 29 }, "identifierName": "app" }, "name": "app" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1829, "end": 1837, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 38 }, "identifierName": "settings" }, "name": "settings" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1838, "end": 1852, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 53 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "property": { "type": "Identifier", "start": 1855, "end": 1865, "loc": { "start": { "line": 48, "column": 56 }, "end": { "line": 48, "column": 66 }, "identifierName": "offerHints" }, "name": "offerHints" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 1867, "end": 2460, "loc": { "start": { "line": 48, "column": 68 }, "end": { "line": 62, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1886, "end": 2449, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 61, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 1886, "end": 2448, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 61, "column": 13 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1886, "end": 1902, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 32 } }, "object": { "type": "ThisExpression", "start": 1886, "end": 1890, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 20 } } }, "property": { "type": "Identifier", "start": 1891, "end": 1902, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 32 }, "identifierName": "hintElement" }, "name": "hintElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 1905, "end": 2448, "loc": { "start": { "line": 49, "column": 35 }, "end": { "line": 61, "column": 13 } }, "callee": { "type": "Identifier", "start": 1905, "end": 1912, "loc": { "start": { "line": 49, "column": 35 }, "end": { "line": 49, "column": 42 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 1939, "end": 1945, "loc": { "start": { "line": 50, "column": 24 }, "end": { "line": 50, "column": 30 }, "identifierName": "parent" }, "name": "parent" }, { "type": "StringLiteral", "start": 1972, "end": 1999, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 51 } }, "extra": { "rawValue": "ingame_HUD_Waypoints_Hint", "raw": "\"ingame_HUD_Waypoints_Hint\"" }, "value": "ingame_HUD_Waypoints_Hint" }, { "type": "ArrayExpression", "start": 2001, "end": 2003, "loc": { "start": { "line": 51, "column": 53 }, "end": { "line": 51, "column": 55 } }, "elements": [] }, { "type": "TemplateLiteral", "start": 2030, "end": 2433, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 60, "column": 9 } }, "expressions": [ { "type": "MemberExpression", "start": 2069, "end": 2097, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2069, "end": 2087, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 54 } }, "object": { "type": "MemberExpression", "start": 2069, "end": 2077, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 44 } }, "object": { "type": "Identifier", "start": 2069, "end": 2070, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 37 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 2071, "end": 2077, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 53, "column": 44 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2078, "end": 2087, "loc": { "start": { "line": 53, "column": 45 }, "end": { "line": 53, "column": 54 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 2088, "end": 2097, "loc": { "start": { "line": 53, "column": 55 }, "end": { "line": 53, "column": 64 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, { "type": "CallExpression", "start": 2142, "end": 2414, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 59, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 2142, "end": 2180, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 71 } }, "object": { "type": "MemberExpression", "start": 2142, "end": 2172, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 63 } }, "object": { "type": "MemberExpression", "start": 2142, "end": 2160, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2142, "end": 2150, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 41 } }, "object": { "type": "Identifier", "start": 2142, "end": 2143, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 2144, "end": 2150, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 41 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2151, "end": 2160, "loc": { "start": { "line": 54, "column": 42 }, "end": { "line": 54, "column": 51 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 2161, "end": 2172, "loc": { "start": { "line": 54, "column": 52 }, "end": { "line": 54, "column": 63 }, "identifierName": "description" }, "name": "description" }, "computed": false }, "property": { "type": "Identifier", "start": 2173, "end": 2180, "loc": { "start": { "line": 54, "column": 64 }, "end": { "line": 54, "column": 71 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2199, "end": 2213, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 30 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "TemplateLiteral", "start": 2232, "end": 2399, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 58, "column": 48 } }, "expressions": [ { "type": "CallExpression", "start": 2260, "end": 2390, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 58, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 2260, "end": 2388, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 58, "column": 37 } }, "object": { "type": "CallExpression", "start": 2260, "end": 2349, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 57, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 2260, "end": 2312, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 57, "column": 31 } }, "object": { "type": "MemberExpression", "start": 2260, "end": 2279, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 63 } }, "object": { "type": "MemberExpression", "start": 2260, "end": 2269, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 53 } }, "object": { "type": "ThisExpression", "start": 2260, "end": 2264, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 48 } } }, "property": { "type": "Identifier", "start": 2265, "end": 2269, "loc": { "start": { "line": 56, "column": 49 }, "end": { "line": 56, "column": 53 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2270, "end": 2279, "loc": { "start": { "line": 56, "column": 54 }, "end": { "line": 56, "column": 63 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false }, "property": { "type": "Identifier", "start": 2302, "end": 2312, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 31 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2313, "end": 2348, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 67 } }, "object": { "type": "MemberExpression", "start": 2313, "end": 2335, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 54 } }, "object": { "type": "Identifier", "start": 2313, "end": 2324, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 43 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 2325, "end": 2335, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 54 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 2336, "end": 2348, "loc": { "start": { "line": 57, "column": 55 }, "end": { "line": 57, "column": 67 }, "identifierName": "createMarker" }, "name": "createMarker" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 2372, "end": 2388, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 37 }, "identifierName": "getKeyCodeString" }, "name": "getKeyCodeString" }, "computed": false }, "arguments": [] } ], "quasis": [ { "type": "TemplateElement", "start": 2233, "end": 2258, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 42 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 2391, "end": 2398, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 47 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } ], "quasis": [ { "type": "TemplateElement", "start": 2031, "end": 2067, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 53, "column": 34 } }, "value": { "raw": "\n ", "cooked": "\n " }, "tail": false }, { "type": "TemplateElement", "start": 2098, "end": 2140, "loc": { "start": { "line": 53, "column": 65 }, "end": { "line": 54, "column": 31 } }, "value": { "raw": "\n ", "cooked": "\n " }, "tail": false }, { "type": "TemplateElement", "start": 2415, "end": 2432, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 60, "column": 8 } }, "value": { "raw": "\n ", "cooked": "\n " }, "tail": true } ] } ] } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Create the helper box on the lower right when zooming out", "start": 1737, "end": 1797, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 72 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Create the waypoint list on the upper right", "start": 2472, "end": 2518, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 54 } } } ] }, { "type": "ExpressionStatement", "start": 2528, "end": 2613, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 93 } }, "expression": { "type": "AssignmentExpression", "start": 2528, "end": 2612, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 92 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2528, "end": 2553, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 33 } }, "object": { "type": "ThisExpression", "start": 2528, "end": 2532, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2533, "end": 2553, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 33 }, "identifierName": "waypointsListElement" }, "name": "waypointsListElement" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 2556, "end": 2612, "loc": { "start": { "line": 65, "column": 36 }, "end": { "line": 65, "column": 92 } }, "callee": { "type": "Identifier", "start": 2556, "end": 2563, "loc": { "start": { "line": 65, "column": 36 }, "end": { "line": 65, "column": 43 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 2564, "end": 2570, "loc": { "start": { "line": 65, "column": 44 }, "end": { "line": 65, "column": 50 }, "identifierName": "parent" }, "name": "parent" }, { "type": "StringLiteral", "start": 2572, "end": 2594, "loc": { "start": { "line": 65, "column": 52 }, "end": { "line": 65, "column": 74 } }, "extra": { "rawValue": "ingame_HUD_Waypoints", "raw": "\"ingame_HUD_Waypoints\"" }, "value": "ingame_HUD_Waypoints" }, { "type": "ArrayExpression", "start": 2596, "end": 2598, "loc": { "start": { "line": 65, "column": 76 }, "end": { "line": 65, "column": 78 } }, "elements": [] }, { "type": "StringLiteral", "start": 2600, "end": 2611, "loc": { "start": { "line": 65, "column": 80 }, "end": { "line": 65, "column": 91 } }, "extra": { "rawValue": "Waypoints", "raw": "\"Waypoints\"" }, "value": "Waypoints" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Create the waypoint list on the upper right", "start": 2472, "end": 2518, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 54 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates the overview of waypoints\r\n * @param {HTMLElement} parent\r\n ", "start": 1603, "end": 1693, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 45, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Serializes the waypoints\r\n ", "start": 2628, "end": 2673, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2679, "end": 2769, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 75, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2679, "end": 2688, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 13 }, "identifierName": "serialize" }, "name": "serialize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2691, "end": 2769, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 75, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2702, "end": 2762, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 74, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 2709, "end": 2761, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 74, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2724, "end": 2749, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 37 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2724, "end": 2733, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 21 }, "identifierName": "waypoints" }, "name": "waypoints" }, "value": { "type": "MemberExpression", "start": 2735, "end": 2749, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 37 } }, "object": { "type": "ThisExpression", "start": 2735, "end": 2739, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, "property": { "type": "Identifier", "start": 2740, "end": 2749, "loc": { "start": { "line": 73, "column": 28 }, "end": { "line": 73, "column": 37 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Serializes the waypoints\r\n ", "start": 2628, "end": 2673, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deserializes the waypoints\r\n * @param {{waypoints: Array}} data\r\n ", "start": 2777, "end": 2875, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2881, "end": 3119, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 87, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2881, "end": 2892, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 15 }, "identifierName": "deserialize" }, "name": "deserialize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2893, "end": 2897, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 20 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 2899, "end": 3119, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 87, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 2910, "end": 3032, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 84, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 2914, "end": 2972, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 70 } }, "left": { "type": "LogicalExpression", "start": 2914, "end": 2938, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 36 } }, "left": { "type": "UnaryExpression", "start": 2914, "end": 2919, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 2915, "end": 2919, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 2923, "end": 2938, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 2924, "end": 2938, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 36 } }, "object": { "type": "Identifier", "start": 2924, "end": 2928, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 26 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2929, "end": 2938, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 36 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 2942, "end": 2972, "loc": { "start": { "line": 82, "column": 40 }, "end": { "line": 82, "column": 70 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 2943, "end": 2972, "loc": { "start": { "line": 82, "column": 41 }, "end": { "line": 82, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2943, "end": 2956, "loc": { "start": { "line": 82, "column": 41 }, "end": { "line": 82, "column": 54 } }, "object": { "type": "Identifier", "start": 2943, "end": 2948, "loc": { "start": { "line": 82, "column": 41 }, "end": { "line": 82, "column": 46 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 2949, "end": 2956, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 54 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2957, "end": 2971, "loc": { "start": { "line": 82, "column": 55 }, "end": { "line": 82, "column": 69 } }, "object": { "type": "Identifier", "start": 2957, "end": 2961, "loc": { "start": { "line": 82, "column": 55 }, "end": { "line": 82, "column": 59 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 2962, "end": 2971, "loc": { "start": { "line": 82, "column": 60 }, "end": { "line": 82, "column": 69 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 2974, "end": 3032, "loc": { "start": { "line": 82, "column": 72 }, "end": { "line": 84, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 2989, "end": 3021, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 44 } }, "argument": { "type": "StringLiteral", "start": 2996, "end": 3020, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 43 } }, "extra": { "rawValue": "Invalid waypoints data", "raw": "\"Invalid waypoints data\"" }, "value": "Invalid waypoints data" } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 3042, "end": 3074, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 3042, "end": 3073, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3042, "end": 3056, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3042, "end": 3046, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, "property": { "type": "Identifier", "start": 3047, "end": 3056, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 22 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "right": { "type": "MemberExpression", "start": 3059, "end": 3073, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 39 } }, "object": { "type": "Identifier", "start": 3059, "end": 3063, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 29 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 3064, "end": 3073, "loc": { "start": { "line": 85, "column": 30 }, "end": { "line": 85, "column": 39 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 3084, "end": 3112, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 36 } }, "expression": { "type": "CallExpression", "start": 3084, "end": 3111, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 3084, "end": 3109, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 33 } }, "object": { "type": "ThisExpression", "start": 3084, "end": 3088, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 12 } } }, "property": { "type": "Identifier", "start": 3089, "end": 3109, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 33 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deserializes the waypoints\r\n * @param {{waypoints: Array}} data\r\n ", "start": 2777, "end": 2875, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes everything\r\n ", "start": 3127, "end": 3170, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3176, "end": 5533, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 160, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3176, "end": 3186, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 14 }, "identifierName": "initialize" }, "name": "initialize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3189, "end": 5533, "loc": { "start": { "line": 92, "column": 17 }, "end": { "line": 160, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3249, "end": 3427, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 3249, "end": 3426, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3249, "end": 3269, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3249, "end": 3253, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3254, "end": 3269, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 28 }, "identifierName": "waypointSprites" }, "name": "waypointSprites" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 3272, "end": 3426, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 98, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 3287, "end": 3341, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 66 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3287, "end": 3294, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 19 }, "identifierName": "regular" }, "name": "regular" }, "value": { "type": "CallExpression", "start": 3296, "end": 3341, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 3296, "end": 3312, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 37 } }, "object": { "type": "Identifier", "start": 3296, "end": 3302, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 27 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 3303, "end": 3312, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 37 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3313, "end": 3340, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 65 } }, "extra": { "rawValue": "sprites/misc/waypoint.png", "raw": "\"sprites/misc/waypoint.png\"" }, "value": "sprites/misc/waypoint.png" } ] } }, { "type": "ObjectProperty", "start": 3356, "end": 3414, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 70 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3356, "end": 3361, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 17 }, "identifierName": "wires" }, "name": "wires" }, "value": { "type": "CallExpression", "start": 3363, "end": 3414, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3363, "end": 3379, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 35 } }, "object": { "type": "Identifier", "start": 3363, "end": 3369, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 25 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 3370, "end": 3379, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 35 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3380, "end": 3413, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "column": 69 } }, "extra": { "rawValue": "sprites/misc/waypoint_wires.png", "raw": "\"sprites/misc/waypoint_wires.png\"" }, "value": "sprites/misc/waypoint_wires.png" } ] } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Cache the sprite for the waypoints", "start": 3200, "end": 3237, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 3439, "end": 3532, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 101 } }, "expression": { "type": "AssignmentExpression", "start": 3439, "end": 3531, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3439, "end": 3468, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 37 } }, "object": { "type": "ThisExpression", "start": 3439, "end": 3443, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 12 } } }, "property": { "type": "Identifier", "start": 3444, "end": 3468, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 100, "column": 37 }, "identifierName": "directionIndicatorSprite" }, "name": "directionIndicatorSprite" }, "computed": false }, "right": { "type": "CallExpression", "start": 3471, "end": 3531, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 3471, "end": 3487, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 56 } }, "object": { "type": "Identifier", "start": 3471, "end": 3477, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 46 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 3478, "end": 3487, "loc": { "start": { "line": 100, "column": 47 }, "end": { "line": 100, "column": 56 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3488, "end": 3530, "loc": { "start": { "line": 100, "column": 57 }, "end": { "line": 100, "column": 99 } }, "extra": { "rawValue": "sprites/misc/hub_direction_indicator.png", "raw": "\"sprites/misc/hub_direction_indicator.png\"" }, "value": "sprites/misc/hub_direction_indicator.png" } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array}\r\n ", "start": 3544, "end": 3584, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 103, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 3594, "end": 3921, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 113, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 3594, "end": 3920, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 113, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3594, "end": 3608, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3594, "end": 3598, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3599, "end": 3608, "loc": { "start": { "line": 104, "column": 13 }, "end": { "line": 104, "column": 22 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 3611, "end": 3920, "loc": { "start": { "line": 104, "column": 25 }, "end": { "line": 113, "column": 9 } }, "elements": [ { "type": "ObjectExpression", "start": 3626, "end": 3908, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 112, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 3645, "end": 3656, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3645, "end": 3650, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 21 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "NullLiteral", "start": 3652, "end": 3656, "loc": { "start": { "line": 106, "column": 23 }, "end": { "line": 106, "column": 27 } } } }, { "type": "ObjectProperty", "start": 3675, "end": 3697, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3675, "end": 3681, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 22 }, "identifierName": "center" }, "name": "center" }, "value": { "type": "ObjectExpression", "start": 3683, "end": 3697, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 38 } }, "properties": [ { "type": "ObjectProperty", "start": 3685, "end": 3689, "loc": { "start": { "line": 107, "column": 26 }, "end": { "line": 107, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3685, "end": 3686, "loc": { "start": { "line": 107, "column": 26 }, "end": { "line": 107, "column": 27 }, "identifierName": "x" }, "name": "x" }, "value": { "type": "NumericLiteral", "start": 3688, "end": 3689, "loc": { "start": { "line": 107, "column": 29 }, "end": { "line": 107, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "ObjectProperty", "start": 3691, "end": 3695, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 36 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3691, "end": 3692, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 33 }, "identifierName": "y" }, "name": "y" }, "value": { "type": "NumericLiteral", "start": 3694, "end": 3695, "loc": { "start": { "line": 107, "column": 35 }, "end": { "line": 107, "column": 36 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ] } }, { "type": "ObjectProperty", "start": 3716, "end": 3728, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3716, "end": 3725, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 25 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "value": { "type": "NumericLiteral", "start": 3727, "end": 3728, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 28 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } }, { "type": "ObjectProperty", "start": 3747, "end": 3892, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 111, "column": 64 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3747, "end": 3752, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 21 }, "identifierName": "layer" }, "name": "layer" }, "value": { "type": "CallExpression", "start": 3754, "end": 3892, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 111, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 3754, "end": 3857, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 111, "column": 29 } }, "object": { "type": "CallExpression", "start": 3754, "end": 3826, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 110, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3754, "end": 3809, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 110, "column": 32 } }, "object": { "type": "Identifier", "start": 3754, "end": 3775, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 109, "column": 44 }, "identifierName": "gMetaBuildingRegistry" }, "name": "gMetaBuildingRegistry" }, "property": { "type": "Identifier", "start": 3798, "end": 3809, "loc": { "start": { "line": 110, "column": 21 }, "end": { "line": 110, "column": 32 }, "identifierName": "findByClass" }, "name": "findByClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3810, "end": 3825, "loc": { "start": { "line": 110, "column": 33 }, "end": { "line": 110, "column": 48 }, "identifierName": "MetaHubBuilding" }, "name": "MetaHubBuilding" } ] }, "property": { "type": "Identifier", "start": 3849, "end": 3857, "loc": { "start": { "line": 111, "column": 21 }, "end": { "line": 111, "column": 29 }, "identifierName": "getLayer" }, "name": "getLayer" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3858, "end": 3867, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 39 } }, "object": { "type": "ThisExpression", "start": 3858, "end": 3862, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 34 } } }, "property": { "type": "Identifier", "start": 3863, "end": 3867, "loc": { "start": { "line": 111, "column": 35 }, "end": { "line": 111, "column": 39 }, "identifierName": "root" }, "name": "root" }, "computed": false }, { "type": "Identifier", "start": 3869, "end": 3891, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 63 }, "identifierName": "defaultBuildingVariant" }, "name": "defaultBuildingVariant" } ] } } ] } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array}\r\n ", "start": 3544, "end": 3584, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 103, "column": 11 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Create a buffer we can use to measure text", "start": 3933, "end": 3978, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 53 } } } ] }, { "type": "ExpressionStatement", "start": 3988, "end": 4128, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 119, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 3988, "end": 4127, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 119, "column": 13 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3988, "end": 4004, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3988, "end": 3992, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3993, "end": 4004, "loc": { "start": { "line": 116, "column": 13 }, "end": { "line": 116, "column": 24 }, "identifierName": "dummyBuffer" }, "name": "dummyBuffer" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 4007, "end": 4127, "loc": { "start": { "line": 116, "column": 27 }, "end": { "line": 119, "column": 13 } }, "object": { "type": "CallExpression", "start": 4007, "end": 4124, "loc": { "start": { "line": 116, "column": 27 }, "end": { "line": 119, "column": 10 } }, "callee": { "type": "Identifier", "start": 4007, "end": 4026, "loc": { "start": { "line": 116, "column": 27 }, "end": { "line": 116, "column": 46 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "arguments": [ { "type": "NumericLiteral", "start": 4027, "end": 4028, "loc": { "start": { "line": 116, "column": 47 }, "end": { "line": 116, "column": 48 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "NumericLiteral", "start": 4030, "end": 4031, "loc": { "start": { "line": 116, "column": 50 }, "end": { "line": 116, "column": 51 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "ObjectExpression", "start": 4033, "end": 4123, "loc": { "start": { "line": 116, "column": 53 }, "end": { "line": 119, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 4048, "end": 4063, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4048, "end": 4056, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 20 }, "identifierName": "reusable" }, "name": "reusable" }, "value": { "type": "BooleanLiteral", "start": 4058, "end": 4063, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 27 } }, "value": false } }, { "type": "ObjectProperty", "start": 4078, "end": 4111, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 45 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 4078, "end": 4083, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 17 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "StringLiteral", "start": 4085, "end": 4111, "loc": { "start": { "line": 118, "column": 19 }, "end": { "line": 118, "column": 45 } }, "extra": { "rawValue": "waypoints-measure-canvas", "raw": "\"waypoints-measure-canvas\"" }, "value": "waypoints-measure-canvas" } } ] } ] }, "property": { "type": "NumericLiteral", "start": 4125, "end": 4126, "loc": { "start": { "line": 119, "column": 11 }, "end": { "line": 119, "column": 12 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Create a buffer we can use to measure text", "start": 3933, "end": 3978, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 53 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Dynamically attach/detach the lower right hint in the map overview", "start": 4140, "end": 4209, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 77 } } } ] }, { "type": "IfStatement", "start": 4219, "end": 4334, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 124, "column": 9 } }, "test": { "type": "MemberExpression", "start": 4223, "end": 4239, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4223, "end": 4227, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4228, "end": 4239, "loc": { "start": { "line": 122, "column": 17 }, "end": { "line": 122, "column": 28 }, "identifierName": "hintElement" }, "name": "hintElement" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 4241, "end": 4334, "loc": { "start": { "line": 122, "column": 30 }, "end": { "line": 124, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4256, "end": 4323, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 79 } }, "expression": { "type": "AssignmentExpression", "start": 4256, "end": 4322, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4256, "end": 4270, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4256, "end": 4260, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 16 } } }, "property": { "type": "Identifier", "start": 4261, "end": 4270, "loc": { "start": { "line": 123, "column": 17 }, "end": { "line": 123, "column": 26 }, "identifierName": "domAttach" }, "name": "domAttach" }, "computed": false }, "right": { "type": "NewExpression", "start": 4273, "end": 4322, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 78 } }, "callee": { "type": "Identifier", "start": 4277, "end": 4293, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 49 }, "identifierName": "DynamicDomAttach" }, "name": "DynamicDomAttach" }, "arguments": [ { "type": "MemberExpression", "start": 4294, "end": 4303, "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 59 } }, "object": { "type": "ThisExpression", "start": 4294, "end": 4298, "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 54 } } }, "property": { "type": "Identifier", "start": 4299, "end": 4303, "loc": { "start": { "line": 123, "column": 55 }, "end": { "line": 123, "column": 59 }, "identifierName": "root" }, "name": "root" }, "computed": false }, { "type": "MemberExpression", "start": 4305, "end": 4321, "loc": { "start": { "line": 123, "column": 61 }, "end": { "line": 123, "column": 77 } }, "object": { "type": "ThisExpression", "start": 4305, "end": 4309, "loc": { "start": { "line": 123, "column": 61 }, "end": { "line": 123, "column": 65 } } }, "property": { "type": "Identifier", "start": 4310, "end": 4321, "loc": { "start": { "line": 123, "column": 66 }, "end": { "line": 123, "column": 77 }, "identifierName": "hintElement" }, "name": "hintElement" }, "computed": false } ] } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Dynamically attach/detach the lower right hint in the map overview", "start": 4140, "end": 4209, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 77 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Catch mouse and key events", "start": 4346, "end": 4375, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 37 } } } ] }, { "type": "ExpressionStatement", "start": 4385, "end": 4445, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 68 } }, "expression": { "type": "CallExpression", "start": 4385, "end": 4444, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 4385, "end": 4420, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4385, "end": 4416, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 39 } }, "object": { "type": "MemberExpression", "start": 4385, "end": 4401, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 24 } }, "object": { "type": "MemberExpression", "start": 4385, "end": 4394, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4385, "end": 4389, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4390, "end": 4394, "loc": { "start": { "line": 127, "column": 13 }, "end": { "line": 127, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 4395, "end": 4401, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 }, "identifierName": "camera" }, "name": "camera" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 4402, "end": 4416, "loc": { "start": { "line": 127, "column": 25 }, "end": { "line": 127, "column": 39 }, "identifierName": "downPreHandler" }, "name": "downPreHandler" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 4417, "end": 4420, "loc": { "start": { "line": 127, "column": 40 }, "end": { "line": 127, "column": 43 }, "identifierName": "add" }, "name": "add" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 4421, "end": 4437, "loc": { "start": { "line": 127, "column": 44 }, "end": { "line": 127, "column": 60 } }, "object": { "type": "ThisExpression", "start": 4421, "end": 4425, "loc": { "start": { "line": 127, "column": 44 }, "end": { "line": 127, "column": 48 } } }, "property": { "type": "Identifier", "start": 4426, "end": 4437, "loc": { "start": { "line": 127, "column": 49 }, "end": { "line": 127, "column": 60 }, "identifierName": "onMouseDown" }, "name": "onMouseDown" }, "computed": false }, { "type": "ThisExpression", "start": 4439, "end": 4443, "loc": { "start": { "line": 127, "column": 62 }, "end": { "line": 127, "column": 66 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Catch mouse and key events", "start": 4346, "end": 4375, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 37 } } } ] }, { "type": "ExpressionStatement", "start": 4455, "end": 4589, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 130, "column": 51 } }, "expression": { "type": "CallExpression", "start": 4455, "end": 4588, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 130, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 4455, "end": 4554, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 130, "column": 16 } }, "object": { "type": "CallExpression", "start": 4455, "end": 4536, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 129, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 4455, "end": 4499, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 129, "column": 23 } }, "object": { "type": "MemberExpression", "start": 4455, "end": 4474, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 27 } }, "object": { "type": "MemberExpression", "start": 4455, "end": 4464, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4455, "end": 4459, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 12 } } }, "property": { "type": "Identifier", "start": 4460, "end": 4464, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4465, "end": 4474, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 27 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false }, "property": { "type": "Identifier", "start": 4489, "end": 4499, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 23 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4500, "end": 4535, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 129, "column": 59 } }, "object": { "type": "MemberExpression", "start": 4500, "end": 4522, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 129, "column": 46 } }, "object": { "type": "Identifier", "start": 4500, "end": 4511, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 129, "column": 35 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 4512, "end": 4522, "loc": { "start": { "line": 129, "column": 36 }, "end": { "line": 129, "column": 46 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 4523, "end": 4535, "loc": { "start": { "line": 129, "column": 47 }, "end": { "line": 129, "column": 59 }, "identifierName": "createMarker" }, "name": "createMarker" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 4551, "end": 4554, "loc": { "start": { "line": 130, "column": 13 }, "end": { "line": 130, "column": 16 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 4555, "end": 4587, "loc": { "start": { "line": 130, "column": 17 }, "end": { "line": 130, "column": 49 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 4561, "end": 4587, "loc": { "start": { "line": 130, "column": 23 }, "end": { "line": 130, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 4561, "end": 4583, "loc": { "start": { "line": 130, "column": 23 }, "end": { "line": 130, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4561, "end": 4565, "loc": { "start": { "line": 130, "column": 23 }, "end": { "line": 130, "column": 27 } } }, "property": { "type": "Identifier", "start": 4566, "end": 4583, "loc": { "start": { "line": 130, "column": 28 }, "end": { "line": 130, "column": 45 }, "identifierName": "requestSaveMarker" }, "name": "requestSaveMarker" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 4584, "end": 4586, "loc": { "start": { "line": 130, "column": 46 }, "end": { "line": 130, "column": 48 } }, "properties": [] } ] } } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores at how much opacity the markers should be rendered on the map.\r\n * This is interpolated over multiple frames so we have some sort of fade effect\r\n ", "start": 4601, "end": 4789, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 135, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 4799, "end": 4829, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 4799, "end": 4828, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4799, "end": 4824, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4799, "end": 4803, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4804, "end": 4824, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 33 }, "identifierName": "currentMarkerOpacity" }, "name": "currentMarkerOpacity" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 4827, "end": 4828, "loc": { "start": { "line": 136, "column": 36 }, "end": { "line": 136, "column": 37 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores at how much opacity the markers should be rendered on the map.\r\n * This is interpolated over multiple frames so we have some sort of fade effect\r\n ", "start": 4601, "end": 4789, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 135, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 4839, "end": 4870, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4839, "end": 4869, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4839, "end": 4865, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 34 } }, "object": { "type": "ThisExpression", "start": 4839, "end": 4843, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 12 } } }, "property": { "type": "Identifier", "start": 4844, "end": 4865, "loc": { "start": { "line": 137, "column": 13 }, "end": { "line": 137, "column": 34 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 4868, "end": 4869, "loc": { "start": { "line": 137, "column": 37 }, "end": { "line": 137, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "trailingComments": [ { "type": "CommentLine", "value": " Create buffer which is used to indicate the hub direction", "start": 4882, "end": 4942, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 68 } } } ] }, { "type": "VariableDeclaration", "start": 4952, "end": 5118, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 144, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4958, "end": 5117, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 144, "column": 10 } }, "id": { "type": "ArrayPattern", "start": 4958, "end": 4975, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 31 } }, "elements": [ { "type": "Identifier", "start": 4959, "end": 4965, "loc": { "start": { "line": 140, "column": 15 }, "end": { "line": 140, "column": 21 }, "identifierName": "canvas" }, "name": "canvas", "leadingComments": null }, { "type": "Identifier", "start": 4967, "end": 4974, "loc": { "start": { "line": 140, "column": 23 }, "end": { "line": 140, "column": 30 }, "identifierName": "context" }, "name": "context" } ], "leadingComments": null }, "init": { "type": "CallExpression", "start": 4978, "end": 5117, "loc": { "start": { "line": 140, "column": 34 }, "end": { "line": 144, "column": 10 } }, "callee": { "type": "Identifier", "start": 4978, "end": 4997, "loc": { "start": { "line": 140, "column": 34 }, "end": { "line": 140, "column": 53 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "arguments": [ { "type": "NumericLiteral", "start": 4998, "end": 5000, "loc": { "start": { "line": 140, "column": 54 }, "end": { "line": 140, "column": 56 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 }, { "type": "NumericLiteral", "start": 5002, "end": 5004, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 60 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 }, { "type": "ObjectExpression", "start": 5006, "end": 5116, "loc": { "start": { "line": 140, "column": 62 }, "end": { "line": 144, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 5021, "end": 5033, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 5021, "end": 5027, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 18 }, "identifierName": "smooth" }, "name": "smooth" }, "value": { "type": "BooleanLiteral", "start": 5029, "end": 5033, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 24 } }, "value": true } }, { "type": "ObjectProperty", "start": 5048, "end": 5063, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 5048, "end": 5056, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 20 }, "identifierName": "reusable" }, "name": "reusable" }, "value": { "type": "BooleanLiteral", "start": 5058, "end": 5063, "loc": { "start": { "line": 142, "column": 22 }, "end": { "line": 142, "column": 27 } }, "value": false } }, { "type": "ObjectProperty", "start": 5078, "end": 5104, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 38 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 5078, "end": 5083, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 17 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "StringLiteral", "start": 5085, "end": 5104, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 38 } }, "extra": { "rawValue": "waypoints-compass", "raw": "\"waypoints-compass\"" }, "value": "waypoints-compass" } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Create buffer which is used to indicate the hub direction", "start": 4882, "end": 4942, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 5128, "end": 5169, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 5128, "end": 5168, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5128, "end": 5146, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5128, "end": 5132, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 12 } } }, "property": { "type": "Identifier", "start": 5133, "end": 5146, "loc": { "start": { "line": 145, "column": 13 }, "end": { "line": 145, "column": 26 }, "identifierName": "compassBuffer" }, "name": "compassBuffer" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 5149, "end": 5168, "loc": { "start": { "line": 145, "column": 29 }, "end": { "line": 145, "column": 48 } }, "properties": [ { "type": "ObjectProperty", "start": 5151, "end": 5157, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 37 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 5151, "end": 5157, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 37 }, "identifierName": "canvas" }, "name": "canvas" }, "value": { "type": "Identifier", "start": 5151, "end": 5157, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 37 }, "identifierName": "canvas" }, "name": "canvas" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 5159, "end": 5166, "loc": { "start": { "line": 145, "column": 39 }, "end": { "line": 145, "column": 46 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 5159, "end": 5166, "loc": { "start": { "line": 145, "column": 39 }, "end": { "line": 145, "column": 46 }, "identifierName": "context" }, "name": "context" }, "value": { "type": "Identifier", "start": 5159, "end": 5166, "loc": { "start": { "line": 145, "column": 39 }, "end": { "line": 145, "column": 46 }, "identifierName": "context" }, "name": "context" }, "extra": { "shorthand": true } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores a cache from a shape short key to its canvas representation\r\n ", "start": 5181, "end": 5276, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 149, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 5286, "end": 5314, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 5286, "end": 5313, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5286, "end": 5308, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5286, "end": 5290, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5291, "end": 5308, "loc": { "start": { "line": 150, "column": 13 }, "end": { "line": 150, "column": 30 }, "identifierName": "cachedKeyToCanvas" }, "name": "cachedKeyToCanvas" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5311, "end": 5313, "loc": { "start": { "line": 150, "column": 33 }, "end": { "line": 150, "column": 35 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores a cache from a shape short key to its canvas representation\r\n ", "start": 5181, "end": 5276, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 149, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Store cached text widths\r\n * @type {Object}\r\n ", "start": 5326, "end": 5422, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 155, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 5432, "end": 5459, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 5432, "end": 5458, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5432, "end": 5453, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5432, "end": 5436, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5437, "end": 5453, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 29 }, "identifierName": "cachedTextWidths" }, "name": "cachedTextWidths" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5456, "end": 5458, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 34 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Store cached text widths\r\n * @type {Object}\r\n ", "start": 5326, "end": 5422, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 155, "column": 11 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Initial render", "start": 5471, "end": 5488, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 25 } } } ] }, { "type": "ExpressionStatement", "start": 5498, "end": 5526, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 36 } }, "expression": { "type": "CallExpression", "start": 5498, "end": 5525, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 5498, "end": 5523, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5498, "end": 5502, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5503, "end": 5523, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 33 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Initial render", "start": 5471, "end": 5488, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 25 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes everything\r\n ", "start": 3127, "end": 3170, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns how long a text will be rendered\r\n * @param {string} text\r\n * @returns {number}\r\n ", "start": 5541, "end": 5657, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 166, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5663, "end": 5966, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 174, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5663, "end": 5675, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 16 }, "identifierName": "getTextWidth" }, "name": "getTextWidth", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5676, "end": 5680, "loc": { "start": { "line": 167, "column": 17 }, "end": { "line": 167, "column": 21 }, "identifierName": "text" }, "name": "text" } ], "body": { "type": "BlockStatement", "start": 5682, "end": 5966, "loc": { "start": { "line": 167, "column": 23 }, "end": { "line": 174, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 5693, "end": 5787, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 170, "column": 9 } }, "test": { "type": "MemberExpression", "start": 5697, "end": 5724, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 39 } }, "object": { "type": "MemberExpression", "start": 5697, "end": 5718, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5697, "end": 5701, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 16 } } }, "property": { "type": "Identifier", "start": 5702, "end": 5718, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 33 }, "identifierName": "cachedTextWidths" }, "name": "cachedTextWidths" }, "computed": false }, "property": { "type": "Identifier", "start": 5719, "end": 5723, "loc": { "start": { "line": 168, "column": 34 }, "end": { "line": 168, "column": 38 }, "identifierName": "text" }, "name": "text" }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 5726, "end": 5787, "loc": { "start": { "line": 168, "column": 41 }, "end": { "line": 170, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 5741, "end": 5776, "loc": { "start": { "line": 169, "column": 12 }, "end": { "line": 169, "column": 47 } }, "argument": { "type": "MemberExpression", "start": 5748, "end": 5775, "loc": { "start": { "line": 169, "column": 19 }, "end": { "line": 169, "column": 46 } }, "object": { "type": "MemberExpression", "start": 5748, "end": 5769, "loc": { "start": { "line": 169, "column": 19 }, "end": { "line": 169, "column": 40 } }, "object": { "type": "ThisExpression", "start": 5748, "end": 5752, "loc": { "start": { "line": 169, "column": 19 }, "end": { "line": 169, "column": 23 } } }, "property": { "type": "Identifier", "start": 5753, "end": 5769, "loc": { "start": { "line": 169, "column": 24 }, "end": { "line": 169, "column": 40 }, "identifierName": "cachedTextWidths" }, "name": "cachedTextWidths" }, "computed": false }, "property": { "type": "Identifier", "start": 5770, "end": 5774, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 45 }, "identifierName": "text" }, "name": "text" }, "computed": true } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 5799, "end": 5869, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 78 } }, "expression": { "type": "AssignmentExpression", "start": 5799, "end": 5868, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 77 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5799, "end": 5820, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 29 } }, "object": { "type": "MemberExpression", "start": 5799, "end": 5815, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5799, "end": 5803, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 12 } } }, "property": { "type": "Identifier", "start": 5804, "end": 5815, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 172, "column": 24 }, "identifierName": "dummyBuffer" }, "name": "dummyBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5816, "end": 5820, "loc": { "start": { "line": 172, "column": 25 }, "end": { "line": 172, "column": 29 }, "identifierName": "font" }, "name": "font" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 5823, "end": 5868, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 77 } }, "left": { "type": "BinaryExpression", "start": 5823, "end": 5852, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 61 } }, "left": { "type": "StringLiteral", "start": 5823, "end": 5830, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 39 } }, "extra": { "rawValue": "bold ", "raw": "\"bold \"" }, "value": "bold " }, "operator": "+", "right": { "type": "CallExpression", "start": 5833, "end": 5852, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 5833, "end": 5850, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5833, "end": 5837, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 46 } } }, "property": { "type": "Identifier", "start": 5838, "end": 5850, "loc": { "start": { "line": 172, "column": 47 }, "end": { "line": 172, "column": 59 }, "identifierName": "getTextScale" }, "name": "getTextScale" }, "computed": false }, "arguments": [] } }, "operator": "+", "right": { "type": "StringLiteral", "start": 5855, "end": 5868, "loc": { "start": { "line": 172, "column": 64 }, "end": { "line": 172, "column": 77 } }, "extra": { "rawValue": "px GameFont", "raw": "\"px GameFont\"" }, "value": "px GameFont" } } } }, { "type": "ReturnStatement", "start": 5879, "end": 5959, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 88 } }, "argument": { "type": "AssignmentExpression", "start": 5887, "end": 5957, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5887, "end": 5914, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 43 } }, "object": { "type": "MemberExpression", "start": 5887, "end": 5908, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 37 } }, "object": { "type": "ThisExpression", "start": 5887, "end": 5891, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 20 } } }, "property": { "type": "Identifier", "start": 5892, "end": 5908, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 37 }, "identifierName": "cachedTextWidths" }, "name": "cachedTextWidths" }, "computed": false }, "property": { "type": "Identifier", "start": 5909, "end": 5913, "loc": { "start": { "line": 173, "column": 38 }, "end": { "line": 173, "column": 42 }, "identifierName": "text" }, "name": "text" }, "computed": true }, "right": { "type": "MemberExpression", "start": 5917, "end": 5957, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 86 } }, "object": { "type": "CallExpression", "start": 5917, "end": 5951, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 5917, "end": 5945, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 74 } }, "object": { "type": "MemberExpression", "start": 5917, "end": 5933, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 62 } }, "object": { "type": "ThisExpression", "start": 5917, "end": 5921, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 50 } } }, "property": { "type": "Identifier", "start": 5922, "end": 5933, "loc": { "start": { "line": 173, "column": 51 }, "end": { "line": 173, "column": 62 }, "identifierName": "dummyBuffer" }, "name": "dummyBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 5934, "end": 5945, "loc": { "start": { "line": 173, "column": 63 }, "end": { "line": 173, "column": 74 }, "identifierName": "measureText" }, "name": "measureText" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5946, "end": 5950, "loc": { "start": { "line": 173, "column": 75 }, "end": { "line": 173, "column": 79 }, "identifierName": "text" }, "name": "text" } ] }, "property": { "type": "Identifier", "start": 5952, "end": 5957, "loc": { "start": { "line": 173, "column": 81 }, "end": { "line": 173, "column": 86 }, "identifierName": "width" }, "name": "width" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 5886 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns how long a text will be rendered\r\n * @param {string} text\r\n * @returns {number}\r\n ", "start": 5541, "end": 5657, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 166, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns how big the text should be rendered\r\n ", "start": 5974, "end": 6038, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6044, "end": 6115, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 181, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6044, "end": 6056, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 16 }, "identifierName": "getTextScale" }, "name": "getTextScale", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6059, "end": 6115, "loc": { "start": { "line": 179, "column": 19 }, "end": { "line": 181, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6070, "end": 6108, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 46 } }, "argument": { "type": "BinaryExpression", "start": 6077, "end": 6107, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 45 } }, "left": { "type": "CallExpression", "start": 6077, "end": 6102, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6077, "end": 6100, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 38 } }, "object": { "type": "ThisExpression", "start": 6077, "end": 6081, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 19 } } }, "property": { "type": "Identifier", "start": 6082, "end": 6100, "loc": { "start": { "line": 180, "column": 20 }, "end": { "line": 180, "column": 38 }, "identifierName": "getWaypointUiScale" }, "name": "getWaypointUiScale" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "NumericLiteral", "start": 6105, "end": 6107, "loc": { "start": { "line": 180, "column": 43 }, "end": { "line": 180, "column": 45 } }, "extra": { "rawValue": 12, "raw": "12" }, "value": 12 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns how big the text should be rendered\r\n ", "start": 5974, "end": 6038, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the scale for rendering waypoints\r\n ", "start": 6123, "end": 6185, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6191, "end": 6273, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 188, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6191, "end": 6209, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 186, "column": 22 }, "identifierName": "getWaypointUiScale" }, "name": "getWaypointUiScale", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6212, "end": 6273, "loc": { "start": { "line": 186, "column": 25 }, "end": { "line": 188, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6223, "end": 6266, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 51 } }, "argument": { "type": "CallExpression", "start": 6230, "end": 6265, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 6230, "end": 6263, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 48 } }, "object": { "type": "MemberExpression", "start": 6230, "end": 6243, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 28 } }, "object": { "type": "MemberExpression", "start": 6230, "end": 6239, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 24 } }, "object": { "type": "ThisExpression", "start": 6230, "end": 6234, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 19 } } }, "property": { "type": "Identifier", "start": 6235, "end": 6239, "loc": { "start": { "line": 187, "column": 20 }, "end": { "line": 187, "column": 24 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6240, "end": 6243, "loc": { "start": { "line": 187, "column": 25 }, "end": { "line": 187, "column": 28 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 6244, "end": 6263, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 48 }, "identifierName": "getEffectiveUiScale" }, "name": "getEffectiveUiScale" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the scale for rendering waypoints\r\n ", "start": 6123, "end": 6185, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Re-renders the waypoint list to account for changes\r\n ", "start": 6281, "end": 6353, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6359, "end": 8219, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 238, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6359, "end": 6379, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 24 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6382, "end": 8219, "loc": { "start": { "line": 193, "column": 27 }, "end": { "line": 238, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6393, "end": 6438, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 53 } }, "expression": { "type": "CallExpression", "start": 6393, "end": 6437, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 52 } }, "callee": { "type": "Identifier", "start": 6393, "end": 6410, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 25 }, "identifierName": "removeAllChildren" }, "name": "removeAllChildren" }, "arguments": [ { "type": "MemberExpression", "start": 6411, "end": 6436, "loc": { "start": { "line": 194, "column": 26 }, "end": { "line": 194, "column": 51 } }, "object": { "type": "ThisExpression", "start": 6411, "end": 6415, "loc": { "start": { "line": 194, "column": 26 }, "end": { "line": 194, "column": 30 } } }, "property": { "type": "Identifier", "start": 6416, "end": 6436, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 51 }, "identifierName": "waypointsListElement" }, "name": "waypointsListElement" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 6448, "end": 6477, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 37 } }, "expression": { "type": "CallExpression", "start": 6448, "end": 6476, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 6448, "end": 6474, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 34 } }, "object": { "type": "ThisExpression", "start": 6448, "end": 6452, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 12 } } }, "property": { "type": "Identifier", "start": 6453, "end": 6474, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 34 }, "identifierName": "cleanupClickDetectors" }, "name": "cleanupClickDetectors" }, "computed": false }, "arguments": [] } }, { "type": "ForStatement", "start": 6489, "end": 8212, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 237, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 6494, "end": 6503, "loc": { "start": { "line": 197, "column": 13 }, "end": { "line": 197, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6498, "end": 6503, "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 22 } }, "id": { "type": "Identifier", "start": 6498, "end": 6499, "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 6502, "end": 6503, "loc": { "start": { "line": 197, "column": 21 }, "end": { "line": 197, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6505, "end": 6530, "loc": { "start": { "line": 197, "column": 24 }, "end": { "line": 197, "column": 49 } }, "left": { "type": "Identifier", "start": 6505, "end": 6506, "loc": { "start": { "line": 197, "column": 24 }, "end": { "line": 197, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 6509, "end": 6530, "loc": { "start": { "line": 197, "column": 28 }, "end": { "line": 197, "column": 49 } }, "object": { "type": "MemberExpression", "start": 6509, "end": 6523, "loc": { "start": { "line": 197, "column": 28 }, "end": { "line": 197, "column": 42 } }, "object": { "type": "ThisExpression", "start": 6509, "end": 6513, "loc": { "start": { "line": 197, "column": 28 }, "end": { "line": 197, "column": 32 } } }, "property": { "type": "Identifier", "start": 6514, "end": 6523, "loc": { "start": { "line": 197, "column": 33 }, "end": { "line": 197, "column": 42 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 6524, "end": 6530, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 6532, "end": 6535, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 6534, "end": 6535, "loc": { "start": { "line": 197, "column": 53 }, "end": { "line": 197, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 6537, "end": 8212, "loc": { "start": { "line": 197, "column": 56 }, "end": { "line": 237, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 6552, "end": 6587, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6558, "end": 6586, "loc": { "start": { "line": 198, "column": 18 }, "end": { "line": 198, "column": 46 } }, "id": { "type": "Identifier", "start": 6558, "end": 6566, "loc": { "start": { "line": 198, "column": 18 }, "end": { "line": 198, "column": 26 }, "identifierName": "waypoint" }, "name": "waypoint" }, "init": { "type": "MemberExpression", "start": 6569, "end": 6586, "loc": { "start": { "line": 198, "column": 29 }, "end": { "line": 198, "column": 46 } }, "object": { "type": "MemberExpression", "start": 6569, "end": 6583, "loc": { "start": { "line": 198, "column": 29 }, "end": { "line": 198, "column": 43 } }, "object": { "type": "ThisExpression", "start": 6569, "end": 6573, "loc": { "start": { "line": 198, "column": 29 }, "end": { "line": 198, "column": 33 } } }, "property": { "type": "Identifier", "start": 6574, "end": 6583, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 43 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 6584, "end": 6585, "loc": { "start": { "line": 198, "column": 44 }, "end": { "line": 198, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6601, "end": 6647, "loc": { "start": { "line": 199, "column": 12 }, "end": { "line": 199, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6607, "end": 6646, "loc": { "start": { "line": 199, "column": 18 }, "end": { "line": 199, "column": 57 } }, "id": { "type": "Identifier", "start": 6607, "end": 6612, "loc": { "start": { "line": 199, "column": 18 }, "end": { "line": 199, "column": 23 }, "identifierName": "label" }, "name": "label" }, "init": { "type": "CallExpression", "start": 6615, "end": 6646, "loc": { "start": { "line": 199, "column": 26 }, "end": { "line": 199, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 6615, "end": 6636, "loc": { "start": { "line": 199, "column": 26 }, "end": { "line": 199, "column": 47 } }, "object": { "type": "ThisExpression", "start": 6615, "end": 6619, "loc": { "start": { "line": 199, "column": 26 }, "end": { "line": 199, "column": 30 } } }, "property": { "type": "Identifier", "start": 6620, "end": 6636, "loc": { "start": { "line": 199, "column": 31 }, "end": { "line": 199, "column": 47 }, "identifierName": "getWaypointLabel" }, "name": "getWaypointLabel" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6637, "end": 6645, "loc": { "start": { "line": 199, "column": 48 }, "end": { "line": 199, "column": 56 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6663, "end": 6812, "loc": { "start": { "line": 201, "column": 12 }, "end": { "line": 204, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6669, "end": 6811, "loc": { "start": { "line": 201, "column": 18 }, "end": { "line": 204, "column": 14 } }, "id": { "type": "Identifier", "start": 6669, "end": 6676, "loc": { "start": { "line": 201, "column": 18 }, "end": { "line": 201, "column": 25 }, "identifierName": "element" }, "name": "element" }, "init": { "type": "CallExpression", "start": 6679, "end": 6811, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 204, "column": 14 } }, "callee": { "type": "Identifier", "start": 6679, "end": 6686, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 201, "column": 35 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "MemberExpression", "start": 6687, "end": 6712, "loc": { "start": { "line": 201, "column": 36 }, "end": { "line": 201, "column": 61 } }, "object": { "type": "ThisExpression", "start": 6687, "end": 6691, "loc": { "start": { "line": 201, "column": 36 }, "end": { "line": 201, "column": 40 } } }, "property": { "type": "Identifier", "start": 6692, "end": 6712, "loc": { "start": { "line": 201, "column": 41 }, "end": { "line": 201, "column": 61 }, "identifierName": "waypointsListElement" }, "name": "waypointsListElement" }, "computed": false }, { "type": "NullLiteral", "start": 6714, "end": 6718, "loc": { "start": { "line": 201, "column": 63 }, "end": { "line": 201, "column": 67 } } }, { "type": "ArrayExpression", "start": 6720, "end": 6810, "loc": { "start": { "line": 201, "column": 69 }, "end": { "line": 204, "column": 13 } }, "elements": [ { "type": "StringLiteral", "start": 6739, "end": 6749, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 26 } }, "extra": { "rawValue": "waypoint", "raw": "\"waypoint\"" }, "value": "waypoint" }, { "type": "BinaryExpression", "start": 6768, "end": 6794, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 42 } }, "left": { "type": "StringLiteral", "start": 6768, "end": 6777, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 25 } }, "extra": { "rawValue": "layer--", "raw": "\"layer--\"" }, "value": "layer--" }, "operator": "+", "right": { "type": "MemberExpression", "start": 6780, "end": 6794, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 42 } }, "object": { "type": "Identifier", "start": 6780, "end": 6788, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 36 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 6789, "end": 6794, "loc": { "start": { "line": 203, "column": 37 }, "end": { "line": 203, "column": 42 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } } ] } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 6828, "end": 7594, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 221, "column": 13 } }, "test": { "type": "CallExpression", "start": 6832, "end": 6870, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 6832, "end": 6863, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 47 } }, "object": { "type": "Identifier", "start": 6832, "end": 6847, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 31 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "property": { "type": "Identifier", "start": 6848, "end": 6863, "loc": { "start": { "line": 206, "column": 32 }, "end": { "line": 206, "column": 47 }, "identifierName": "isValidShortKey" }, "name": "isValidShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6864, "end": 6869, "loc": { "start": { "line": 206, "column": 48 }, "end": { "line": 206, "column": 53 }, "identifierName": "label" }, "name": "label" } ] }, "consequent": { "type": "BlockStatement", "start": 6872, "end": 7528, "loc": { "start": { "line": 206, "column": 56 }, "end": { "line": 219, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 6891, "end": 6939, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6897, "end": 6938, "loc": { "start": { "line": 207, "column": 22 }, "end": { "line": 207, "column": 63 } }, "id": { "type": "Identifier", "start": 6897, "end": 6903, "loc": { "start": { "line": 207, "column": 22 }, "end": { "line": 207, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "init": { "type": "CallExpression", "start": 6906, "end": 6938, "loc": { "start": { "line": 207, "column": 31 }, "end": { "line": 207, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 6906, "end": 6928, "loc": { "start": { "line": 207, "column": 31 }, "end": { "line": 207, "column": 53 } }, "object": { "type": "ThisExpression", "start": 6906, "end": 6910, "loc": { "start": { "line": 207, "column": 31 }, "end": { "line": 207, "column": 35 } } }, "property": { "type": "Identifier", "start": 6911, "end": 6928, "loc": { "start": { "line": 207, "column": 36 }, "end": { "line": 207, "column": 53 }, "identifierName": "getWaypointCanvas" }, "name": "getWaypointCanvas" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6929, "end": 6937, "loc": { "start": { "line": 207, "column": 54 }, "end": { "line": 207, "column": 62 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Create a clone of the cached canvas, as calling appendElement when a canvas is\r\n * already in the document will move the existing canvas to the new position.\r\n ", "start": 6957, "end": 7175, "loc": { "start": { "line": 208, "column": 16 }, "end": { "line": 211, "column": 19 } } } ] }, { "type": "VariableDeclaration", "start": 7193, "end": 7361, "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 215, "column": 19 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7199, "end": 7360, "loc": { "start": { "line": 212, "column": 22 }, "end": { "line": 215, "column": 18 } }, "id": { "type": "ArrayPattern", "start": 7199, "end": 7219, "loc": { "start": { "line": 212, "column": 22 }, "end": { "line": 212, "column": 42 } }, "elements": [ { "type": "Identifier", "start": 7200, "end": 7209, "loc": { "start": { "line": 212, "column": 23 }, "end": { "line": 212, "column": 32 }, "identifierName": "newCanvas" }, "name": "newCanvas", "leadingComments": null }, { "type": "Identifier", "start": 7211, "end": 7218, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 41 }, "identifierName": "context" }, "name": "context" } ], "leadingComments": null }, "init": { "type": "CallExpression", "start": 7222, "end": 7360, "loc": { "start": { "line": 212, "column": 45 }, "end": { "line": 215, "column": 18 } }, "callee": { "type": "Identifier", "start": 7222, "end": 7241, "loc": { "start": { "line": 212, "column": 45 }, "end": { "line": 212, "column": 64 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "arguments": [ { "type": "NumericLiteral", "start": 7242, "end": 7244, "loc": { "start": { "line": 212, "column": 65 }, "end": { "line": 212, "column": 67 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 }, { "type": "NumericLiteral", "start": 7246, "end": 7248, "loc": { "start": { "line": 212, "column": 69 }, "end": { "line": 212, "column": 71 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 }, { "type": "ObjectExpression", "start": 7250, "end": 7359, "loc": { "start": { "line": 212, "column": 73 }, "end": { "line": 215, "column": 17 } }, "properties": [ { "type": "ObjectProperty", "start": 7273, "end": 7285, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 7273, "end": 7279, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 26 }, "identifierName": "smooth" }, "name": "smooth" }, "value": { "type": "BooleanLiteral", "start": 7281, "end": 7285, "loc": { "start": { "line": 213, "column": 28 }, "end": { "line": 213, "column": 32 } }, "value": true } }, { "type": "ObjectProperty", "start": 7308, "end": 7339, "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 51 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 7308, "end": 7313, "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 25 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "BinaryExpression", "start": 7315, "end": 7339, "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 51 } }, "left": { "type": "BinaryExpression", "start": 7315, "end": 7335, "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 47 } }, "left": { "type": "Identifier", "start": 7315, "end": 7320, "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 32 }, "identifierName": "label" }, "name": "label" }, "operator": "+", "right": { "type": "StringLiteral", "start": 7323, "end": 7335, "loc": { "start": { "line": 214, "column": 35 }, "end": { "line": 214, "column": 47 } }, "extra": { "rawValue": "-waypoint-", "raw": "\"-waypoint-\"" }, "value": "-waypoint-" } }, "operator": "+", "right": { "type": "Identifier", "start": 7338, "end": 7339, "loc": { "start": { "line": 214, "column": 50 }, "end": { "line": 214, "column": 51 }, "identifierName": "i" }, "name": "i" } } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Create a clone of the cached canvas, as calling appendElement when a canvas is\r\n * already in the document will move the existing canvas to the new position.\r\n ", "start": 6957, "end": 7175, "loc": { "start": { "line": 208, "column": 16 }, "end": { "line": 211, "column": 19 } } } ] }, { "type": "ExpressionStatement", "start": 7379, "end": 7411, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 48 } }, "expression": { "type": "CallExpression", "start": 7379, "end": 7410, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 7379, "end": 7396, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 33 } }, "object": { "type": "Identifier", "start": 7379, "end": 7386, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 23 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 7387, "end": 7396, "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 33 }, "identifierName": "drawImage" }, "name": "drawImage" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7397, "end": 7403, "loc": { "start": { "line": 216, "column": 34 }, "end": { "line": 216, "column": 40 }, "identifierName": "canvas" }, "name": "canvas" }, { "type": "NumericLiteral", "start": 7405, "end": 7406, "loc": { "start": { "line": 216, "column": 42 }, "end": { "line": 216, "column": 43 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 7408, "end": 7409, "loc": { "start": { "line": 216, "column": 45 }, "end": { "line": 216, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } }, { "type": "ExpressionStatement", "start": 7429, "end": 7460, "loc": { "start": { "line": 217, "column": 16 }, "end": { "line": 217, "column": 47 } }, "expression": { "type": "CallExpression", "start": 7429, "end": 7459, "loc": { "start": { "line": 217, "column": 16 }, "end": { "line": 217, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 7429, "end": 7448, "loc": { "start": { "line": 217, "column": 16 }, "end": { "line": 217, "column": 35 } }, "object": { "type": "Identifier", "start": 7429, "end": 7436, "loc": { "start": { "line": 217, "column": 16 }, "end": { "line": 217, "column": 23 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 7437, "end": 7448, "loc": { "start": { "line": 217, "column": 24 }, "end": { "line": 217, "column": 35 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7449, "end": 7458, "loc": { "start": { "line": 217, "column": 36 }, "end": { "line": 217, "column": 45 }, "identifierName": "newCanvas" }, "name": "newCanvas" } ] } }, { "type": "ExpressionStatement", "start": 7478, "end": 7513, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 51 } }, "expression": { "type": "CallExpression", "start": 7478, "end": 7512, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 7478, "end": 7499, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7478, "end": 7495, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 33 } }, "object": { "type": "Identifier", "start": 7478, "end": 7485, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 23 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 7486, "end": 7495, "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 33 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 7496, "end": 7499, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 37 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7500, "end": 7511, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 49 } }, "extra": { "rawValue": "shapeIcon", "raw": "\"shapeIcon\"" }, "value": "shapeIcon" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7534, "end": 7594, "loc": { "start": { "line": 219, "column": 19 }, "end": { "line": 221, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 7553, "end": 7579, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 7553, "end": 7578, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7553, "end": 7570, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 33 } }, "object": { "type": "Identifier", "start": 7553, "end": 7560, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 23 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 7561, "end": 7570, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 33 }, "identifierName": "innerText" }, "name": "innerText" }, "computed": false }, "right": { "type": "Identifier", "start": 7573, "end": 7578, "loc": { "start": { "line": 220, "column": 36 }, "end": { "line": 220, "column": 41 }, "identifierName": "label" }, "name": "label" } } } ], "directives": [] } }, { "type": "IfStatement", "start": 7610, "end": 7833, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 226, "column": 13 } }, "test": { "type": "CallExpression", "start": 7614, "end": 7648, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 7614, "end": 7638, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7614, "end": 7618, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 20 } } }, "property": { "type": "Identifier", "start": 7619, "end": 7638, "loc": { "start": { "line": 223, "column": 21 }, "end": { "line": 223, "column": 40 }, "identifierName": "isWaypointDeletable" }, "name": "isWaypointDeletable" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7639, "end": 7647, "loc": { "start": { "line": 223, "column": 41 }, "end": { "line": 223, "column": 49 }, "identifierName": "waypoint" }, "name": "waypoint" } ] }, "consequent": { "type": "BlockStatement", "start": 7650, "end": 7833, "loc": { "start": { "line": 223, "column": 52 }, "end": { "line": 226, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 7669, "end": 7727, "loc": { "start": { "line": 224, "column": 16 }, "end": { "line": 224, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7675, "end": 7726, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 73 } }, "id": { "type": "Identifier", "start": 7675, "end": 7685, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 32 }, "identifierName": "editButton" }, "name": "editButton" }, "init": { "type": "CallExpression", "start": 7688, "end": 7726, "loc": { "start": { "line": 224, "column": 35 }, "end": { "line": 224, "column": 73 } }, "callee": { "type": "Identifier", "start": 7688, "end": 7695, "loc": { "start": { "line": 224, "column": 35 }, "end": { "line": 224, "column": 42 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 7696, "end": 7703, "loc": { "start": { "line": 224, "column": 43 }, "end": { "line": 224, "column": 50 }, "identifierName": "element" }, "name": "element" }, { "type": "NullLiteral", "start": 7705, "end": 7709, "loc": { "start": { "line": 224, "column": 52 }, "end": { "line": 224, "column": 56 } } }, { "type": "ArrayExpression", "start": 7711, "end": 7725, "loc": { "start": { "line": 224, "column": 58 }, "end": { "line": 224, "column": 72 } }, "elements": [ { "type": "StringLiteral", "start": 7712, "end": 7724, "loc": { "start": { "line": 224, "column": 59 }, "end": { "line": 224, "column": 71 } }, "extra": { "rawValue": "editButton", "raw": "\"editButton\"" }, "value": "editButton" } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 7745, "end": 7818, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 89 } }, "expression": { "type": "CallExpression", "start": 7745, "end": 7817, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 7745, "end": 7761, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 32 } }, "object": { "type": "ThisExpression", "start": 7745, "end": 7749, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 20 } } }, "property": { "type": "Identifier", "start": 7750, "end": 7761, "loc": { "start": { "line": 225, "column": 21 }, "end": { "line": 225, "column": 32 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7762, "end": 7772, "loc": { "start": { "line": 225, "column": 33 }, "end": { "line": 225, "column": 43 }, "identifierName": "editButton" }, "name": "editButton" }, { "type": "ArrowFunctionExpression", "start": 7774, "end": 7816, "loc": { "start": { "line": 225, "column": 45 }, "end": { "line": 225, "column": 87 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 7780, "end": 7816, "loc": { "start": { "line": 225, "column": 51 }, "end": { "line": 225, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 7780, "end": 7802, "loc": { "start": { "line": 225, "column": 51 }, "end": { "line": 225, "column": 73 } }, "object": { "type": "ThisExpression", "start": 7780, "end": 7784, "loc": { "start": { "line": 225, "column": 51 }, "end": { "line": 225, "column": 55 } } }, "property": { "type": "Identifier", "start": 7785, "end": 7802, "loc": { "start": { "line": 225, "column": 56 }, "end": { "line": 225, "column": 73 }, "identifierName": "requestSaveMarker" }, "name": "requestSaveMarker" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 7803, "end": 7815, "loc": { "start": { "line": 225, "column": 74 }, "end": { "line": 225, "column": 86 } }, "properties": [ { "type": "ObjectProperty", "start": 7805, "end": 7813, "loc": { "start": { "line": 225, "column": 76 }, "end": { "line": 225, "column": 84 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 7805, "end": 7813, "loc": { "start": { "line": 225, "column": 76 }, "end": { "line": 225, "column": 84 }, "identifierName": "waypoint" }, "name": "waypoint" }, "value": { "type": "Identifier", "start": 7805, "end": 7813, "loc": { "start": { "line": 225, "column": 76 }, "end": { "line": 225, "column": 84 }, "identifierName": "waypoint" }, "name": "waypoint" }, "extra": { "shorthand": true } } ] } ] } } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7849, "end": 8069, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 232, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 7853, "end": 7868, "loc": { "start": { "line": 228, "column": 16 }, "end": { "line": 228, "column": 31 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7854, "end": 7868, "loc": { "start": { "line": 228, "column": 17 }, "end": { "line": 228, "column": 31 } }, "object": { "type": "Identifier", "start": 7854, "end": 7862, "loc": { "start": { "line": 228, "column": 17 }, "end": { "line": 228, "column": 25 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 7863, "end": 7868, "loc": { "start": { "line": 228, "column": 26 }, "end": { "line": 228, "column": 31 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 7870, "end": 8069, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 232, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 7936, "end": 7965, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 45 } }, "expression": { "type": "CallExpression", "start": 7936, "end": 7964, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 7936, "end": 7957, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7936, "end": 7953, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 33 } }, "object": { "type": "Identifier", "start": 7936, "end": 7943, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 23 }, "identifierName": "element" }, "name": "element", "leadingComments": null }, "property": { "type": "Identifier", "start": 7944, "end": 7953, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 33 }, "identifierName": "classList" }, "name": "classList" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7954, "end": 7957, "loc": { "start": { "line": 230, "column": 34 }, "end": { "line": 230, "column": 37 }, "identifierName": "add" }, "name": "add" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 7958, "end": 7963, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 43 } }, "extra": { "rawValue": "hub", "raw": "\"hub\"" }, "value": "hub" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " This must be the hub label", "start": 7889, "end": 7918, "loc": { "start": { "line": 229, "column": 16 }, "end": { "line": 229, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 7983, "end": 8054, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 87 } }, "expression": { "type": "CallExpression", "start": 7983, "end": 8053, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 7983, "end": 8003, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 36 } }, "object": { "type": "Identifier", "start": 7983, "end": 7990, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 23 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 7991, "end": 8003, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 36 }, "identifierName": "insertBefore" }, "name": "insertBefore" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8004, "end": 8029, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 62 } }, "object": { "type": "MemberExpression", "start": 8004, "end": 8022, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 55 } }, "object": { "type": "ThisExpression", "start": 8004, "end": 8008, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 41 } } }, "property": { "type": "Identifier", "start": 8009, "end": 8022, "loc": { "start": { "line": 231, "column": 42 }, "end": { "line": 231, "column": 55 }, "identifierName": "compassBuffer" }, "name": "compassBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 8023, "end": 8029, "loc": { "start": { "line": 231, "column": 56 }, "end": { "line": 231, "column": 62 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, { "type": "MemberExpression", "start": 8031, "end": 8052, "loc": { "start": { "line": 231, "column": 64 }, "end": { "line": 231, "column": 85 } }, "object": { "type": "MemberExpression", "start": 8031, "end": 8049, "loc": { "start": { "line": 231, "column": 64 }, "end": { "line": 231, "column": 82 } }, "object": { "type": "Identifier", "start": 8031, "end": 8038, "loc": { "start": { "line": 231, "column": 64 }, "end": { "line": 231, "column": 71 }, "identifierName": "element" }, "name": "element" }, "property": { "type": "Identifier", "start": 8039, "end": 8049, "loc": { "start": { "line": 231, "column": 72 }, "end": { "line": 231, "column": 82 }, "identifierName": "childNodes" }, "name": "childNodes" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 8050, "end": 8051, "loc": { "start": { "line": 231, "column": 83 }, "end": { "line": 231, "column": 84 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 8085, "end": 8201, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 236, "column": 15 } }, "expression": { "type": "CallExpression", "start": 8085, "end": 8200, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 236, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 8085, "end": 8101, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8085, "end": 8089, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 16 } } }, "property": { "type": "Identifier", "start": 8090, "end": 8101, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 28 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8102, "end": 8109, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 36 }, "identifierName": "element" }, "name": "element" }, { "type": "ArrowFunctionExpression", "start": 8111, "end": 8146, "loc": { "start": { "line": 234, "column": 38 }, "end": { "line": 234, "column": 73 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 8117, "end": 8146, "loc": { "start": { "line": 234, "column": 44 }, "end": { "line": 234, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 8117, "end": 8136, "loc": { "start": { "line": 234, "column": 44 }, "end": { "line": 234, "column": 63 } }, "object": { "type": "ThisExpression", "start": 8117, "end": 8121, "loc": { "start": { "line": 234, "column": 44 }, "end": { "line": 234, "column": 48 } } }, "property": { "type": "Identifier", "start": 8122, "end": 8136, "loc": { "start": { "line": 234, "column": 49 }, "end": { "line": 234, "column": 63 }, "identifierName": "moveToWaypoint" }, "name": "moveToWaypoint" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8137, "end": 8145, "loc": { "start": { "line": 234, "column": 64 }, "end": { "line": 234, "column": 72 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } }, { "type": "ObjectExpression", "start": 8148, "end": 8199, "loc": { "start": { "line": 234, "column": 75 }, "end": { "line": 236, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 8167, "end": 8183, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 8167, "end": 8177, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 26 }, "identifierName": "targetOnly" }, "name": "targetOnly" }, "value": { "type": "BooleanLiteral", "start": 8179, "end": 8183, "loc": { "start": { "line": 235, "column": 28 }, "end": { "line": 235, "column": 32 } }, "value": true } } ] } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Re-renders the waypoint list to account for changes\r\n ", "start": 6281, "end": 6353, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the camera to a given waypoint\r\n * @param {Waypoint} waypoint\r\n ", "start": 8227, "end": 8319, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 243, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8325, "end": 8564, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 248, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8325, "end": 8339, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 }, "identifierName": "moveToWaypoint" }, "name": "moveToWaypoint", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8340, "end": 8348, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 27 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 8350, "end": 8564, "loc": { "start": { "line": 244, "column": 29 }, "end": { "line": 248, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8361, "end": 8401, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 8361, "end": 8400, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8361, "end": 8383, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 30 } }, "object": { "type": "MemberExpression", "start": 8361, "end": 8370, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8361, "end": 8365, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 12 } } }, "property": { "type": "Identifier", "start": 8366, "end": 8370, "loc": { "start": { "line": 245, "column": 13 }, "end": { "line": 245, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 8371, "end": 8383, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 30 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "MemberExpression", "start": 8386, "end": 8400, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 47 } }, "object": { "type": "Identifier", "start": 8386, "end": 8394, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 41 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 8395, "end": 8400, "loc": { "start": { "line": 245, "column": 42 }, "end": { "line": 245, "column": 47 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 8411, "end": 8495, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 92 } }, "expression": { "type": "CallExpression", "start": 8411, "end": 8494, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 8411, "end": 8444, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8411, "end": 8427, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 24 } }, "object": { "type": "MemberExpression", "start": 8411, "end": 8420, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8411, "end": 8415, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 12 } } }, "property": { "type": "Identifier", "start": 8416, "end": 8420, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 8421, "end": 8427, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 24 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 8428, "end": 8444, "loc": { "start": { "line": 246, "column": 25 }, "end": { "line": 246, "column": 41 }, "identifierName": "setDesiredCenter" }, "name": "setDesiredCenter" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 8445, "end": 8493, "loc": { "start": { "line": 246, "column": 42 }, "end": { "line": 246, "column": 90 } }, "callee": { "type": "Identifier", "start": 8449, "end": 8455, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 52 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 8456, "end": 8473, "loc": { "start": { "line": 246, "column": 53 }, "end": { "line": 246, "column": 70 } }, "object": { "type": "MemberExpression", "start": 8456, "end": 8471, "loc": { "start": { "line": 246, "column": 53 }, "end": { "line": 246, "column": 68 } }, "object": { "type": "Identifier", "start": 8456, "end": 8464, "loc": { "start": { "line": 246, "column": 53 }, "end": { "line": 246, "column": 61 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 8465, "end": 8471, "loc": { "start": { "line": 246, "column": 62 }, "end": { "line": 246, "column": 68 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 8472, "end": 8473, "loc": { "start": { "line": 246, "column": 69 }, "end": { "line": 246, "column": 70 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 8475, "end": 8492, "loc": { "start": { "line": 246, "column": 72 }, "end": { "line": 246, "column": 89 } }, "object": { "type": "MemberExpression", "start": 8475, "end": 8490, "loc": { "start": { "line": 246, "column": 72 }, "end": { "line": 246, "column": 87 } }, "object": { "type": "Identifier", "start": 8475, "end": 8483, "loc": { "start": { "line": 246, "column": 72 }, "end": { "line": 246, "column": 80 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 8484, "end": 8490, "loc": { "start": { "line": 246, "column": 81 }, "end": { "line": 246, "column": 87 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 8491, "end": 8492, "loc": { "start": { "line": 246, "column": 88 }, "end": { "line": 246, "column": 89 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } ] } }, { "type": "ExpressionStatement", "start": 8505, "end": 8557, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 60 } }, "expression": { "type": "CallExpression", "start": 8505, "end": 8556, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 8505, "end": 8536, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8505, "end": 8521, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 24 } }, "object": { "type": "MemberExpression", "start": 8505, "end": 8514, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8505, "end": 8509, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 12 } } }, "property": { "type": "Identifier", "start": 8510, "end": 8514, "loc": { "start": { "line": 247, "column": 13 }, "end": { "line": 247, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 8515, "end": 8521, "loc": { "start": { "line": 247, "column": 18 }, "end": { "line": 247, "column": 24 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 8522, "end": 8536, "loc": { "start": { "line": 247, "column": 25 }, "end": { "line": 247, "column": 39 }, "identifierName": "setDesiredZoom" }, "name": "setDesiredZoom" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8537, "end": 8555, "loc": { "start": { "line": 247, "column": 40 }, "end": { "line": 247, "column": 58 } }, "object": { "type": "Identifier", "start": 8537, "end": 8545, "loc": { "start": { "line": 247, "column": 40 }, "end": { "line": 247, "column": 48 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 8546, "end": 8555, "loc": { "start": { "line": 247, "column": 49 }, "end": { "line": 247, "column": 58 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the camera to a given waypoint\r\n * @param {Waypoint} waypoint\r\n ", "start": 8227, "end": 8319, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 243, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes a waypoint from the list\r\n * @param {Waypoint} waypoint\r\n ", "start": 8572, "end": 8660, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 253, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8666, "end": 8790, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 257, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8666, "end": 8680, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 18 }, "identifierName": "deleteWaypoint" }, "name": "deleteWaypoint", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8681, "end": 8689, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 27 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 8691, "end": 8790, "loc": { "start": { "line": 254, "column": 29 }, "end": { "line": 257, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8702, "end": 8745, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 51 } }, "expression": { "type": "CallExpression", "start": 8702, "end": 8744, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 50 } }, "callee": { "type": "Identifier", "start": 8702, "end": 8718, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 24 }, "identifierName": "arrayDeleteValue" }, "name": "arrayDeleteValue" }, "arguments": [ { "type": "MemberExpression", "start": 8719, "end": 8733, "loc": { "start": { "line": 255, "column": 25 }, "end": { "line": 255, "column": 39 } }, "object": { "type": "ThisExpression", "start": 8719, "end": 8723, "loc": { "start": { "line": 255, "column": 25 }, "end": { "line": 255, "column": 29 } } }, "property": { "type": "Identifier", "start": 8724, "end": 8733, "loc": { "start": { "line": 255, "column": 30 }, "end": { "line": 255, "column": 39 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, { "type": "Identifier", "start": 8735, "end": 8743, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 49 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } }, { "type": "ExpressionStatement", "start": 8755, "end": 8783, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 36 } }, "expression": { "type": "CallExpression", "start": 8755, "end": 8782, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 8755, "end": 8780, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 33 } }, "object": { "type": "ThisExpression", "start": 8755, "end": 8759, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 12 } } }, "property": { "type": "Identifier", "start": 8760, "end": 8780, "loc": { "start": { "line": 256, "column": 13 }, "end": { "line": 256, "column": 33 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deletes a waypoint from the list\r\n * @param {Waypoint} waypoint\r\n ", "start": 8572, "end": 8660, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 253, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the canvas for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {HTMLCanvasElement}\r\n ", "start": 8798, "end": 8927, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 263, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8933, "end": 9403, "loc": { "start": { "line": 264, "column": 4 }, "end": { "line": 274, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8933, "end": 8950, "loc": { "start": { "line": 264, "column": 4 }, "end": { "line": 264, "column": 21 }, "identifierName": "getWaypointCanvas" }, "name": "getWaypointCanvas", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8951, "end": 8959, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 30 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 8961, "end": 9403, "loc": { "start": { "line": 264, "column": 32 }, "end": { "line": 274, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 8972, "end": 8999, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8978, "end": 8998, "loc": { "start": { "line": 265, "column": 14 }, "end": { "line": 265, "column": 34 } }, "id": { "type": "Identifier", "start": 8978, "end": 8981, "loc": { "start": { "line": 265, "column": 14 }, "end": { "line": 265, "column": 17 }, "identifierName": "key" }, "name": "key" }, "init": { "type": "MemberExpression", "start": 8984, "end": 8998, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 34 } }, "object": { "type": "Identifier", "start": 8984, "end": 8992, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 28 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 8993, "end": 8998, "loc": { "start": { "line": 265, "column": 29 }, "end": { "line": 265, "column": 34 }, "identifierName": "label" }, "name": "label" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 9009, "end": 9103, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 268, "column": 9 } }, "test": { "type": "MemberExpression", "start": 9013, "end": 9040, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 39 } }, "object": { "type": "MemberExpression", "start": 9013, "end": 9035, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9013, "end": 9017, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 16 } } }, "property": { "type": "Identifier", "start": 9018, "end": 9035, "loc": { "start": { "line": 266, "column": 17 }, "end": { "line": 266, "column": 34 }, "identifierName": "cachedKeyToCanvas" }, "name": "cachedKeyToCanvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9036, "end": 9039, "loc": { "start": { "line": 266, "column": 35 }, "end": { "line": 266, "column": 38 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 9042, "end": 9103, "loc": { "start": { "line": 266, "column": 41 }, "end": { "line": 268, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 9057, "end": 9092, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 47 } }, "argument": { "type": "MemberExpression", "start": 9064, "end": 9091, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 46 } }, "object": { "type": "MemberExpression", "start": 9064, "end": 9086, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 41 } }, "object": { "type": "ThisExpression", "start": 9064, "end": 9068, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 23 } } }, "property": { "type": "Identifier", "start": 9069, "end": 9086, "loc": { "start": { "line": 267, "column": 24 }, "end": { "line": 267, "column": 41 }, "identifierName": "cachedKeyToCanvas" }, "name": "cachedKeyToCanvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9087, "end": 9090, "loc": { "start": { "line": 267, "column": 42 }, "end": { "line": 267, "column": 45 }, "identifierName": "key" }, "name": "key" }, "computed": true } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9115, "end": 9189, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 82 } }, "expression": { "type": "CallExpression", "start": 9115, "end": 9188, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 81 } }, "callee": { "type": "Identifier", "start": 9115, "end": 9121, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 9122, "end": 9158, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 9122, "end": 9153, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 46 } }, "object": { "type": "Identifier", "start": 9122, "end": 9137, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 30 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "property": { "type": "Identifier", "start": 9138, "end": 9153, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 46 }, "identifierName": "isValidShortKey" }, "name": "isValidShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9154, "end": 9157, "loc": { "start": { "line": 270, "column": 47 }, "end": { "line": 270, "column": 50 }, "identifierName": "key" }, "name": "key" } ] }, { "type": "BinaryExpression", "start": 9160, "end": 9187, "loc": { "start": { "line": 270, "column": 53 }, "end": { "line": 270, "column": 80 } }, "left": { "type": "StringLiteral", "start": 9160, "end": 9181, "loc": { "start": { "line": 270, "column": 53 }, "end": { "line": 270, "column": 74 } }, "extra": { "rawValue": "Invalid short key: ", "raw": "\"Invalid short key: \"" }, "value": "Invalid short key: " }, "operator": "+", "right": { "type": "Identifier", "start": 9184, "end": 9187, "loc": { "start": { "line": 270, "column": 77 }, "end": { "line": 270, "column": 80 }, "identifierName": "key" }, "name": "key" } } ] } }, { "type": "VariableDeclaration", "start": 9199, "end": 9273, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9205, "end": 9272, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 81 } }, "id": { "type": "Identifier", "start": 9205, "end": 9215, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 24 }, "identifierName": "definition" }, "name": "definition" }, "init": { "type": "CallExpression", "start": 9218, "end": 9272, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 9218, "end": 9267, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 76 } }, "object": { "type": "MemberExpression", "start": 9218, "end": 9246, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 55 } }, "object": { "type": "MemberExpression", "start": 9218, "end": 9227, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 36 } }, "object": { "type": "ThisExpression", "start": 9218, "end": 9222, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 31 } } }, "property": { "type": "Identifier", "start": 9223, "end": 9227, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 36 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9228, "end": 9246, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 55 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 9247, "end": 9267, "loc": { "start": { "line": 271, "column": 56 }, "end": { "line": 271, "column": 76 }, "identifierName": "getShapeFromShortKey" }, "name": "getShapeFromShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9268, "end": 9271, "loc": { "start": { "line": 271, "column": 77 }, "end": { "line": 271, "column": 80 }, "identifierName": "key" }, "name": "key" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9283, "end": 9335, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9289, "end": 9334, "loc": { "start": { "line": 272, "column": 14 }, "end": { "line": 272, "column": 59 } }, "id": { "type": "Identifier", "start": 9289, "end": 9300, "loc": { "start": { "line": 272, "column": 14 }, "end": { "line": 272, "column": 25 }, "identifierName": "preRendered" }, "name": "preRendered" }, "init": { "type": "CallExpression", "start": 9303, "end": 9334, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 9303, "end": 9330, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 55 } }, "object": { "type": "Identifier", "start": 9303, "end": 9313, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 38 }, "identifierName": "definition" }, "name": "definition" }, "property": { "type": "Identifier", "start": 9314, "end": 9330, "loc": { "start": { "line": 272, "column": 39 }, "end": { "line": 272, "column": 55 }, "identifierName": "generateAsCanvas" }, "name": "generateAsCanvas" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 9331, "end": 9333, "loc": { "start": { "line": 272, "column": 56 }, "end": { "line": 272, "column": 58 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 9345, "end": 9396, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 59 } }, "argument": { "type": "AssignmentExpression", "start": 9353, "end": 9394, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9353, "end": 9380, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 43 } }, "object": { "type": "MemberExpression", "start": 9353, "end": 9375, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 38 } }, "object": { "type": "ThisExpression", "start": 9353, "end": 9357, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 20 } } }, "property": { "type": "Identifier", "start": 9358, "end": 9375, "loc": { "start": { "line": 273, "column": 21 }, "end": { "line": 273, "column": 38 }, "identifierName": "cachedKeyToCanvas" }, "name": "cachedKeyToCanvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9376, "end": 9379, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 42 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "right": { "type": "Identifier", "start": 9383, "end": 9394, "loc": { "start": { "line": 273, "column": 46 }, "end": { "line": 273, "column": 57 }, "identifierName": "preRendered" }, "name": "preRendered" }, "extra": { "parenthesized": true, "parenStart": 9352 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the canvas for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {HTMLCanvasElement}\r\n ", "start": 8798, "end": 8927, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 263, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Requests to save a marker at the current camera position. If worldPos is set,\r\n * uses that position instead.\r\n * @param {object} param0\r\n * @param {Vector=} param0.worldPos Override the world pos, otherwise it is the camera position\r\n * @param {Waypoint=} param0.waypoint Waypoint to be edited. If omitted, create new\r\n ", "start": 9411, "end": 9766, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 282, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9772, "end": 12021, "loc": { "start": { "line": 283, "column": 4 }, "end": { "line": 332, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9772, "end": 9789, "loc": { "start": { "line": 283, "column": 4 }, "end": { "line": 283, "column": 21 }, "identifierName": "requestSaveMarker" }, "name": "requestSaveMarker", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "ObjectPattern", "start": 9790, "end": 9826, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 58 } }, "properties": [ { "type": "ObjectProperty", "start": 9792, "end": 9807, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 39 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 9792, "end": 9800, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 32 }, "identifierName": "worldPos" }, "name": "worldPos" }, "value": { "type": "AssignmentPattern", "start": 9792, "end": 9807, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 39 } }, "left": { "type": "Identifier", "start": 9792, "end": 9800, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 32 }, "identifierName": "worldPos" }, "name": "worldPos" }, "right": { "type": "NullLiteral", "start": 9803, "end": 9807, "loc": { "start": { "line": 283, "column": 35 }, "end": { "line": 283, "column": 39 } } } }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 9809, "end": 9824, "loc": { "start": { "line": 283, "column": 41 }, "end": { "line": 283, "column": 56 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 9809, "end": 9817, "loc": { "start": { "line": 283, "column": 41 }, "end": { "line": 283, "column": 49 }, "identifierName": "waypoint" }, "name": "waypoint" }, "value": { "type": "AssignmentPattern", "start": 9809, "end": 9824, "loc": { "start": { "line": 283, "column": 41 }, "end": { "line": 283, "column": 56 } }, "left": { "type": "Identifier", "start": 9809, "end": 9817, "loc": { "start": { "line": 283, "column": 41 }, "end": { "line": 283, "column": 49 }, "identifierName": "waypoint" }, "name": "waypoint" }, "right": { "type": "NullLiteral", "start": 9820, "end": 9824, "loc": { "start": { "line": 283, "column": 52 }, "end": { "line": 283, "column": 56 } } } }, "extra": { "shorthand": true } } ] } ], "body": { "type": "BlockStatement", "start": 9828, "end": 12021, "loc": { "start": { "line": 283, "column": 60 }, "end": { "line": 332, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9885, "end": 10229, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 292, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9891, "end": 10228, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 292, "column": 10 } }, "id": { "type": "Identifier", "start": 9891, "end": 9906, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 285, "column": 29 }, "identifierName": "markerNameInput" }, "name": "markerNameInput", "leadingComments": null }, "init": { "type": "NewExpression", "start": 9909, "end": 10228, "loc": { "start": { "line": 285, "column": 32 }, "end": { "line": 292, "column": 10 } }, "callee": { "type": "Identifier", "start": 9913, "end": 9929, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 52 }, "identifierName": "FormElementInput" }, "name": "FormElementInput" }, "arguments": [ { "type": "ObjectExpression", "start": 9930, "end": 10227, "loc": { "start": { "line": 285, "column": 53 }, "end": { "line": 292, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 9945, "end": 9961, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 9945, "end": 9947, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 14 }, "identifierName": "id" }, "name": "id" }, "value": { "type": "StringLiteral", "start": 9949, "end": 9961, "loc": { "start": { "line": 286, "column": 16 }, "end": { "line": 286, "column": 28 } }, "extra": { "rawValue": "markerName", "raw": "\"markerName\"" }, "value": "markerName" } }, { "type": "ObjectProperty", "start": 9976, "end": 9987, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 9976, "end": 9981, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 17 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "NullLiteral", "start": 9983, "end": 9987, "loc": { "start": { "line": 287, "column": 19 }, "end": { "line": 287, "column": 23 } } } }, { "type": "ObjectProperty", "start": 10002, "end": 10017, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10002, "end": 10013, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 23 }, "identifierName": "placeholder" }, "name": "placeholder" }, "value": { "type": "StringLiteral", "start": 10015, "end": 10017, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 27 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } }, { "type": "ObjectProperty", "start": 10032, "end": 10076, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 56 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10032, "end": 10044, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 24 }, "identifierName": "defaultValue" }, "name": "defaultValue" }, "value": { "type": "ConditionalExpression", "start": 10046, "end": 10076, "loc": { "start": { "line": 289, "column": 26 }, "end": { "line": 289, "column": 56 } }, "test": { "type": "Identifier", "start": 10046, "end": 10054, "loc": { "start": { "line": 289, "column": 26 }, "end": { "line": 289, "column": 34 }, "identifierName": "waypoint" }, "name": "waypoint" }, "consequent": { "type": "MemberExpression", "start": 10057, "end": 10071, "loc": { "start": { "line": 289, "column": 37 }, "end": { "line": 289, "column": 51 } }, "object": { "type": "Identifier", "start": 10057, "end": 10065, "loc": { "start": { "line": 289, "column": 37 }, "end": { "line": 289, "column": 45 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 10066, "end": 10071, "loc": { "start": { "line": 289, "column": 46 }, "end": { "line": 289, "column": 51 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "alternate": { "type": "StringLiteral", "start": 10074, "end": 10076, "loc": { "start": { "line": 289, "column": 54 }, "end": { "line": 289, "column": 56 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } }, { "type": "ObjectProperty", "start": 10091, "end": 10215, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 291, "column": 105 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10091, "end": 10100, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 21 }, "identifierName": "validator" }, "name": "validator" }, "value": { "type": "ArrowFunctionExpression", "start": 10102, "end": 10215, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 291, "column": 105 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 10102, "end": 10105, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 26 }, "identifierName": "val" }, "name": "val" } ], "body": { "type": "LogicalExpression", "start": 10126, "end": 10215, "loc": { "start": { "line": 291, "column": 16 }, "end": { "line": 291, "column": 105 } }, "left": { "type": "BinaryExpression", "start": 10126, "end": 10140, "loc": { "start": { "line": 291, "column": 16 }, "end": { "line": 291, "column": 30 } }, "left": { "type": "MemberExpression", "start": 10126, "end": 10136, "loc": { "start": { "line": 291, "column": 16 }, "end": { "line": 291, "column": 26 } }, "object": { "type": "Identifier", "start": 10126, "end": 10129, "loc": { "start": { "line": 291, "column": 16 }, "end": { "line": 291, "column": 19 }, "identifierName": "val" }, "name": "val" }, "property": { "type": "Identifier", "start": 10130, "end": 10136, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 26 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 10139, "end": 10140, "loc": { "start": { "line": 291, "column": 29 }, "end": { "line": 291, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 10145, "end": 10214, "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 291, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 10145, "end": 10174, "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 291, "column": 64 } }, "left": { "type": "MemberExpression", "start": 10145, "end": 10155, "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 291, "column": 45 } }, "object": { "type": "Identifier", "start": 10145, "end": 10148, "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 291, "column": 38 }, "identifierName": "val" }, "name": "val" }, "property": { "type": "Identifier", "start": 10149, "end": 10155, "loc": { "start": { "line": 291, "column": 39 }, "end": { "line": 291, "column": 45 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "<", "right": { "type": "Identifier", "start": 10158, "end": 10174, "loc": { "start": { "line": 291, "column": 48 }, "end": { "line": 291, "column": 64 }, "identifierName": "MAX_LABEL_LENGTH" }, "name": "MAX_LABEL_LENGTH" } }, "operator": "||", "right": { "type": "CallExpression", "start": 10178, "end": 10214, "loc": { "start": { "line": 291, "column": 68 }, "end": { "line": 291, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 10178, "end": 10209, "loc": { "start": { "line": 291, "column": 68 }, "end": { "line": 291, "column": 99 } }, "object": { "type": "Identifier", "start": 10178, "end": 10193, "loc": { "start": { "line": 291, "column": 68 }, "end": { "line": 291, "column": 83 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "property": { "type": "Identifier", "start": 10194, "end": 10209, "loc": { "start": { "line": 291, "column": 84 }, "end": { "line": 291, "column": 99 }, "identifierName": "isValidShortKey" }, "name": "isValidShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10210, "end": 10213, "loc": { "start": { "line": 291, "column": 100 }, "end": { "line": 291, "column": 103 }, "identifierName": "val" }, "name": "val" } ] }, "extra": { "parenthesized": true, "parenStart": 10144 } } } } } ] } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Construct dialog with input field", "start": 9839, "end": 9875, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 44 } } } ] }, { "type": "VariableDeclaration", "start": 10239, "end": 10660, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 299, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10245, "end": 10659, "loc": { "start": { "line": 293, "column": 14 }, "end": { "line": 299, "column": 10 } }, "id": { "type": "Identifier", "start": 10245, "end": 10251, "loc": { "start": { "line": 293, "column": 14 }, "end": { "line": 293, "column": 20 }, "identifierName": "dialog" }, "name": "dialog" }, "init": { "type": "NewExpression", "start": 10254, "end": 10659, "loc": { "start": { "line": 293, "column": 23 }, "end": { "line": 299, "column": 10 } }, "callee": { "type": "Identifier", "start": 10258, "end": 10272, "loc": { "start": { "line": 293, "column": 27 }, "end": { "line": 293, "column": 41 }, "identifierName": "DialogWithForm" }, "name": "DialogWithForm" }, "arguments": [ { "type": "ObjectExpression", "start": 10273, "end": 10658, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 299, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 10288, "end": 10306, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10288, "end": 10291, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 15 }, "identifierName": "app" }, "name": "app" }, "value": { "type": "MemberExpression", "start": 10293, "end": 10306, "loc": { "start": { "line": 294, "column": 17 }, "end": { "line": 294, "column": 30 } }, "object": { "type": "MemberExpression", "start": 10293, "end": 10302, "loc": { "start": { "line": 294, "column": 17 }, "end": { "line": 294, "column": 26 } }, "object": { "type": "ThisExpression", "start": 10293, "end": 10297, "loc": { "start": { "line": 294, "column": 17 }, "end": { "line": 294, "column": 21 } } }, "property": { "type": "Identifier", "start": 10298, "end": 10302, "loc": { "start": { "line": 294, "column": 22 }, "end": { "line": 294, "column": 26 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10303, "end": 10306, "loc": { "start": { "line": 294, "column": 27 }, "end": { "line": 294, "column": 30 }, "identifierName": "app" }, "name": "app" }, "computed": false } }, { "type": "ObjectProperty", "start": 10321, "end": 10402, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 93 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10321, "end": 10326, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 17 }, "identifierName": "title" }, "name": "title" }, "value": { "type": "ConditionalExpression", "start": 10328, "end": 10402, "loc": { "start": { "line": 295, "column": 19 }, "end": { "line": 295, "column": 93 } }, "test": { "type": "Identifier", "start": 10328, "end": 10336, "loc": { "start": { "line": 295, "column": 19 }, "end": { "line": 295, "column": 27 }, "identifierName": "waypoint" }, "name": "waypoint" }, "consequent": { "type": "MemberExpression", "start": 10339, "end": 10371, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 62 } }, "object": { "type": "MemberExpression", "start": 10339, "end": 10361, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 52 } }, "object": { "type": "MemberExpression", "start": 10339, "end": 10348, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 39 } }, "object": { "type": "Identifier", "start": 10339, "end": 10340, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 31 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 10341, "end": 10348, "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 39 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 10349, "end": 10361, "loc": { "start": { "line": 295, "column": 40 }, "end": { "line": 295, "column": 52 }, "identifierName": "createMarker" }, "name": "createMarker" }, "computed": false }, "property": { "type": "Identifier", "start": 10362, "end": 10371, "loc": { "start": { "line": 295, "column": 53 }, "end": { "line": 295, "column": 62 }, "identifierName": "titleEdit" }, "name": "titleEdit" }, "computed": false }, "alternate": { "type": "MemberExpression", "start": 10374, "end": 10402, "loc": { "start": { "line": 295, "column": 65 }, "end": { "line": 295, "column": 93 } }, "object": { "type": "MemberExpression", "start": 10374, "end": 10396, "loc": { "start": { "line": 295, "column": 65 }, "end": { "line": 295, "column": 87 } }, "object": { "type": "MemberExpression", "start": 10374, "end": 10383, "loc": { "start": { "line": 295, "column": 65 }, "end": { "line": 295, "column": 74 } }, "object": { "type": "Identifier", "start": 10374, "end": 10375, "loc": { "start": { "line": 295, "column": 65 }, "end": { "line": 295, "column": 66 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 10376, "end": 10383, "loc": { "start": { "line": 295, "column": 67 }, "end": { "line": 295, "column": 74 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 10384, "end": 10396, "loc": { "start": { "line": 295, "column": 75 }, "end": { "line": 295, "column": 87 }, "identifierName": "createMarker" }, "name": "createMarker" }, "computed": false }, "property": { "type": "Identifier", "start": 10397, "end": 10402, "loc": { "start": { "line": 295, "column": 88 }, "end": { "line": 295, "column": 93 }, "identifierName": "title" }, "name": "title" }, "computed": false } } }, { "type": "ObjectProperty", "start": 10417, "end": 10506, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 101 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10417, "end": 10421, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 16 }, "identifierName": "desc" }, "name": "desc" }, "value": { "type": "CallExpression", "start": 10423, "end": 10506, "loc": { "start": { "line": 296, "column": 18 }, "end": { "line": 296, "column": 101 } }, "callee": { "type": "Identifier", "start": 10423, "end": 10448, "loc": { "start": { "line": 296, "column": 18 }, "end": { "line": 296, "column": 43 }, "identifierName": "fillInLinkIntoTranslation" }, "name": "fillInLinkIntoTranslation" }, "arguments": [ { "type": "MemberExpression", "start": 10449, "end": 10476, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 71 } }, "object": { "type": "MemberExpression", "start": 10449, "end": 10471, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 66 } }, "object": { "type": "MemberExpression", "start": 10449, "end": 10458, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 53 } }, "object": { "type": "Identifier", "start": 10449, "end": 10450, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 45 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 10451, "end": 10458, "loc": { "start": { "line": 296, "column": 46 }, "end": { "line": 296, "column": 53 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 10459, "end": 10471, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 66 }, "identifierName": "createMarker" }, "name": "createMarker" }, "computed": false }, "property": { "type": "Identifier", "start": 10472, "end": 10476, "loc": { "start": { "line": 296, "column": 67 }, "end": { "line": 296, "column": 71 }, "identifierName": "desc" }, "name": "desc" }, "computed": false }, { "type": "MemberExpression", "start": 10478, "end": 10505, "loc": { "start": { "line": 296, "column": 73 }, "end": { "line": 296, "column": 100 } }, "object": { "type": "Identifier", "start": 10478, "end": 10493, "loc": { "start": { "line": 296, "column": 73 }, "end": { "line": 296, "column": 88 }, "identifierName": "THIRDPARTY_URLS" }, "name": "THIRDPARTY_URLS" }, "property": { "type": "Identifier", "start": 10494, "end": 10505, "loc": { "start": { "line": 296, "column": 89 }, "end": { "line": 296, "column": 100 }, "identifierName": "shapeViewer" }, "name": "shapeViewer" }, "computed": false } ] } }, { "type": "ObjectProperty", "start": 10521, "end": 10552, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 43 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10521, "end": 10533, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 24 }, "identifierName": "formElements" }, "name": "formElements" }, "value": { "type": "ArrayExpression", "start": 10535, "end": 10552, "loc": { "start": { "line": 297, "column": 26 }, "end": { "line": 297, "column": 43 } }, "elements": [ { "type": "Identifier", "start": 10536, "end": 10551, "loc": { "start": { "line": 297, "column": 27 }, "end": { "line": 297, "column": 42 }, "identifierName": "markerNameInput" }, "name": "markerNameInput" } ] } }, { "type": "ObjectProperty", "start": 10567, "end": 10646, "loc": { "start": { "line": 298, "column": 12 }, "end": { "line": 298, "column": 91 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 10567, "end": 10574, "loc": { "start": { "line": 298, "column": 12 }, "end": { "line": 298, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "ConditionalExpression", "start": 10576, "end": 10646, "loc": { "start": { "line": 298, "column": 21 }, "end": { "line": 298, "column": 91 } }, "test": { "type": "Identifier", "start": 10576, "end": 10584, "loc": { "start": { "line": 298, "column": 21 }, "end": { "line": 298, "column": 29 }, "identifierName": "waypoint" }, "name": "waypoint" }, "consequent": { "type": "ArrayExpression", "start": 10587, "end": 10622, "loc": { "start": { "line": 298, "column": 32 }, "end": { "line": 298, "column": 67 } }, "elements": [ { "type": "StringLiteral", "start": 10588, "end": 10600, "loc": { "start": { "line": 298, "column": 33 }, "end": { "line": 298, "column": 45 } }, "extra": { "rawValue": "delete:bad", "raw": "\"delete:bad\"" }, "value": "delete:bad" }, { "type": "StringLiteral", "start": 10602, "end": 10610, "loc": { "start": { "line": 298, "column": 47 }, "end": { "line": 298, "column": 55 } }, "extra": { "rawValue": "cancel", "raw": "\"cancel\"" }, "value": "cancel" }, { "type": "StringLiteral", "start": 10612, "end": 10621, "loc": { "start": { "line": 298, "column": 57 }, "end": { "line": 298, "column": 66 } }, "extra": { "rawValue": "ok:good", "raw": "\"ok:good\"" }, "value": "ok:good" } ] }, "alternate": { "type": "ArrayExpression", "start": 10625, "end": 10646, "loc": { "start": { "line": 298, "column": 70 }, "end": { "line": 298, "column": 91 } }, "elements": [ { "type": "StringLiteral", "start": 10626, "end": 10634, "loc": { "start": { "line": 298, "column": 71 }, "end": { "line": 298, "column": 79 } }, "extra": { "rawValue": "cancel", "raw": "\"cancel\"" }, "value": "cancel" }, { "type": "StringLiteral", "start": 10636, "end": 10645, "loc": { "start": { "line": 298, "column": 81 }, "end": { "line": 298, "column": 90 } }, "extra": { "rawValue": "ok:good", "raw": "\"ok:good\"" }, "value": "ok:good" } ] } } } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 10670, "end": 10725, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 63 } }, "expression": { "type": "CallExpression", "start": 10670, "end": 10724, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 10670, "end": 10716, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 54 } }, "object": { "type": "MemberExpression", "start": 10670, "end": 10697, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 35 } }, "object": { "type": "MemberExpression", "start": 10670, "end": 10689, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 27 } }, "object": { "type": "MemberExpression", "start": 10670, "end": 10683, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 21 } }, "object": { "type": "MemberExpression", "start": 10670, "end": 10679, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10670, "end": 10674, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 12 } } }, "property": { "type": "Identifier", "start": 10675, "end": 10679, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10680, "end": 10683, "loc": { "start": { "line": 300, "column": 18 }, "end": { "line": 300, "column": 21 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 10684, "end": 10689, "loc": { "start": { "line": 300, "column": 22 }, "end": { "line": 300, "column": 27 }, "identifierName": "parts" }, "name": "parts" }, "computed": false }, "property": { "type": "Identifier", "start": 10690, "end": 10697, "loc": { "start": { "line": 300, "column": 28 }, "end": { "line": 300, "column": 35 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 10698, "end": 10716, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 54 }, "identifierName": "internalShowDialog" }, "name": "internalShowDialog" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10717, "end": 10723, "loc": { "start": { "line": 300, "column": 55 }, "end": { "line": 300, "column": 61 }, "identifierName": "dialog" }, "name": "dialog" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Edit marker", "start": 10737, "end": 10751, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 22 } } } ] }, { "type": "IfStatement", "start": 10761, "end": 12014, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 331, "column": 9 } }, "test": { "type": "Identifier", "start": 10765, "end": 10773, "loc": { "start": { "line": 303, "column": 12 }, "end": { "line": 303, "column": 20 }, "identifierName": "waypoint" }, "name": "waypoint", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 10775, "end": 11145, "loc": { "start": { "line": 303, "column": 22 }, "end": { "line": 312, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10790, "end": 10967, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 307, "column": 15 } }, "expression": { "type": "CallExpression", "start": 10790, "end": 10966, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 307, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 10790, "end": 10817, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 39 } }, "object": { "type": "MemberExpression", "start": 10790, "end": 10813, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 35 } }, "object": { "type": "MemberExpression", "start": 10790, "end": 10810, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 32 } }, "object": { "type": "Identifier", "start": 10790, "end": 10796, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 18 }, "identifierName": "dialog" }, "name": "dialog" }, "property": { "type": "Identifier", "start": 10797, "end": 10810, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 304, "column": 32 }, "identifierName": "buttonSignals" }, "name": "buttonSignals" }, "computed": false }, "property": { "type": "Identifier", "start": 10811, "end": 10813, "loc": { "start": { "line": 304, "column": 33 }, "end": { "line": 304, "column": 35 }, "identifierName": "ok" }, "name": "ok" }, "computed": false }, "property": { "type": "Identifier", "start": 10814, "end": 10817, "loc": { "start": { "line": 304, "column": 36 }, "end": { "line": 304, "column": 39 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10818, "end": 10965, "loc": { "start": { "line": 304, "column": 40 }, "end": { "line": 307, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10824, "end": 10965, "loc": { "start": { "line": 304, "column": 46 }, "end": { "line": 307, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 10892, "end": 10950, "loc": { "start": { "line": 306, "column": 16 }, "end": { "line": 306, "column": 74 } }, "expression": { "type": "CallExpression", "start": 10892, "end": 10949, "loc": { "start": { "line": 306, "column": 16 }, "end": { "line": 306, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 10892, "end": 10911, "loc": { "start": { "line": 306, "column": 16 }, "end": { "line": 306, "column": 35 } }, "object": { "type": "ThisExpression", "start": 10892, "end": 10896, "loc": { "start": { "line": 306, "column": 16 }, "end": { "line": 306, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10897, "end": 10911, "loc": { "start": { "line": 306, "column": 21 }, "end": { "line": 306, "column": 35 }, "identifierName": "renameWaypoint" }, "name": "renameWaypoint" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 10912, "end": 10920, "loc": { "start": { "line": 306, "column": 36 }, "end": { "line": 306, "column": 44 }, "identifierName": "waypoint" }, "name": "waypoint" }, { "type": "CallExpression", "start": 10922, "end": 10948, "loc": { "start": { "line": 306, "column": 46 }, "end": { "line": 306, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 10922, "end": 10946, "loc": { "start": { "line": 306, "column": 46 }, "end": { "line": 306, "column": 70 } }, "object": { "type": "Identifier", "start": 10922, "end": 10937, "loc": { "start": { "line": 306, "column": 46 }, "end": { "line": 306, "column": 61 }, "identifierName": "markerNameInput" }, "name": "markerNameInput" }, "property": { "type": "Identifier", "start": 10938, "end": 10946, "loc": { "start": { "line": 306, "column": 62 }, "end": { "line": 306, "column": 70 }, "identifierName": "getValue" }, "name": "getValue" }, "computed": false }, "arguments": [] } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Actually rename the waypoint", "start": 10843, "end": 10874, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 47 } } } ] } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 10981, "end": 11134, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 311, "column": 15 } }, "expression": { "type": "CallExpression", "start": 10981, "end": 11133, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 311, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 10981, "end": 11012, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 43 } }, "object": { "type": "MemberExpression", "start": 10981, "end": 11008, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 39 } }, "object": { "type": "MemberExpression", "start": 10981, "end": 11001, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 32 } }, "object": { "type": "Identifier", "start": 10981, "end": 10987, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 18 }, "identifierName": "dialog" }, "name": "dialog" }, "property": { "type": "Identifier", "start": 10988, "end": 11001, "loc": { "start": { "line": 308, "column": 19 }, "end": { "line": 308, "column": 32 }, "identifierName": "buttonSignals" }, "name": "buttonSignals" }, "computed": false }, "property": { "type": "Identifier", "start": 11002, "end": 11008, "loc": { "start": { "line": 308, "column": 33 }, "end": { "line": 308, "column": 39 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "property": { "type": "Identifier", "start": 11009, "end": 11012, "loc": { "start": { "line": 308, "column": 40 }, "end": { "line": 308, "column": 43 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11013, "end": 11132, "loc": { "start": { "line": 308, "column": 44 }, "end": { "line": 311, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11019, "end": 11132, "loc": { "start": { "line": 308, "column": 50 }, "end": { "line": 311, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11087, "end": 11117, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11087, "end": 11116, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 11087, "end": 11106, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 35 } }, "object": { "type": "ThisExpression", "start": 11087, "end": 11091, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11092, "end": 11106, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 310, "column": 35 }, "identifierName": "deleteWaypoint" }, "name": "deleteWaypoint" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 11107, "end": 11115, "loc": { "start": { "line": 310, "column": 36 }, "end": { "line": 310, "column": 44 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Actually delete the waypoint", "start": 11038, "end": 11069, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 47 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 11151, "end": 12014, "loc": { "start": { "line": 312, "column": 15 }, "end": { "line": 331, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 11217, "end": 11268, "loc": { "start": { "line": 314, "column": 12 }, "end": { "line": 314, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11223, "end": 11267, "loc": { "start": { "line": 314, "column": 18 }, "end": { "line": 314, "column": 62 } }, "id": { "type": "Identifier", "start": 11223, "end": 11229, "loc": { "start": { "line": 314, "column": 18 }, "end": { "line": 314, "column": 24 }, "identifierName": "center" }, "name": "center", "leadingComments": null }, "init": { "type": "LogicalExpression", "start": 11232, "end": 11267, "loc": { "start": { "line": 314, "column": 27 }, "end": { "line": 314, "column": 62 } }, "left": { "type": "Identifier", "start": 11232, "end": 11240, "loc": { "start": { "line": 314, "column": 27 }, "end": { "line": 314, "column": 35 }, "identifierName": "worldPos" }, "name": "worldPos" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11244, "end": 11267, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 62 } }, "object": { "type": "MemberExpression", "start": 11244, "end": 11260, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 55 } }, "object": { "type": "MemberExpression", "start": 11244, "end": 11253, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 48 } }, "object": { "type": "ThisExpression", "start": 11244, "end": 11248, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 43 } } }, "property": { "type": "Identifier", "start": 11249, "end": 11253, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 314, "column": 48 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 11254, "end": 11260, "loc": { "start": { "line": 314, "column": 49 }, "end": { "line": 314, "column": 55 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 11261, "end": 11267, "loc": { "start": { "line": 314, "column": 56 }, "end": { "line": 314, "column": 62 }, "identifierName": "center" }, "name": "center" }, "computed": false } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Compute where to create the marker", "start": 11166, "end": 11203, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 49 } } } ] }, { "type": "ExpressionStatement", "start": 11284, "end": 12003, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 330, "column": 15 } }, "expression": { "type": "CallExpression", "start": 11284, "end": 12002, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 330, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 11284, "end": 11311, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11284, "end": 11307, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 35 } }, "object": { "type": "MemberExpression", "start": 11284, "end": 11304, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 32 } }, "object": { "type": "Identifier", "start": 11284, "end": 11290, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 18 }, "identifierName": "dialog" }, "name": "dialog" }, "property": { "type": "Identifier", "start": 11291, "end": 11304, "loc": { "start": { "line": 316, "column": 19 }, "end": { "line": 316, "column": 32 }, "identifierName": "buttonSignals" }, "name": "buttonSignals" }, "computed": false }, "property": { "type": "Identifier", "start": 11305, "end": 11307, "loc": { "start": { "line": 316, "column": 33 }, "end": { "line": 316, "column": 35 }, "identifierName": "ok" }, "name": "ok" }, "computed": false }, "property": { "type": "Identifier", "start": 11308, "end": 11311, "loc": { "start": { "line": 316, "column": 36 }, "end": { "line": 316, "column": 39 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11312, "end": 12001, "loc": { "start": { "line": 316, "column": 40 }, "end": { "line": 330, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11318, "end": 12001, "loc": { "start": { "line": 316, "column": 46 }, "end": { "line": 330, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 11549, "end": 11864, "loc": { "start": { "line": 320, "column": 16 }, "end": { "line": 326, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 11553, "end": 11627, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 94 } }, "left": { "type": "MemberExpression", "start": 11553, "end": 11574, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 41 } }, "object": { "type": "MemberExpression", "start": 11553, "end": 11567, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11553, "end": 11557, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11558, "end": 11567, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 34 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11568, "end": 11574, "loc": { "start": { "line": 320, "column": 35 }, "end": { "line": 320, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "CallExpression", "start": 11577, "end": 11627, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 11577, "end": 11625, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 92 } }, "object": { "type": "MemberExpression", "start": 11577, "end": 11605, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 72 } }, "object": { "type": "MemberExpression", "start": 11577, "end": 11590, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 57 } }, "object": { "type": "MemberExpression", "start": 11577, "end": 11586, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 53 } }, "object": { "type": "ThisExpression", "start": 11577, "end": 11581, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 48 } } }, "property": { "type": "Identifier", "start": 11582, "end": 11586, "loc": { "start": { "line": 320, "column": 49 }, "end": { "line": 320, "column": 53 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 11587, "end": 11590, "loc": { "start": { "line": 320, "column": 54 }, "end": { "line": 320, "column": 57 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 11591, "end": 11605, "loc": { "start": { "line": 320, "column": 58 }, "end": { "line": 320, "column": 72 }, "identifierName": "restrictionMgr" }, "name": "restrictionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 11606, "end": 11625, "loc": { "start": { "line": 320, "column": 73 }, "end": { "line": 320, "column": 92 }, "identifierName": "getMaximumWaypoints" }, "name": "getMaximumWaypoints" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11629, "end": 11864, "loc": { "start": { "line": 320, "column": 96 }, "end": { "line": 326, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 11652, "end": 11816, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 324, "column": 22 } }, "expression": { "type": "CallExpression", "start": 11652, "end": 11815, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 324, "column": 21 } }, "callee": { "type": "MemberExpression", "start": 11652, "end": 11706, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 74 } }, "object": { "type": "MemberExpression", "start": 11652, "end": 11679, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 47 } }, "object": { "type": "MemberExpression", "start": 11652, "end": 11671, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11652, "end": 11665, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 33 } }, "object": { "type": "MemberExpression", "start": 11652, "end": 11661, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11652, "end": 11656, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 24 } } }, "property": { "type": "Identifier", "start": 11657, "end": 11661, "loc": { "start": { "line": 321, "column": 25 }, "end": { "line": 321, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 11662, "end": 11665, "loc": { "start": { "line": 321, "column": 30 }, "end": { "line": 321, "column": 33 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 11666, "end": 11671, "loc": { "start": { "line": 321, "column": 34 }, "end": { "line": 321, "column": 39 }, "identifierName": "parts" }, "name": "parts" }, "computed": false }, "property": { "type": "Identifier", "start": 11672, "end": 11679, "loc": { "start": { "line": 321, "column": 40 }, "end": { "line": 321, "column": 47 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 11680, "end": 11706, "loc": { "start": { "line": 321, "column": 48 }, "end": { "line": 321, "column": 74 }, "identifierName": "showFeatureRestrictionInfo" }, "name": "showFeatureRestrictionInfo" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11733, "end": 11735, "loc": { "start": { "line": 322, "column": 24 }, "end": { "line": 322, "column": 26 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" }, { "type": "MemberExpression", "start": 11762, "end": 11792, "loc": { "start": { "line": 323, "column": 24 }, "end": { "line": 323, "column": 54 } }, "object": { "type": "MemberExpression", "start": 11762, "end": 11787, "loc": { "start": { "line": 323, "column": 24 }, "end": { "line": 323, "column": 49 } }, "object": { "type": "MemberExpression", "start": 11762, "end": 11771, "loc": { "start": { "line": 323, "column": 24 }, "end": { "line": 323, "column": 33 } }, "object": { "type": "Identifier", "start": 11762, "end": 11763, "loc": { "start": { "line": 323, "column": 24 }, "end": { "line": 323, "column": 25 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 11764, "end": 11771, "loc": { "start": { "line": 323, "column": 26 }, "end": { "line": 323, "column": 33 }, "identifierName": "dialogs" }, "name": "dialogs" }, "computed": false }, "property": { "type": "Identifier", "start": 11772, "end": 11787, "loc": { "start": { "line": 323, "column": 34 }, "end": { "line": 323, "column": 49 }, "identifierName": "markerDemoLimit" }, "name": "markerDemoLimit" }, "computed": false }, "property": { "type": "Identifier", "start": 11788, "end": 11792, "loc": { "start": { "line": 323, "column": 50 }, "end": { "line": 323, "column": 54 }, "identifierName": "desc" }, "name": "desc" }, "computed": false } ] } }, { "type": "ReturnStatement", "start": 11838, "end": 11845, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 27 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Show info that you can have only N markers in the demo,", "start": 11337, "end": 11395, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 74 } } }, { "type": "CommentLine", "value": " actually show this *after* entering the name so you want the", "start": 11413, "end": 11476, "loc": { "start": { "line": 318, "column": 16 }, "end": { "line": 318, "column": 79 } } }, { "type": "CommentLine", "value": " standalone even more (I'm evil :P)", "start": 11494, "end": 11531, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 53 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Actually create the waypoint", "start": 11884, "end": 11915, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 47 } } } ] }, { "type": "ExpressionStatement", "start": 11933, "end": 11986, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 69 } }, "expression": { "type": "CallExpression", "start": 11933, "end": 11985, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 11933, "end": 11949, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 32 } }, "object": { "type": "ThisExpression", "start": 11933, "end": 11937, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11938, "end": 11949, "loc": { "start": { "line": 329, "column": 21 }, "end": { "line": 329, "column": 32 }, "identifierName": "addWaypoint" }, "name": "addWaypoint" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 11950, "end": 11976, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 11950, "end": 11974, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 57 } }, "object": { "type": "Identifier", "start": 11950, "end": 11965, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 48 }, "identifierName": "markerNameInput" }, "name": "markerNameInput" }, "property": { "type": "Identifier", "start": 11966, "end": 11974, "loc": { "start": { "line": 329, "column": 49 }, "end": { "line": 329, "column": 57 }, "identifierName": "getValue" }, "name": "getValue" }, "computed": false }, "arguments": [] }, { "type": "Identifier", "start": 11978, "end": 11984, "loc": { "start": { "line": 329, "column": 61 }, "end": { "line": 329, "column": 67 }, "identifierName": "center" }, "name": "center" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Actually create the waypoint", "start": 11884, "end": 11915, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 47 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Edit marker", "start": 10737, "end": 10751, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 22 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Requests to save a marker at the current camera position. If worldPos is set,\r\n * uses that position instead.\r\n * @param {object} param0\r\n * @param {Vector=} param0.worldPos Override the world pos, otherwise it is the camera position\r\n * @param {Waypoint=} param0.waypoint Waypoint to be edited. If omitted, create new\r\n ", "start": 9411, "end": 9766, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 282, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a new waypoint at the given location with the given label\r\n * @param {string} label\r\n * @param {Vector} position\r\n ", "start": 12029, "end": 12175, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 338, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12181, "end": 12769, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 357, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12181, "end": 12192, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 15 }, "identifierName": "addWaypoint" }, "name": "addWaypoint", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12193, "end": 12198, "loc": { "start": { "line": 339, "column": 16 }, "end": { "line": 339, "column": 21 }, "identifierName": "label" }, "name": "label" }, { "type": "Identifier", "start": 12200, "end": 12208, "loc": { "start": { "line": 339, "column": 23 }, "end": { "line": 339, "column": 31 }, "identifierName": "position" }, "name": "position" } ], "body": { "type": "BlockStatement", "start": 12210, "end": 12769, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 357, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12221, "end": 12426, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 345, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12221, "end": 12425, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 345, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12221, "end": 12240, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 27 } }, "object": { "type": "MemberExpression", "start": 12221, "end": 12235, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 22 } }, "object": { "type": "ThisExpression", "start": 12221, "end": 12225, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 12 } } }, "property": { "type": "Identifier", "start": 12226, "end": 12235, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 22 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 12236, "end": 12240, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 27 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 12241, "end": 12424, "loc": { "start": { "line": 340, "column": 28 }, "end": { "line": 345, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 12256, "end": 12261, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 17 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 12256, "end": 12261, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 17 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "Identifier", "start": 12256, "end": 12261, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 17 }, "identifierName": "label" }, "name": "label" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 12276, "end": 12316, "loc": { "start": { "line": 342, "column": 12 }, "end": { "line": 342, "column": 52 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12276, "end": 12282, "loc": { "start": { "line": 342, "column": 12 }, "end": { "line": 342, "column": 18 }, "identifierName": "center" }, "name": "center" }, "value": { "type": "ObjectExpression", "start": 12284, "end": 12316, "loc": { "start": { "line": 342, "column": 20 }, "end": { "line": 342, "column": 52 } }, "properties": [ { "type": "ObjectProperty", "start": 12286, "end": 12299, "loc": { "start": { "line": 342, "column": 22 }, "end": { "line": 342, "column": 35 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12286, "end": 12287, "loc": { "start": { "line": 342, "column": 22 }, "end": { "line": 342, "column": 23 }, "identifierName": "x" }, "name": "x" }, "value": { "type": "MemberExpression", "start": 12289, "end": 12299, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 35 } }, "object": { "type": "Identifier", "start": 12289, "end": 12297, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 33 }, "identifierName": "position" }, "name": "position" }, "property": { "type": "Identifier", "start": 12298, "end": 12299, "loc": { "start": { "line": 342, "column": 34 }, "end": { "line": 342, "column": 35 }, "identifierName": "x" }, "name": "x" }, "computed": false } }, { "type": "ObjectProperty", "start": 12301, "end": 12314, "loc": { "start": { "line": 342, "column": 37 }, "end": { "line": 342, "column": 50 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12301, "end": 12302, "loc": { "start": { "line": 342, "column": 37 }, "end": { "line": 342, "column": 38 }, "identifierName": "y" }, "name": "y" }, "value": { "type": "MemberExpression", "start": 12304, "end": 12314, "loc": { "start": { "line": 342, "column": 40 }, "end": { "line": 342, "column": 50 } }, "object": { "type": "Identifier", "start": 12304, "end": 12312, "loc": { "start": { "line": 342, "column": 40 }, "end": { "line": 342, "column": 48 }, "identifierName": "position" }, "name": "position" }, "property": { "type": "Identifier", "start": 12313, "end": 12314, "loc": { "start": { "line": 342, "column": 49 }, "end": { "line": 342, "column": 50 }, "identifierName": "y" }, "name": "y" }, "computed": false } } ] } }, { "type": "ObjectProperty", "start": 12331, "end": 12368, "loc": { "start": { "line": 343, "column": 12 }, "end": { "line": 343, "column": 49 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12331, "end": 12340, "loc": { "start": { "line": 343, "column": 12 }, "end": { "line": 343, "column": 21 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "value": { "type": "MemberExpression", "start": 12342, "end": 12368, "loc": { "start": { "line": 343, "column": 23 }, "end": { "line": 343, "column": 49 } }, "object": { "type": "MemberExpression", "start": 12342, "end": 12358, "loc": { "start": { "line": 343, "column": 23 }, "end": { "line": 343, "column": 39 } }, "object": { "type": "MemberExpression", "start": 12342, "end": 12351, "loc": { "start": { "line": 343, "column": 23 }, "end": { "line": 343, "column": 32 } }, "object": { "type": "ThisExpression", "start": 12342, "end": 12346, "loc": { "start": { "line": 343, "column": 23 }, "end": { "line": 343, "column": 27 } } }, "property": { "type": "Identifier", "start": 12347, "end": 12351, "loc": { "start": { "line": 343, "column": 28 }, "end": { "line": 343, "column": 32 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12352, "end": 12358, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 39 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 12359, "end": 12368, "loc": { "start": { "line": 343, "column": 40 }, "end": { "line": 343, "column": 49 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } }, { "type": "ObjectProperty", "start": 12383, "end": 12412, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 41 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 12383, "end": 12388, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 17 }, "identifierName": "layer" }, "name": "layer" }, "value": { "type": "MemberExpression", "start": 12390, "end": 12412, "loc": { "start": { "line": 344, "column": 19 }, "end": { "line": 344, "column": 41 } }, "object": { "type": "MemberExpression", "start": 12390, "end": 12399, "loc": { "start": { "line": 344, "column": 19 }, "end": { "line": 344, "column": 28 } }, "object": { "type": "ThisExpression", "start": 12390, "end": 12394, "loc": { "start": { "line": 344, "column": 19 }, "end": { "line": 344, "column": 23 } } }, "property": { "type": "Identifier", "start": 12395, "end": 12399, "loc": { "start": { "line": 344, "column": 24 }, "end": { "line": 344, "column": 28 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12400, "end": 12412, "loc": { "start": { "line": 344, "column": 29 }, "end": { "line": 344, "column": 41 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false } } ] } ] } }, { "type": "ExpressionStatement", "start": 12438, "end": 12459, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 29 } }, "expression": { "type": "CallExpression", "start": 12438, "end": 12458, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 12438, "end": 12456, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 26 } }, "object": { "type": "ThisExpression", "start": 12438, "end": 12442, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 12 } } }, "property": { "type": "Identifier", "start": 12443, "end": 12456, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 26 }, "identifierName": "sortWaypoints" }, "name": "sortWaypoints" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Show notification about creation", "start": 12471, "end": 12506, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 43 } } } ] }, { "type": "ExpressionStatement", "start": 12516, "end": 12675, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 353, "column": 10 } }, "expression": { "type": "CallExpression", "start": 12516, "end": 12674, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 353, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 12516, "end": 12559, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 51 } }, "object": { "type": "MemberExpression", "start": 12516, "end": 12550, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 42 } }, "object": { "type": "MemberExpression", "start": 12516, "end": 12537, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 29 } }, "object": { "type": "MemberExpression", "start": 12516, "end": 12529, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 21 } }, "object": { "type": "MemberExpression", "start": 12516, "end": 12525, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12516, "end": 12520, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12521, "end": 12525, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12526, "end": 12529, "loc": { "start": { "line": 350, "column": 18 }, "end": { "line": 350, "column": 21 }, "identifierName": "hud" }, "name": "hud" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12530, "end": 12537, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 29 }, "identifierName": "signals" }, "name": "signals" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12538, "end": 12550, "loc": { "start": { "line": 350, "column": 30 }, "end": { "line": 350, "column": 42 }, "identifierName": "notification" }, "name": "notification" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12551, "end": 12559, "loc": { "start": { "line": 350, "column": 43 }, "end": { "line": 350, "column": 51 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 12574, "end": 12620, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 58 } }, "object": { "type": "MemberExpression", "start": 12574, "end": 12592, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12574, "end": 12582, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 20 } }, "object": { "type": "Identifier", "start": 12574, "end": 12575, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 13 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 12576, "end": 12582, "loc": { "start": { "line": 351, "column": 14 }, "end": { "line": 351, "column": 20 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 12583, "end": 12592, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 30 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 12593, "end": 12620, "loc": { "start": { "line": 351, "column": 31 }, "end": { "line": 351, "column": 58 }, "identifierName": "creationSuccessNotification" }, "name": "creationSuccessNotification" }, "computed": false }, { "type": "MemberExpression", "start": 12635, "end": 12663, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 40 } }, "object": { "type": "Identifier", "start": 12635, "end": 12655, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 32 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" }, "property": { "type": "Identifier", "start": 12656, "end": 12663, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 40 }, "identifierName": "success" }, "name": "success" }, "computed": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Show notification about creation", "start": 12471, "end": 12506, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 43 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 12687, "end": 12724, "loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 12734, "end": 12762, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 36 } }, "expression": { "type": "CallExpression", "start": 12734, "end": 12761, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 12734, "end": 12759, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 33 } }, "object": { "type": "ThisExpression", "start": 12734, "end": 12738, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12739, "end": 12759, "loc": { "start": { "line": 356, "column": 13 }, "end": { "line": 356, "column": 33 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 12687, "end": 12724, "loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 45 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a new waypoint at the given location with the given label\r\n * @param {string} label\r\n * @param {Vector} position\r\n ", "start": 12029, "end": 12175, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 338, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renames a waypoint with the given label\r\n * @param {Waypoint} waypoint\r\n * @param {string} label\r\n ", "start": 12777, "end": 12902, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 363, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12908, "end": 13316, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 377, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12908, "end": 12922, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 18 }, "identifierName": "renameWaypoint" }, "name": "renameWaypoint", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12923, "end": 12931, "loc": { "start": { "line": 364, "column": 19 }, "end": { "line": 364, "column": 27 }, "identifierName": "waypoint" }, "name": "waypoint" }, { "type": "Identifier", "start": 12933, "end": 12938, "loc": { "start": { "line": 364, "column": 29 }, "end": { "line": 364, "column": 34 }, "identifierName": "label" }, "name": "label" } ], "body": { "type": "BlockStatement", "start": 12940, "end": 13316, "loc": { "start": { "line": 364, "column": 36 }, "end": { "line": 377, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12951, "end": 12974, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 12951, "end": 12973, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12951, "end": 12965, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 22 } }, "object": { "type": "Identifier", "start": 12951, "end": 12959, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 16 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 12960, "end": 12965, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 22 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "right": { "type": "Identifier", "start": 12968, "end": 12973, "loc": { "start": { "line": 365, "column": 25 }, "end": { "line": 365, "column": 30 }, "identifierName": "label" }, "name": "label" } } }, { "type": "ExpressionStatement", "start": 12986, "end": 13007, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 29 } }, "expression": { "type": "CallExpression", "start": 12986, "end": 13006, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 12986, "end": 13004, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 26 } }, "object": { "type": "ThisExpression", "start": 12986, "end": 12990, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 12 } } }, "property": { "type": "Identifier", "start": 12991, "end": 13004, "loc": { "start": { "line": 367, "column": 13 }, "end": { "line": 367, "column": 26 }, "identifierName": "sortWaypoints" }, "name": "sortWaypoints" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Show notification about renamed", "start": 13019, "end": 13053, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 13063, "end": 13222, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 373, "column": 10 } }, "expression": { "type": "CallExpression", "start": 13063, "end": 13221, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 373, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 13063, "end": 13106, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 51 } }, "object": { "type": "MemberExpression", "start": 13063, "end": 13097, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 42 } }, "object": { "type": "MemberExpression", "start": 13063, "end": 13084, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 29 } }, "object": { "type": "MemberExpression", "start": 13063, "end": 13076, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 21 } }, "object": { "type": "MemberExpression", "start": 13063, "end": 13072, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 17 } }, "object": { "type": "ThisExpression", "start": 13063, "end": 13067, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13068, "end": 13072, "loc": { "start": { "line": 370, "column": 13 }, "end": { "line": 370, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13073, "end": 13076, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 21 }, "identifierName": "hud" }, "name": "hud" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13077, "end": 13084, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 29 }, "identifierName": "signals" }, "name": "signals" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13085, "end": 13097, "loc": { "start": { "line": 370, "column": 30 }, "end": { "line": 370, "column": 42 }, "identifierName": "notification" }, "name": "notification" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 13098, "end": 13106, "loc": { "start": { "line": 370, "column": 43 }, "end": { "line": 370, "column": 51 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 13121, "end": 13167, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 58 } }, "object": { "type": "MemberExpression", "start": 13121, "end": 13139, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13121, "end": 13129, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 20 } }, "object": { "type": "Identifier", "start": 13121, "end": 13122, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 13 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 13123, "end": 13129, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 20 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 13130, "end": 13139, "loc": { "start": { "line": 371, "column": 21 }, "end": { "line": 371, "column": 30 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 13140, "end": 13167, "loc": { "start": { "line": 371, "column": 31 }, "end": { "line": 371, "column": 58 }, "identifierName": "creationSuccessNotification" }, "name": "creationSuccessNotification" }, "computed": false }, { "type": "MemberExpression", "start": 13182, "end": 13210, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 40 } }, "object": { "type": "Identifier", "start": 13182, "end": 13202, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 32 }, "identifierName": "enumNotificationType" }, "name": "enumNotificationType" }, "property": { "type": "Identifier", "start": 13203, "end": 13210, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 40 }, "identifierName": "success" }, "name": "success" }, "computed": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Show notification about renamed", "start": 13019, "end": 13053, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 13234, "end": 13271, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 13281, "end": 13309, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 36 } }, "expression": { "type": "CallExpression", "start": 13281, "end": 13308, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 13281, "end": 13306, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 33 } }, "object": { "type": "ThisExpression", "start": 13281, "end": 13285, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 13286, "end": 13306, "loc": { "start": { "line": 376, "column": 13 }, "end": { "line": 376, "column": 33 }, "identifierName": "rerenderWaypointList" }, "name": "rerenderWaypointList" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 13234, "end": 13271, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 45 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renames a waypoint with the given label\r\n * @param {Waypoint} waypoint\r\n * @param {string} label\r\n ", "start": 12777, "end": 12902, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 363, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called every frame to update stuff\r\n ", "start": 13324, "end": 13379, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 381, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13385, "end": 13522, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 386, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13385, "end": 13391, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 10 }, "identifierName": "update" }, "name": "update", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13394, "end": 13522, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 386, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13405, "end": 13515, "loc": { "start": { "line": 383, "column": 8 }, "end": { "line": 385, "column": 9 } }, "test": { "type": "MemberExpression", "start": 13409, "end": 13423, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 383, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13409, "end": 13413, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 383, "column": 16 } } }, "property": { "type": "Identifier", "start": 13414, "end": 13423, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 383, "column": 26 }, "identifierName": "domAttach" }, "name": "domAttach" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 13425, "end": 13515, "loc": { "start": { "line": 383, "column": 28 }, "end": { "line": 385, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 13440, "end": 13504, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 76 } }, "expression": { "type": "CallExpression", "start": 13440, "end": 13503, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 13440, "end": 13461, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 33 } }, "object": { "type": "MemberExpression", "start": 13440, "end": 13454, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13440, "end": 13444, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 16 } } }, "property": { "type": "Identifier", "start": 13445, "end": 13454, "loc": { "start": { "line": 384, "column": 17 }, "end": { "line": 384, "column": 26 }, "identifierName": "domAttach" }, "name": "domAttach" }, "computed": false }, "property": { "type": "Identifier", "start": 13455, "end": 13461, "loc": { "start": { "line": 384, "column": 27 }, "end": { "line": 384, "column": 33 }, "identifierName": "update" }, "name": "update" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 13462, "end": 13502, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 13462, "end": 13500, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 72 } }, "object": { "type": "MemberExpression", "start": 13462, "end": 13478, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 50 } }, "object": { "type": "MemberExpression", "start": 13462, "end": 13471, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 43 } }, "object": { "type": "ThisExpression", "start": 13462, "end": 13466, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 38 } } }, "property": { "type": "Identifier", "start": 13467, "end": 13471, "loc": { "start": { "line": 384, "column": 39 }, "end": { "line": 384, "column": 43 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13472, "end": 13478, "loc": { "start": { "line": 384, "column": 44 }, "end": { "line": 384, "column": 50 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 13479, "end": 13500, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 72 }, "identifierName": "getIsMapOverlayActive" }, "name": "getIsMapOverlayActive" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called every frame to update stuff\r\n ", "start": 13324, "end": 13379, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 381, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sort waypoints by name\r\n ", "start": 13530, "end": 13573, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 390, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13579, "end": 13982, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 403, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13579, "end": 13592, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 17 }, "identifierName": "sortWaypoints" }, "name": "sortWaypoints", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13595, "end": 13982, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 403, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13606, "end": 13975, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 402, "column": 11 } }, "expression": { "type": "CallExpression", "start": 13606, "end": 13974, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 402, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 13606, "end": 13625, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 27 } }, "object": { "type": "MemberExpression", "start": 13606, "end": 13620, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 22 } }, "object": { "type": "ThisExpression", "start": 13606, "end": 13610, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 12 } } }, "property": { "type": "Identifier", "start": 13611, "end": 13620, "loc": { "start": { "line": 392, "column": 13 }, "end": { "line": 392, "column": 22 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 13621, "end": 13625, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 27 }, "identifierName": "sort" }, "name": "sort" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13626, "end": 13973, "loc": { "start": { "line": 392, "column": 28 }, "end": { "line": 402, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13627, "end": 13628, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 30 }, "identifierName": "a" }, "name": "a" }, { "type": "Identifier", "start": 13630, "end": 13631, "loc": { "start": { "line": 392, "column": 32 }, "end": { "line": 392, "column": 33 }, "identifierName": "b" }, "name": "b" } ], "body": { "type": "BlockStatement", "start": 13636, "end": 13973, "loc": { "start": { "line": 392, "column": 38 }, "end": { "line": 402, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13651, "end": 13709, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 395, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13655, "end": 13663, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13656, "end": 13663, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 24 } }, "object": { "type": "Identifier", "start": 13656, "end": 13657, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 18 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 13658, "end": 13663, "loc": { "start": { "line": 393, "column": 19 }, "end": { "line": 393, "column": 24 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13665, "end": 13709, "loc": { "start": { "line": 393, "column": 26 }, "end": { "line": 395, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 13684, "end": 13694, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 26 } }, "argument": { "type": "UnaryExpression", "start": 13691, "end": 13693, "loc": { "start": { "line": 394, "column": 23 }, "end": { "line": 394, "column": 25 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 13692, "end": 13693, "loc": { "start": { "line": 394, "column": 24 }, "end": { "line": 394, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 13723, "end": 13780, "loc": { "start": { "line": 396, "column": 12 }, "end": { "line": 398, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 13727, "end": 13735, "loc": { "start": { "line": 396, "column": 16 }, "end": { "line": 396, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13728, "end": 13735, "loc": { "start": { "line": 396, "column": 17 }, "end": { "line": 396, "column": 24 } }, "object": { "type": "Identifier", "start": 13728, "end": 13729, "loc": { "start": { "line": 396, "column": 17 }, "end": { "line": 396, "column": 18 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 13730, "end": 13735, "loc": { "start": { "line": 396, "column": 19 }, "end": { "line": 396, "column": 24 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13737, "end": 13780, "loc": { "start": { "line": 396, "column": 26 }, "end": { "line": 398, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 13756, "end": 13765, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 397, "column": 25 } }, "argument": { "type": "NumericLiteral", "start": 13763, "end": 13764, "loc": { "start": { "line": 397, "column": 23 }, "end": { "line": 397, "column": 24 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13794, "end": 13962, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 401, "column": 87 } }, "argument": { "type": "CallExpression", "start": 13801, "end": 13961, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 401, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 13801, "end": 13905, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 401, "column": 30 } }, "object": { "type": "CallExpression", "start": 13801, "end": 13873, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 400, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 13801, "end": 13850, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 400, "column": 23 } }, "object": { "type": "CallExpression", "start": 13801, "end": 13825, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 399, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13801, "end": 13822, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 399, "column": 40 } }, "object": { "type": "ThisExpression", "start": 13801, "end": 13805, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 399, "column": 23 } } }, "property": { "type": "Identifier", "start": 13806, "end": 13822, "loc": { "start": { "line": 399, "column": 24 }, "end": { "line": 399, "column": 40 }, "identifierName": "getWaypointLabel" }, "name": "getWaypointLabel" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13823, "end": 13824, "loc": { "start": { "line": 399, "column": 41 }, "end": { "line": 399, "column": 42 }, "identifierName": "a" }, "name": "a" } ] }, "property": { "type": "Identifier", "start": 13844, "end": 13850, "loc": { "start": { "line": 400, "column": 17 }, "end": { "line": 400, "column": 23 }, "identifierName": "padEnd" }, "name": "padEnd" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13851, "end": 13867, "loc": { "start": { "line": 400, "column": 24 }, "end": { "line": 400, "column": 40 }, "identifierName": "MAX_LABEL_LENGTH" }, "name": "MAX_LABEL_LENGTH" }, { "type": "StringLiteral", "start": 13869, "end": 13872, "loc": { "start": { "line": 400, "column": 42 }, "end": { "line": 400, "column": 45 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } ] }, "property": { "type": "Identifier", "start": 13892, "end": 13905, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "column": 30 }, "identifierName": "localeCompare" }, "name": "localeCompare" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 13906, "end": 13960, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 13906, "end": 13937, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 62 } }, "object": { "type": "CallExpression", "start": 13906, "end": 13930, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 13906, "end": 13927, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 52 } }, "object": { "type": "ThisExpression", "start": 13906, "end": 13910, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 35 } } }, "property": { "type": "Identifier", "start": 13911, "end": 13927, "loc": { "start": { "line": 401, "column": 36 }, "end": { "line": 401, "column": 52 }, "identifierName": "getWaypointLabel" }, "name": "getWaypointLabel" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13928, "end": 13929, "loc": { "start": { "line": 401, "column": 53 }, "end": { "line": 401, "column": 54 }, "identifierName": "b" }, "name": "b" } ] }, "property": { "type": "Identifier", "start": 13931, "end": 13937, "loc": { "start": { "line": 401, "column": 56 }, "end": { "line": 401, "column": 62 }, "identifierName": "padEnd" }, "name": "padEnd" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13938, "end": 13954, "loc": { "start": { "line": 401, "column": 63 }, "end": { "line": 401, "column": 79 }, "identifierName": "MAX_LABEL_LENGTH" }, "name": "MAX_LABEL_LENGTH" }, { "type": "StringLiteral", "start": 13956, "end": 13959, "loc": { "start": { "line": 401, "column": 81 }, "end": { "line": 401, "column": 84 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } ] } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sort waypoints by name\r\n ", "start": 13530, "end": 13573, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 390, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the label for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {string}\r\n ", "start": 13990, "end": 14110, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 409, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 14116, "end": 14209, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 412, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14116, "end": 14132, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 20 }, "identifierName": "getWaypointLabel" }, "name": "getWaypointLabel", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14133, "end": 14141, "loc": { "start": { "line": 410, "column": 21 }, "end": { "line": 410, "column": 29 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 14143, "end": 14209, "loc": { "start": { "line": 410, "column": 31 }, "end": { "line": 412, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 14154, "end": 14202, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 56 } }, "argument": { "type": "LogicalExpression", "start": 14161, "end": 14201, "loc": { "start": { "line": 411, "column": 15 }, "end": { "line": 411, "column": 55 } }, "left": { "type": "MemberExpression", "start": 14161, "end": 14175, "loc": { "start": { "line": 411, "column": 15 }, "end": { "line": 411, "column": 29 } }, "object": { "type": "Identifier", "start": 14161, "end": 14169, "loc": { "start": { "line": 411, "column": 15 }, "end": { "line": 411, "column": 23 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 14170, "end": 14175, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "operator": "||", "right": { "type": "MemberExpression", "start": 14179, "end": 14201, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "column": 55 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14197, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "column": 51 } }, "object": { "type": "MemberExpression", "start": 14179, "end": 14187, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "column": 41 } }, "object": { "type": "Identifier", "start": 14179, "end": 14180, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "column": 34 }, "identifierName": "T" }, "name": "T" }, "property": { "type": "Identifier", "start": 14181, "end": 14187, "loc": { "start": { "line": 411, "column": 35 }, "end": { "line": 411, "column": 41 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 14188, "end": 14197, "loc": { "start": { "line": 411, "column": 42 }, "end": { "line": 411, "column": 51 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 14198, "end": 14201, "loc": { "start": { "line": 411, "column": 52 }, "end": { "line": 411, "column": 55 }, "identifierName": "hub" }, "name": "hub" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the label for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {string}\r\n ", "start": 13990, "end": 14110, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 409, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if a waypoint is deletable\r\n * @param {Waypoint} waypoint\r\n * @returns {boolean}\r\n ", "start": 14217, "end": 14334, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 418, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 14340, "end": 14419, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 421, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14340, "end": 14359, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 23 }, "identifierName": "isWaypointDeletable" }, "name": "isWaypointDeletable", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14360, "end": 14368, "loc": { "start": { "line": 419, "column": 24 }, "end": { "line": 419, "column": 32 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 14370, "end": 14419, "loc": { "start": { "line": 419, "column": 34 }, "end": { "line": 421, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 14381, "end": 14412, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 420, "column": 39 } }, "argument": { "type": "BinaryExpression", "start": 14388, "end": 14411, "loc": { "start": { "line": 420, "column": 15 }, "end": { "line": 420, "column": 38 } }, "left": { "type": "MemberExpression", "start": 14388, "end": 14402, "loc": { "start": { "line": 420, "column": 15 }, "end": { "line": 420, "column": 29 } }, "object": { "type": "Identifier", "start": 14388, "end": 14396, "loc": { "start": { "line": 420, "column": 15 }, "end": { "line": 420, "column": 23 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 14397, "end": 14402, "loc": { "start": { "line": 420, "column": 24 }, "end": { "line": 420, "column": 29 }, "identifierName": "label" }, "name": "label" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 14407, "end": 14411, "loc": { "start": { "line": 420, "column": 34 }, "end": { "line": 420, "column": 38 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if a waypoint is deletable\r\n * @param {Waypoint} waypoint\r\n * @returns {boolean}\r\n ", "start": 14217, "end": 14334, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 418, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the screen space bounds of the given waypoint or null\r\n * if it couldn't be determined. Also returns wheter its a shape or not\r\n * @param {Waypoint} waypoint\r\n * @return {{\r\n * screenBounds: Rectangle\r\n * item: BaseItem|null,\r\n * text: string\r\n * }}\r\n ", "start": 14427, "end": 14739, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 432, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 14745, "end": 15956, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 466, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14745, "end": 14768, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 27 }, "identifierName": "getWaypointScreenParams" }, "name": "getWaypointScreenParams", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14769, "end": 14777, "loc": { "start": { "line": 433, "column": 28 }, "end": { "line": 433, "column": 36 }, "identifierName": "waypoint" }, "name": "waypoint" } ], "body": { "type": "BlockStatement", "start": 14779, "end": 15956, "loc": { "start": { "line": 433, "column": 38 }, "end": { "line": 466, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 14790, "end": 14875, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 436, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14794, "end": 14835, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 53 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14795, "end": 14835, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 14795, "end": 14833, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 51 } }, "object": { "type": "MemberExpression", "start": 14795, "end": 14811, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 29 } }, "object": { "type": "MemberExpression", "start": 14795, "end": 14804, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14795, "end": 14799, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 17 } } }, "property": { "type": "Identifier", "start": 14800, "end": 14804, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14805, "end": 14811, "loc": { "start": { "line": 434, "column": 23 }, "end": { "line": 434, "column": 29 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 14812, "end": 14833, "loc": { "start": { "line": 434, "column": 30 }, "end": { "line": 434, "column": 51 }, "identifierName": "getIsMapOverlayActive" }, "name": "getIsMapOverlayActive" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14837, "end": 14875, "loc": { "start": { "line": 434, "column": 55 }, "end": { "line": 436, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 14852, "end": 14864, "loc": { "start": { "line": 435, "column": 12 }, "end": { "line": 435, "column": 24 } }, "argument": { "type": "NullLiteral", "start": 14859, "end": 14863, "loc": { "start": { "line": 435, "column": 19 }, "end": { "line": 435, "column": 23 } } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Find parameters", "start": 14887, "end": 14905, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "column": 26 } } } ] }, { "type": "VariableDeclaration", "start": 14915, "end": 14955, "loc": { "start": { "line": 439, "column": 8 }, "end": { "line": 439, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14921, "end": 14954, "loc": { "start": { "line": 439, "column": 14 }, "end": { "line": 439, "column": 47 } }, "id": { "type": "Identifier", "start": 14921, "end": 14926, "loc": { "start": { "line": 439, "column": 14 }, "end": { "line": 439, "column": 19 }, "identifierName": "scale" }, "name": "scale", "leadingComments": null }, "init": { "type": "CallExpression", "start": 14929, "end": 14954, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 14929, "end": 14952, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 45 } }, "object": { "type": "ThisExpression", "start": 14929, "end": 14933, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 26 } } }, "property": { "type": "Identifier", "start": 14934, "end": 14952, "loc": { "start": { "line": 439, "column": 27 }, "end": { "line": 439, "column": 45 }, "identifierName": "getWaypointUiScale" }, "name": "getWaypointUiScale" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Find parameters", "start": 14887, "end": 14905, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "column": 26 } } } ] }, { "type": "VariableDeclaration", "start": 14965, "end": 15064, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 107 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14971, "end": 15063, "loc": { "start": { "line": 440, "column": 14 }, "end": { "line": 440, "column": 106 } }, "id": { "type": "Identifier", "start": 14971, "end": 14980, "loc": { "start": { "line": 440, "column": 14 }, "end": { "line": 440, "column": 23 }, "identifierName": "screenPos" }, "name": "screenPos" }, "init": { "type": "CallExpression", "start": 14983, "end": 15063, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 106 } }, "callee": { "type": "MemberExpression", "start": 14983, "end": 15013, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 56 } }, "object": { "type": "MemberExpression", "start": 14983, "end": 14999, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 42 } }, "object": { "type": "MemberExpression", "start": 14983, "end": 14992, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 35 } }, "object": { "type": "ThisExpression", "start": 14983, "end": 14987, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 30 } } }, "property": { "type": "Identifier", "start": 14988, "end": 14992, "loc": { "start": { "line": 440, "column": 31 }, "end": { "line": 440, "column": 35 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14993, "end": 14999, "loc": { "start": { "line": 440, "column": 36 }, "end": { "line": 440, "column": 42 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 15000, "end": 15013, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 440, "column": 56 }, "identifierName": "worldToScreen" }, "name": "worldToScreen" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 15014, "end": 15062, "loc": { "start": { "line": 440, "column": 57 }, "end": { "line": 440, "column": 105 } }, "callee": { "type": "Identifier", "start": 15018, "end": 15024, "loc": { "start": { "line": 440, "column": 61 }, "end": { "line": 440, "column": 67 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 15025, "end": 15042, "loc": { "start": { "line": 440, "column": 68 }, "end": { "line": 440, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15025, "end": 15040, "loc": { "start": { "line": 440, "column": 68 }, "end": { "line": 440, "column": 83 } }, "object": { "type": "Identifier", "start": 15025, "end": 15033, "loc": { "start": { "line": 440, "column": 68 }, "end": { "line": 440, "column": 76 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 15034, "end": 15040, "loc": { "start": { "line": 440, "column": 77 }, "end": { "line": 440, "column": 83 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 15041, "end": 15042, "loc": { "start": { "line": 440, "column": 84 }, "end": { "line": 440, "column": 85 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 15044, "end": 15061, "loc": { "start": { "line": 440, "column": 87 }, "end": { "line": 440, "column": 104 } }, "object": { "type": "MemberExpression", "start": 15044, "end": 15059, "loc": { "start": { "line": 440, "column": 87 }, "end": { "line": 440, "column": 102 } }, "object": { "type": "Identifier", "start": 15044, "end": 15052, "loc": { "start": { "line": 440, "column": 87 }, "end": { "line": 440, "column": 95 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 15053, "end": 15059, "loc": { "start": { "line": 440, "column": 96 }, "end": { "line": 440, "column": 102 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 15060, "end": 15061, "loc": { "start": { "line": 440, "column": 103 }, "end": { "line": 440, "column": 104 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Distinguish between text and item waypoints -> Figure out parameters", "start": 15076, "end": 15147, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 79 } } } ] }, { "type": "VariableDeclaration", "start": 15157, "end": 15211, "loc": { "start": { "line": 443, "column": 8 }, "end": { "line": 443, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15163, "end": 15210, "loc": { "start": { "line": 443, "column": 14 }, "end": { "line": 443, "column": 61 } }, "id": { "type": "Identifier", "start": 15163, "end": 15176, "loc": { "start": { "line": 443, "column": 14 }, "end": { "line": 443, "column": 27 }, "identifierName": "originalLabel" }, "name": "originalLabel", "leadingComments": null }, "init": { "type": "CallExpression", "start": 15179, "end": 15210, "loc": { "start": { "line": 443, "column": 30 }, "end": { "line": 443, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 15179, "end": 15200, "loc": { "start": { "line": 443, "column": 30 }, "end": { "line": 443, "column": 51 } }, "object": { "type": "ThisExpression", "start": 15179, "end": 15183, "loc": { "start": { "line": 443, "column": 30 }, "end": { "line": 443, "column": 34 } } }, "property": { "type": "Identifier", "start": 15184, "end": 15200, "loc": { "start": { "line": 443, "column": 35 }, "end": { "line": 443, "column": 51 }, "identifierName": "getWaypointLabel" }, "name": "getWaypointLabel" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15201, "end": 15209, "loc": { "start": { "line": 443, "column": 52 }, "end": { "line": 443, "column": 60 }, "identifierName": "waypoint" }, "name": "waypoint" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Distinguish between text and item waypoints -> Figure out parameters", "start": 15076, "end": 15147, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 79 } } } ] }, { "type": "VariableDeclaration", "start": 15221, "end": 15247, "loc": { "start": { "line": 444, "column": 8 }, "end": { "line": 444, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15225, "end": 15229, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 16 } }, "id": { "type": "Identifier", "start": 15225, "end": 15229, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 16 }, "identifierName": "text" }, "name": "text" }, "init": null }, { "type": "VariableDeclarator", "start": 15231, "end": 15235, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 22 } }, "id": { "type": "Identifier", "start": 15231, "end": 15235, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": null }, { "type": "VariableDeclarator", "start": 15237, "end": 15246, "loc": { "start": { "line": 444, "column": 24 }, "end": { "line": 444, "column": 33 } }, "id": { "type": "Identifier", "start": 15237, "end": 15246, "loc": { "start": { "line": 444, "column": 24 }, "end": { "line": 444, "column": 33 }, "identifierName": "textWidth" }, "name": "textWidth" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 15259, "end": 15667, "loc": { "start": { "line": 446, "column": 8 }, "end": { "line": 454, "column": 9 } }, "test": { "type": "CallExpression", "start": 15263, "end": 15309, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 15263, "end": 15294, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 43 } }, "object": { "type": "Identifier", "start": 15263, "end": 15278, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 27 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "property": { "type": "Identifier", "start": 15279, "end": 15294, "loc": { "start": { "line": 446, "column": 28 }, "end": { "line": 446, "column": 43 }, "identifierName": "isValidShortKey" }, "name": "isValidShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15295, "end": 15308, "loc": { "start": { "line": 446, "column": 44 }, "end": { "line": 446, "column": 57 }, "identifierName": "originalLabel" }, "name": "originalLabel" } ] }, "consequent": { "type": "BlockStatement", "start": 15311, "end": 15512, "loc": { "start": { "line": 446, "column": 60 }, "end": { "line": 450, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 15396, "end": 15472, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 448, "column": 88 } }, "expression": { "type": "AssignmentExpression", "start": 15396, "end": 15471, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 448, "column": 87 } }, "operator": "=", "left": { "type": "Identifier", "start": 15396, "end": 15400, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 448, "column": 16 }, "identifierName": "item" }, "name": "item", "leadingComments": null }, "right": { "type": "CallExpression", "start": 15403, "end": 15471, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 15403, "end": 15456, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 72 } }, "object": { "type": "MemberExpression", "start": 15403, "end": 15431, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 47 } }, "object": { "type": "MemberExpression", "start": 15403, "end": 15412, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 28 } }, "object": { "type": "ThisExpression", "start": 15403, "end": 15407, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 23 } } }, "property": { "type": "Identifier", "start": 15408, "end": 15412, "loc": { "start": { "line": 448, "column": 24 }, "end": { "line": 448, "column": 28 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 15413, "end": 15431, "loc": { "start": { "line": 448, "column": 29 }, "end": { "line": 448, "column": 47 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 15432, "end": 15456, "loc": { "start": { "line": 448, "column": 48 }, "end": { "line": 448, "column": 72 }, "identifierName": "getShapeItemFromShortKey" }, "name": "getShapeItemFromShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15457, "end": 15470, "loc": { "start": { "line": 448, "column": 73 }, "end": { "line": 448, "column": 86 }, "identifierName": "originalLabel" }, "name": "originalLabel" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " If the label is actually a key, render the shape icon", "start": 15326, "end": 15382, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 15486, "end": 15501, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 15486, "end": 15500, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 15486, "end": 15495, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 21 }, "identifierName": "textWidth" }, "name": "textWidth" }, "right": { "type": "NumericLiteral", "start": 15498, "end": 15500, "loc": { "start": { "line": 449, "column": 24 }, "end": { "line": 449, "column": 26 } }, "extra": { "rawValue": 40, "raw": "40" }, "value": 40 } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 15518, "end": 15667, "loc": { "start": { "line": 450, "column": 15 }, "end": { "line": 454, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 15585, "end": 15606, "loc": { "start": { "line": 452, "column": 12 }, "end": { "line": 452, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 15585, "end": 15605, "loc": { "start": { "line": 452, "column": 12 }, "end": { "line": 452, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 15585, "end": 15589, "loc": { "start": { "line": 452, "column": 12 }, "end": { "line": 452, "column": 16 }, "identifierName": "text" }, "name": "text", "leadingComments": null }, "right": { "type": "Identifier", "start": 15592, "end": 15605, "loc": { "start": { "line": 452, "column": 19 }, "end": { "line": 452, "column": 32 }, "identifierName": "originalLabel" }, "name": "originalLabel" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Otherwise render a regular waypoint", "start": 15533, "end": 15571, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 50 } } } ] }, { "type": "ExpressionStatement", "start": 15620, "end": 15656, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 453, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 15620, "end": 15655, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 453, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", "start": 15620, "end": 15629, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 453, "column": 21 }, "identifierName": "textWidth" }, "name": "textWidth" }, "right": { "type": "CallExpression", "start": 15632, "end": 15655, "loc": { "start": { "line": 453, "column": 24 }, "end": { "line": 453, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 15632, "end": 15649, "loc": { "start": { "line": 453, "column": 24 }, "end": { "line": 453, "column": 41 } }, "object": { "type": "ThisExpression", "start": 15632, "end": 15636, "loc": { "start": { "line": 453, "column": 24 }, "end": { "line": 453, "column": 28 } } }, "property": { "type": "Identifier", "start": 15637, "end": 15649, "loc": { "start": { "line": 453, "column": 29 }, "end": { "line": 453, "column": 41 }, "identifierName": "getTextWidth" }, "name": "getTextWidth" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15650, "end": 15654, "loc": { "start": { "line": 453, "column": 42 }, "end": { "line": 453, "column": 46 }, "identifierName": "text" }, "name": "text" } ] } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 15679, "end": 15949, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 465, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 15686, "end": 15948, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 465, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 15701, "end": 15898, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 462, "column": 13 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15701, "end": 15713, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 24 }, "identifierName": "screenBounds" }, "name": "screenBounds" }, "value": { "type": "NewExpression", "start": 15715, "end": 15898, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 462, "column": 13 } }, "callee": { "type": "Identifier", "start": 15719, "end": 15728, "loc": { "start": { "line": 457, "column": 30 }, "end": { "line": 457, "column": 39 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "arguments": [ { "type": "BinaryExpression", "start": 15747, "end": 15770, "loc": { "start": { "line": 458, "column": 16 }, "end": { "line": 458, "column": 39 } }, "left": { "type": "MemberExpression", "start": 15747, "end": 15758, "loc": { "start": { "line": 458, "column": 16 }, "end": { "line": 458, "column": 27 } }, "object": { "type": "Identifier", "start": 15747, "end": 15756, "loc": { "start": { "line": 458, "column": 16 }, "end": { "line": 458, "column": 25 }, "identifierName": "screenPos" }, "name": "screenPos" }, "property": { "type": "Identifier", "start": 15757, "end": 15758, "loc": { "start": { "line": 458, "column": 26 }, "end": { "line": 458, "column": 27 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "-", "right": { "type": "BinaryExpression", "start": 15761, "end": 15770, "loc": { "start": { "line": 458, "column": 30 }, "end": { "line": 458, "column": 39 } }, "left": { "type": "NumericLiteral", "start": 15761, "end": 15762, "loc": { "start": { "line": 458, "column": 30 }, "end": { "line": 458, "column": 31 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, "operator": "*", "right": { "type": "Identifier", "start": 15765, "end": 15770, "loc": { "start": { "line": 458, "column": 34 }, "end": { "line": 458, "column": 39 }, "identifierName": "scale" }, "name": "scale" } } }, { "type": "BinaryExpression", "start": 15789, "end": 15813, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 40 } }, "left": { "type": "MemberExpression", "start": 15789, "end": 15800, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 27 } }, "object": { "type": "Identifier", "start": 15789, "end": 15798, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 25 }, "identifierName": "screenPos" }, "name": "screenPos" }, "property": { "type": "Identifier", "start": 15799, "end": 15800, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 27 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "-", "right": { "type": "BinaryExpression", "start": 15803, "end": 15813, "loc": { "start": { "line": 459, "column": 30 }, "end": { "line": 459, "column": 40 } }, "left": { "type": "NumericLiteral", "start": 15803, "end": 15805, "loc": { "start": { "line": 459, "column": 30 }, "end": { "line": 459, "column": 32 } }, "extra": { "rawValue": 12, "raw": "12" }, "value": 12 }, "operator": "*", "right": { "type": "Identifier", "start": 15808, "end": 15813, "loc": { "start": { "line": 459, "column": 35 }, "end": { "line": 459, "column": 40 }, "identifierName": "scale" }, "name": "scale" } } }, { "type": "BinaryExpression", "start": 15832, "end": 15854, "loc": { "start": { "line": 460, "column": 16 }, "end": { "line": 460, "column": 38 } }, "left": { "type": "BinaryExpression", "start": 15832, "end": 15842, "loc": { "start": { "line": 460, "column": 16 }, "end": { "line": 460, "column": 26 } }, "left": { "type": "NumericLiteral", "start": 15832, "end": 15834, "loc": { "start": { "line": 460, "column": 16 }, "end": { "line": 460, "column": 18 } }, "extra": { "rawValue": 15, "raw": "15" }, "value": 15 }, "operator": "*", "right": { "type": "Identifier", "start": 15837, "end": 15842, "loc": { "start": { "line": 460, "column": 21 }, "end": { "line": 460, "column": 26 }, "identifierName": "scale" }, "name": "scale" } }, "operator": "+", "right": { "type": "Identifier", "start": 15845, "end": 15854, "loc": { "start": { "line": 460, "column": 29 }, "end": { "line": 460, "column": 38 }, "identifierName": "textWidth" }, "name": "textWidth" } }, { "type": "BinaryExpression", "start": 15873, "end": 15883, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 26 } }, "left": { "type": "NumericLiteral", "start": 15873, "end": 15875, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 18 } }, "extra": { "rawValue": 15, "raw": "15" }, "value": 15 }, "operator": "*", "right": { "type": "Identifier", "start": 15878, "end": 15883, "loc": { "start": { "line": 461, "column": 21 }, "end": { "line": 461, "column": 26 }, "identifierName": "scale" }, "name": "scale" } } ] } }, { "type": "ObjectProperty", "start": 15913, "end": 15917, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 16 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 15913, "end": 15917, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "Identifier", "start": 15913, "end": 15917, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 16 }, "identifierName": "item" }, "name": "item" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 15932, "end": 15936, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 16 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 15932, "end": 15936, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 16 }, "identifierName": "text" }, "name": "text" }, "value": { "type": "Identifier", "start": 15932, "end": 15936, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 16 }, "identifierName": "text" }, "name": "text" }, "extra": { "shorthand": true } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the screen space bounds of the given waypoint or null\r\n * if it couldn't be determined. Also returns wheter its a shape or not\r\n * @param {Waypoint} waypoint\r\n * @return {{\r\n * screenBounds: Rectangle\r\n * item: BaseItem|null,\r\n * text: string\r\n * }}\r\n ", "start": 14427, "end": 14739, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 432, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the currently intersected waypoint on the map overview under\r\n * the cursor.\r\n *\r\n * @returns {Waypoint | null}\r\n ", "start": 15964, "end": 16114, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 473, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 16120, "end": 16600, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 487, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16120, "end": 16150, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 474, "column": 34 }, "identifierName": "findCurrentIntersectedWaypoint" }, "name": "findCurrentIntersectedWaypoint", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16153, "end": 16600, "loc": { "start": { "line": 474, "column": 37 }, "end": { "line": 487, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16164, "end": 16209, "loc": { "start": { "line": 475, "column": 8 }, "end": { "line": 475, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16170, "end": 16208, "loc": { "start": { "line": 475, "column": 14 }, "end": { "line": 475, "column": 52 } }, "id": { "type": "Identifier", "start": 16170, "end": 16178, "loc": { "start": { "line": 475, "column": 14 }, "end": { "line": 475, "column": 22 }, "identifierName": "mousePos" }, "name": "mousePos" }, "init": { "type": "MemberExpression", "start": 16181, "end": 16208, "loc": { "start": { "line": 475, "column": 25 }, "end": { "line": 475, "column": 52 } }, "object": { "type": "MemberExpression", "start": 16181, "end": 16194, "loc": { "start": { "line": 475, "column": 25 }, "end": { "line": 475, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16181, "end": 16190, "loc": { "start": { "line": 475, "column": 25 }, "end": { "line": 475, "column": 34 } }, "object": { "type": "ThisExpression", "start": 16181, "end": 16185, "loc": { "start": { "line": 475, "column": 25 }, "end": { "line": 475, "column": 29 } } }, "property": { "type": "Identifier", "start": 16186, "end": 16190, "loc": { "start": { "line": 475, "column": 30 }, "end": { "line": 475, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16191, "end": 16194, "loc": { "start": { "line": 475, "column": 35 }, "end": { "line": 475, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 16195, "end": 16208, "loc": { "start": { "line": 475, "column": 39 }, "end": { "line": 475, "column": 52 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 16219, "end": 16267, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 478, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 16223, "end": 16232, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 16224, "end": 16232, "loc": { "start": { "line": 476, "column": 13 }, "end": { "line": 476, "column": 21 }, "identifierName": "mousePos" }, "name": "mousePos" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 16234, "end": 16267, "loc": { "start": { "line": 476, "column": 23 }, "end": { "line": 478, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 16249, "end": 16256, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ForStatement", "start": 16279, "end": 16593, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 486, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 16284, "end": 16293, "loc": { "start": { "line": 480, "column": 13 }, "end": { "line": 480, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16288, "end": 16293, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 22 } }, "id": { "type": "Identifier", "start": 16288, "end": 16289, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 16292, "end": 16293, "loc": { "start": { "line": 480, "column": 21 }, "end": { "line": 480, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 16295, "end": 16320, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 49 } }, "left": { "type": "Identifier", "start": 16295, "end": 16296, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 16299, "end": 16320, "loc": { "start": { "line": 480, "column": 28 }, "end": { "line": 480, "column": 49 } }, "object": { "type": "MemberExpression", "start": 16299, "end": 16313, "loc": { "start": { "line": 480, "column": 28 }, "end": { "line": 480, "column": 42 } }, "object": { "type": "ThisExpression", "start": 16299, "end": 16303, "loc": { "start": { "line": 480, "column": 28 }, "end": { "line": 480, "column": 32 } } }, "property": { "type": "Identifier", "start": 16304, "end": 16313, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 42 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 16314, "end": 16320, "loc": { "start": { "line": 480, "column": 43 }, "end": { "line": 480, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 16322, "end": 16325, "loc": { "start": { "line": 480, "column": 51 }, "end": { "line": 480, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 16324, "end": 16325, "loc": { "start": { "line": 480, "column": 53 }, "end": { "line": 480, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 16327, "end": 16593, "loc": { "start": { "line": 480, "column": 56 }, "end": { "line": 486, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16342, "end": 16377, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16348, "end": 16376, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 46 } }, "id": { "type": "Identifier", "start": 16348, "end": 16356, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 26 }, "identifierName": "waypoint" }, "name": "waypoint" }, "init": { "type": "MemberExpression", "start": 16359, "end": 16376, "loc": { "start": { "line": 481, "column": 29 }, "end": { "line": 481, "column": 46 } }, "object": { "type": "MemberExpression", "start": 16359, "end": 16373, "loc": { "start": { "line": 481, "column": 29 }, "end": { "line": 481, "column": 43 } }, "object": { "type": "ThisExpression", "start": 16359, "end": 16363, "loc": { "start": { "line": 481, "column": 29 }, "end": { "line": 481, "column": 33 } } }, "property": { "type": "Identifier", "start": 16364, "end": 16373, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 43 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 16374, "end": 16375, "loc": { "start": { "line": 481, "column": 44 }, "end": { "line": 481, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16391, "end": 16445, "loc": { "start": { "line": 482, "column": 12 }, "end": { "line": 482, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16397, "end": 16444, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 65 } }, "id": { "type": "Identifier", "start": 16397, "end": 16403, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 24 }, "identifierName": "params" }, "name": "params" }, "init": { "type": "CallExpression", "start": 16406, "end": 16444, "loc": { "start": { "line": 482, "column": 27 }, "end": { "line": 482, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16406, "end": 16434, "loc": { "start": { "line": 482, "column": 27 }, "end": { "line": 482, "column": 55 } }, "object": { "type": "ThisExpression", "start": 16406, "end": 16410, "loc": { "start": { "line": 482, "column": 27 }, "end": { "line": 482, "column": 31 } } }, "property": { "type": "Identifier", "start": 16411, "end": 16434, "loc": { "start": { "line": 482, "column": 32 }, "end": { "line": 482, "column": 55 }, "identifierName": "getWaypointScreenParams" }, "name": "getWaypointScreenParams" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16435, "end": 16443, "loc": { "start": { "line": 482, "column": 56 }, "end": { "line": 482, "column": 64 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 16459, "end": 16582, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 485, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 16463, "end": 16530, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 83 } }, "left": { "type": "Identifier", "start": 16463, "end": 16469, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 22 }, "identifierName": "params" }, "name": "params" }, "operator": "&&", "right": { "type": "CallExpression", "start": 16473, "end": 16530, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 16473, "end": 16506, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 59 } }, "object": { "type": "MemberExpression", "start": 16473, "end": 16492, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 45 } }, "object": { "type": "Identifier", "start": 16473, "end": 16479, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 32 }, "identifierName": "params" }, "name": "params" }, "property": { "type": "Identifier", "start": 16480, "end": 16492, "loc": { "start": { "line": 483, "column": 33 }, "end": { "line": 483, "column": 45 }, "identifierName": "screenBounds" }, "name": "screenBounds" }, "computed": false }, "property": { "type": "Identifier", "start": 16493, "end": 16506, "loc": { "start": { "line": 483, "column": 46 }, "end": { "line": 483, "column": 59 }, "identifierName": "containsPoint" }, "name": "containsPoint" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16507, "end": 16517, "loc": { "start": { "line": 483, "column": 60 }, "end": { "line": 483, "column": 70 } }, "object": { "type": "Identifier", "start": 16507, "end": 16515, "loc": { "start": { "line": 483, "column": 60 }, "end": { "line": 483, "column": 68 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 16516, "end": 16517, "loc": { "start": { "line": 483, "column": 69 }, "end": { "line": 483, "column": 70 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 16519, "end": 16529, "loc": { "start": { "line": 483, "column": 72 }, "end": { "line": 483, "column": 82 } }, "object": { "type": "Identifier", "start": 16519, "end": 16527, "loc": { "start": { "line": 483, "column": 72 }, "end": { "line": 483, "column": 80 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 16528, "end": 16529, "loc": { "start": { "line": 483, "column": 81 }, "end": { "line": 483, "column": 82 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } }, "consequent": { "type": "BlockStatement", "start": 16532, "end": 16582, "loc": { "start": { "line": 483, "column": 85 }, "end": { "line": 485, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 16551, "end": 16567, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 32 } }, "argument": { "type": "Identifier", "start": 16558, "end": 16566, "loc": { "start": { "line": 484, "column": 23 }, "end": { "line": 484, "column": 31 }, "identifierName": "waypoint" }, "name": "waypoint" } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds the currently intersected waypoint on the map overview under\r\n * the cursor.\r\n *\r\n * @returns {Waypoint | null}\r\n ", "start": 15964, "end": 16114, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 473, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mouse-Down handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ", "start": 16608, "end": 16715, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 493, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 16721, "end": 17803, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 520, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 16721, "end": 16732, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 15 }, "identifierName": "onMouseDown" }, "name": "onMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16733, "end": 16736, "loc": { "start": { "line": 494, "column": 16 }, "end": { "line": 494, "column": 19 }, "identifierName": "pos" }, "name": "pos" }, { "type": "Identifier", "start": 16738, "end": 16744, "loc": { "start": { "line": 494, "column": 21 }, "end": { "line": 494, "column": 27 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 16746, "end": 17803, "loc": { "start": { "line": 494, "column": 29 }, "end": { "line": 520, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16757, "end": 16812, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16763, "end": 16811, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 62 } }, "id": { "type": "Identifier", "start": 16763, "end": 16771, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 22 }, "identifierName": "waypoint" }, "name": "waypoint" }, "init": { "type": "CallExpression", "start": 16774, "end": 16811, "loc": { "start": { "line": 495, "column": 25 }, "end": { "line": 495, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 16774, "end": 16809, "loc": { "start": { "line": 495, "column": 25 }, "end": { "line": 495, "column": 60 } }, "object": { "type": "ThisExpression", "start": 16774, "end": 16778, "loc": { "start": { "line": 495, "column": 25 }, "end": { "line": 495, "column": 29 } } }, "property": { "type": "Identifier", "start": 16779, "end": 16809, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 60 }, "identifierName": "findCurrentIntersectedWaypoint" }, "name": "findCurrentIntersectedWaypoint" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 16822, "end": 17796, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 519, "column": 9 } }, "test": { "type": "Identifier", "start": 16826, "end": 16834, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 20 }, "identifierName": "waypoint" }, "name": "waypoint" }, "consequent": { "type": "BlockStatement", "start": 16836, "end": 17393, "loc": { "start": { "line": 496, "column": 22 }, "end": { "line": 510, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 16851, "end": 17342, "loc": { "start": { "line": 497, "column": 12 }, "end": { "line": 507, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 16855, "end": 16886, "loc": { "start": { "line": 497, "column": 16 }, "end": { "line": 497, "column": 47 } }, "left": { "type": "Identifier", "start": 16855, "end": 16861, "loc": { "start": { "line": 497, "column": 16 }, "end": { "line": 497, "column": 22 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "MemberExpression", "start": 16866, "end": 16886, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 47 } }, "object": { "type": "Identifier", "start": 16866, "end": 16881, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 42 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 16882, "end": 16886, "loc": { "start": { "line": 497, "column": 43 }, "end": { "line": 497, "column": 47 }, "identifierName": "left" }, "name": "left" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 16888, "end": 17005, "loc": { "start": { "line": 497, "column": 49 }, "end": { "line": 500, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16907, "end": 16942, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 51 } }, "expression": { "type": "CallExpression", "start": 16907, "end": 16941, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 16907, "end": 16939, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 48 } }, "object": { "type": "MemberExpression", "start": 16907, "end": 16927, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16907, "end": 16916, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 25 } }, "object": { "type": "ThisExpression", "start": 16907, "end": 16911, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 20 } } }, "property": { "type": "Identifier", "start": 16912, "end": 16916, "loc": { "start": { "line": 498, "column": 21 }, "end": { "line": 498, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16917, "end": 16927, "loc": { "start": { "line": 498, "column": 26 }, "end": { "line": 498, "column": 36 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 16928, "end": 16939, "loc": { "start": { "line": 498, "column": 37 }, "end": { "line": 498, "column": 48 }, "identifierName": "playUiClick" }, "name": "playUiClick" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 16960, "end": 16990, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 46 } }, "expression": { "type": "CallExpression", "start": 16960, "end": 16989, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 16960, "end": 16979, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 35 } }, "object": { "type": "ThisExpression", "start": 16960, "end": 16964, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 20 } } }, "property": { "type": "Identifier", "start": 16965, "end": 16979, "loc": { "start": { "line": 499, "column": 21 }, "end": { "line": 499, "column": 35 }, "identifierName": "moveToWaypoint" }, "name": "moveToWaypoint" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16980, "end": 16988, "loc": { "start": { "line": 499, "column": 36 }, "end": { "line": 499, "column": 44 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 17011, "end": 17342, "loc": { "start": { "line": 500, "column": 19 }, "end": { "line": 507, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 17015, "end": 17047, "loc": { "start": { "line": 500, "column": 23 }, "end": { "line": 500, "column": 55 } }, "left": { "type": "Identifier", "start": 17015, "end": 17021, "loc": { "start": { "line": 500, "column": 23 }, "end": { "line": 500, "column": 29 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "MemberExpression", "start": 17026, "end": 17047, "loc": { "start": { "line": 500, "column": 34 }, "end": { "line": 500, "column": 55 } }, "object": { "type": "Identifier", "start": 17026, "end": 17041, "loc": { "start": { "line": 500, "column": 34 }, "end": { "line": 500, "column": 49 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 17042, "end": 17047, "loc": { "start": { "line": 500, "column": 50 }, "end": { "line": 500, "column": 55 }, "identifierName": "right" }, "name": "right" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 17049, "end": 17342, "loc": { "start": { "line": 500, "column": 57 }, "end": { "line": 507, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 17068, "end": 17327, "loc": { "start": { "line": 501, "column": 16 }, "end": { "line": 506, "column": 17 } }, "test": { "type": "CallExpression", "start": 17072, "end": 17106, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 17072, "end": 17096, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 44 } }, "object": { "type": "ThisExpression", "start": 17072, "end": 17076, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 24 } } }, "property": { "type": "Identifier", "start": 17077, "end": 17096, "loc": { "start": { "line": 501, "column": 25 }, "end": { "line": 501, "column": 44 }, "identifierName": "isWaypointDeletable" }, "name": "isWaypointDeletable" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17097, "end": 17105, "loc": { "start": { "line": 501, "column": 45 }, "end": { "line": 501, "column": 53 }, "identifierName": "waypoint" }, "name": "waypoint" } ] }, "consequent": { "type": "BlockStatement", "start": 17108, "end": 17244, "loc": { "start": { "line": 501, "column": 56 }, "end": { "line": 504, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 17131, "end": 17166, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 55 } }, "expression": { "type": "CallExpression", "start": 17131, "end": 17165, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 17131, "end": 17163, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 52 } }, "object": { "type": "MemberExpression", "start": 17131, "end": 17151, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 40 } }, "object": { "type": "MemberExpression", "start": 17131, "end": 17140, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 29 } }, "object": { "type": "ThisExpression", "start": 17131, "end": 17135, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 24 } } }, "property": { "type": "Identifier", "start": 17136, "end": 17140, "loc": { "start": { "line": 502, "column": 25 }, "end": { "line": 502, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17141, "end": 17151, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 40 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 17152, "end": 17163, "loc": { "start": { "line": 502, "column": 41 }, "end": { "line": 502, "column": 52 }, "identifierName": "playUiClick" }, "name": "playUiClick" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 17188, "end": 17225, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 57 } }, "expression": { "type": "CallExpression", "start": 17188, "end": 17224, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 17188, "end": 17210, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 42 } }, "object": { "type": "ThisExpression", "start": 17188, "end": 17192, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 24 } } }, "property": { "type": "Identifier", "start": 17193, "end": 17210, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 42 }, "identifierName": "requestSaveMarker" }, "name": "requestSaveMarker" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 17211, "end": 17223, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 55 } }, "properties": [ { "type": "ObjectProperty", "start": 17213, "end": 17221, "loc": { "start": { "line": 503, "column": 45 }, "end": { "line": 503, "column": 53 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 17213, "end": 17221, "loc": { "start": { "line": 503, "column": 45 }, "end": { "line": 503, "column": 53 }, "identifierName": "waypoint" }, "name": "waypoint" }, "value": { "type": "Identifier", "start": 17213, "end": 17221, "loc": { "start": { "line": 503, "column": 45 }, "end": { "line": 503, "column": 53 }, "identifierName": "waypoint" }, "name": "waypoint" }, "extra": { "shorthand": true } } ] } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17250, "end": 17327, "loc": { "start": { "line": 504, "column": 23 }, "end": { "line": 506, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 17273, "end": 17308, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 55 } }, "expression": { "type": "CallExpression", "start": 17273, "end": 17307, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 17273, "end": 17305, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 52 } }, "object": { "type": "MemberExpression", "start": 17273, "end": 17293, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 40 } }, "object": { "type": "MemberExpression", "start": 17273, "end": 17282, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 29 } }, "object": { "type": "ThisExpression", "start": 17273, "end": 17277, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 24 } } }, "property": { "type": "Identifier", "start": 17278, "end": 17282, "loc": { "start": { "line": 505, "column": 25 }, "end": { "line": 505, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17283, "end": 17293, "loc": { "start": { "line": 505, "column": 30 }, "end": { "line": 505, "column": 40 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 17294, "end": 17305, "loc": { "start": { "line": 505, "column": 41 }, "end": { "line": 505, "column": 52 }, "identifierName": "playUiError" }, "name": "playUiError" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } }, { "type": "ReturnStatement", "start": 17358, "end": 17382, "loc": { "start": { "line": 509, "column": 12 }, "end": { "line": 509, "column": 36 } }, "argument": { "type": "Identifier", "start": 17365, "end": 17381, "loc": { "start": { "line": 509, "column": 19 }, "end": { "line": 509, "column": 35 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17399, "end": 17796, "loc": { "start": { "line": 510, "column": 15 }, "end": { "line": 519, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 17467, "end": 17785, "loc": { "start": { "line": 512, "column": 12 }, "end": { "line": 518, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 17471, "end": 17503, "loc": { "start": { "line": 512, "column": 16 }, "end": { "line": 512, "column": 48 } }, "left": { "type": "Identifier", "start": 17471, "end": 17477, "loc": { "start": { "line": 512, "column": 16 }, "end": { "line": 512, "column": 22 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "MemberExpression", "start": 17482, "end": 17503, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 48 } }, "object": { "type": "Identifier", "start": 17482, "end": 17497, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 42 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 17498, "end": 17503, "loc": { "start": { "line": 512, "column": 43 }, "end": { "line": 512, "column": 48 }, "identifierName": "right" }, "name": "right" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 17505, "end": 17785, "loc": { "start": { "line": 512, "column": 50 }, "end": { "line": 518, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 17524, "end": 17770, "loc": { "start": { "line": 513, "column": 16 }, "end": { "line": 517, "column": 17 } }, "test": { "type": "CallExpression", "start": 17528, "end": 17568, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 17528, "end": 17566, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 58 } }, "object": { "type": "MemberExpression", "start": 17528, "end": 17544, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 36 } }, "object": { "type": "MemberExpression", "start": 17528, "end": 17537, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 29 } }, "object": { "type": "ThisExpression", "start": 17528, "end": 17532, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 24 } } }, "property": { "type": "Identifier", "start": 17533, "end": 17537, "loc": { "start": { "line": 513, "column": 25 }, "end": { "line": 513, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17538, "end": 17544, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 36 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 17545, "end": 17566, "loc": { "start": { "line": 513, "column": 37 }, "end": { "line": 513, "column": 58 }, "identifierName": "getIsMapOverlayActive" }, "name": "getIsMapOverlayActive" }, "computed": false }, "arguments": [] }, "consequent": { "type": "BlockStatement", "start": 17570, "end": 17770, "loc": { "start": { "line": 513, "column": 62 }, "end": { "line": 517, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 17593, "end": 17646, "loc": { "start": { "line": 514, "column": 20 }, "end": { "line": 514, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17599, "end": 17645, "loc": { "start": { "line": 514, "column": 26 }, "end": { "line": 514, "column": 72 } }, "id": { "type": "Identifier", "start": 17599, "end": 17607, "loc": { "start": { "line": 514, "column": 26 }, "end": { "line": 514, "column": 34 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 17610, "end": 17645, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 17610, "end": 17640, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 67 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17626, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 53 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17619, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 46 } }, "object": { "type": "ThisExpression", "start": 17610, "end": 17614, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 41 } } }, "property": { "type": "Identifier", "start": 17615, "end": 17619, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17620, "end": 17626, "loc": { "start": { "line": 514, "column": 47 }, "end": { "line": 514, "column": 53 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 17627, "end": 17640, "loc": { "start": { "line": 514, "column": 54 }, "end": { "line": 514, "column": 67 }, "identifierName": "screenToWorld" }, "name": "screenToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17641, "end": 17644, "loc": { "start": { "line": 514, "column": 68 }, "end": { "line": 514, "column": 71 }, "identifierName": "pos" }, "name": "pos" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17668, "end": 17705, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 57 } }, "expression": { "type": "CallExpression", "start": 17668, "end": 17704, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 17668, "end": 17690, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 42 } }, "object": { "type": "ThisExpression", "start": 17668, "end": 17672, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 24 } } }, "property": { "type": "Identifier", "start": 17673, "end": 17690, "loc": { "start": { "line": 515, "column": 25 }, "end": { "line": 515, "column": 42 }, "identifierName": "requestSaveMarker" }, "name": "requestSaveMarker" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 17691, "end": 17703, "loc": { "start": { "line": 515, "column": 43 }, "end": { "line": 515, "column": 55 } }, "properties": [ { "type": "ObjectProperty", "start": 17693, "end": 17701, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 53 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 17693, "end": 17701, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 53 }, "identifierName": "worldPos" }, "name": "worldPos" }, "value": { "type": "Identifier", "start": 17693, "end": 17701, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 53 }, "identifierName": "worldPos" }, "name": "worldPos" }, "extra": { "shorthand": true } } ] } ] } }, { "type": "ReturnStatement", "start": 17727, "end": 17751, "loc": { "start": { "line": 516, "column": 20 }, "end": { "line": 516, "column": 44 } }, "argument": { "type": "Identifier", "start": 17734, "end": 17750, "loc": { "start": { "line": 516, "column": 27 }, "end": { "line": 516, "column": 43 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Allow right click to create a marker", "start": 17414, "end": 17453, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 51 } } } ] } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mouse-Down handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ", "start": 16608, "end": 16715, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 493, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rerenders the compass\r\n ", "start": 17811, "end": 17853, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 17859, "end": 19333, "loc": { "start": { "line": 525, "column": 4 }, "end": { "line": 559, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17859, "end": 17883, "loc": { "start": { "line": 525, "column": 4 }, "end": { "line": 525, "column": 28 }, "identifierName": "rerenderWaypointsCompass" }, "name": "rerenderWaypointsCompass", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17886, "end": 19333, "loc": { "start": { "line": 525, "column": 31 }, "end": { "line": 559, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17897, "end": 17913, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17903, "end": 17912, "loc": { "start": { "line": 526, "column": 14 }, "end": { "line": 526, "column": 23 } }, "id": { "type": "Identifier", "start": 17903, "end": 17907, "loc": { "start": { "line": 526, "column": 14 }, "end": { "line": 526, "column": 18 }, "identifierName": "dims" }, "name": "dims" }, "init": { "type": "NumericLiteral", "start": 17910, "end": 17912, "loc": { "start": { "line": 526, "column": 21 }, "end": { "line": 526, "column": 23 } }, "extra": { "rawValue": 48, "raw": "48" }, "value": 48 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 17923, "end": 17948, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17929, "end": 17947, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 32 } }, "id": { "type": "Identifier", "start": 17929, "end": 17942, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 27 }, "identifierName": "indicatorSize" }, "name": "indicatorSize" }, "init": { "type": "NumericLiteral", "start": 17945, "end": 17947, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 32 } }, "extra": { "rawValue": 30, "raw": "30" }, "value": 30 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 17958, "end": 18000, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17964, "end": 17999, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 49 } }, "id": { "type": "Identifier", "start": 17964, "end": 17973, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 23 }, "identifierName": "cameraPos" }, "name": "cameraPos" }, "init": { "type": "MemberExpression", "start": 17976, "end": 17999, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 49 } }, "object": { "type": "MemberExpression", "start": 17976, "end": 17992, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 42 } }, "object": { "type": "MemberExpression", "start": 17976, "end": 17985, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 35 } }, "object": { "type": "ThisExpression", "start": 17976, "end": 17980, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 30 } } }, "property": { "type": "Identifier", "start": 17981, "end": 17985, "loc": { "start": { "line": 528, "column": 31 }, "end": { "line": 528, "column": 35 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 17986, "end": 17992, "loc": { "start": { "line": 528, "column": 36 }, "end": { "line": 528, "column": 42 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 17993, "end": 17999, "loc": { "start": { "line": 528, "column": 43 }, "end": { "line": 528, "column": 49 }, "identifierName": "center" }, "name": "center" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18012, "end": 18055, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18018, "end": 18054, "loc": { "start": { "line": 530, "column": 14 }, "end": { "line": 530, "column": 50 } }, "id": { "type": "Identifier", "start": 18018, "end": 18025, "loc": { "start": { "line": 530, "column": 14 }, "end": { "line": 530, "column": 21 }, "identifierName": "context" }, "name": "context" }, "init": { "type": "MemberExpression", "start": 18028, "end": 18054, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 50 } }, "object": { "type": "MemberExpression", "start": 18028, "end": 18046, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 42 } }, "object": { "type": "ThisExpression", "start": 18028, "end": 18032, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 28 } } }, "property": { "type": "Identifier", "start": 18033, "end": 18046, "loc": { "start": { "line": 530, "column": 29 }, "end": { "line": 530, "column": 42 }, "identifierName": "compassBuffer" }, "name": "compassBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 18047, "end": 18054, "loc": { "start": { "line": 530, "column": 43 }, "end": { "line": 530, "column": 50 }, "identifierName": "context" }, "name": "context" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 18065, "end": 18101, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 44 } }, "expression": { "type": "CallExpression", "start": 18065, "end": 18100, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 18065, "end": 18082, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 25 } }, "object": { "type": "Identifier", "start": 18065, "end": 18072, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 15 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18073, "end": 18082, "loc": { "start": { "line": 531, "column": 16 }, "end": { "line": 531, "column": 25 }, "identifierName": "clearRect" }, "name": "clearRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 18083, "end": 18084, "loc": { "start": { "line": 531, "column": 26 }, "end": { "line": 531, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 18086, "end": 18087, "loc": { "start": { "line": 531, "column": 29 }, "end": { "line": 531, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 18089, "end": 18093, "loc": { "start": { "line": 531, "column": 32 }, "end": { "line": 531, "column": 36 }, "identifierName": "dims" }, "name": "dims" }, { "type": "Identifier", "start": 18095, "end": 18099, "loc": { "start": { "line": 531, "column": 38 }, "end": { "line": 531, "column": 42 }, "identifierName": "dims" }, "name": "dims" } ] } }, { "type": "VariableDeclaration", "start": 18113, "end": 18154, "loc": { "start": { "line": 533, "column": 8 }, "end": { "line": 533, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18119, "end": 18153, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 48 } }, "id": { "type": "Identifier", "start": 18119, "end": 18132, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 27 }, "identifierName": "distanceToHub" }, "name": "distanceToHub" }, "init": { "type": "CallExpression", "start": 18135, "end": 18153, "loc": { "start": { "line": 533, "column": 30 }, "end": { "line": 533, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 18135, "end": 18151, "loc": { "start": { "line": 533, "column": 30 }, "end": { "line": 533, "column": 46 } }, "object": { "type": "Identifier", "start": 18135, "end": 18144, "loc": { "start": { "line": 533, "column": 30 }, "end": { "line": 533, "column": 39 }, "identifierName": "cameraPos" }, "name": "cameraPos" }, "property": { "type": "Identifier", "start": 18145, "end": 18151, "loc": { "start": { "line": 533, "column": 40 }, "end": { "line": 533, "column": 46 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18164, "end": 18261, "loc": { "start": { "line": 534, "column": 8 }, "end": { "line": 534, "column": 105 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18170, "end": 18260, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 534, "column": 104 } }, "id": { "type": "Identifier", "start": 18170, "end": 18184, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 534, "column": 28 }, "identifierName": "compassVisible" }, "name": "compassVisible" }, "init": { "type": "BinaryExpression", "start": 18187, "end": 18260, "loc": { "start": { "line": 534, "column": 31 }, "end": { "line": 534, "column": 104 } }, "left": { "type": "Identifier", "start": 18187, "end": 18200, "loc": { "start": { "line": 534, "column": 31 }, "end": { "line": 534, "column": 44 }, "identifierName": "distanceToHub" }, "name": "distanceToHub" }, "operator": ">", "right": { "type": "BinaryExpression", "start": 18203, "end": 18260, "loc": { "start": { "line": 534, "column": 47 }, "end": { "line": 534, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 18204, "end": 18230, "loc": { "start": { "line": 534, "column": 48 }, "end": { "line": 534, "column": 74 } }, "left": { "type": "NumericLiteral", "start": 18204, "end": 18206, "loc": { "start": { "line": 534, "column": 48 }, "end": { "line": 534, "column": 50 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, "operator": "*", "right": { "type": "MemberExpression", "start": 18209, "end": 18230, "loc": { "start": { "line": 534, "column": 53 }, "end": { "line": 534, "column": 74 } }, "object": { "type": "Identifier", "start": 18209, "end": 18221, "loc": { "start": { "line": 534, "column": 53 }, "end": { "line": 534, "column": 65 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 18222, "end": 18230, "loc": { "start": { "line": 534, "column": 66 }, "end": { "line": 534, "column": 74 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 18203 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 18234, "end": 18260, "loc": { "start": { "line": 534, "column": 78 }, "end": { "line": 534, "column": 104 } }, "object": { "type": "MemberExpression", "start": 18234, "end": 18250, "loc": { "start": { "line": 534, "column": 78 }, "end": { "line": 534, "column": 94 } }, "object": { "type": "MemberExpression", "start": 18234, "end": 18243, "loc": { "start": { "line": 534, "column": 78 }, "end": { "line": 534, "column": 87 } }, "object": { "type": "ThisExpression", "start": 18234, "end": 18238, "loc": { "start": { "line": 534, "column": 78 }, "end": { "line": 534, "column": 82 } } }, "property": { "type": "Identifier", "start": 18239, "end": 18243, "loc": { "start": { "line": 534, "column": 83 }, "end": { "line": 534, "column": 87 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 18244, "end": 18250, "loc": { "start": { "line": 534, "column": 88 }, "end": { "line": 534, "column": 94 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 18251, "end": 18260, "loc": { "start": { "line": 534, "column": 95 }, "end": { "line": 534, "column": 104 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18271, "end": 18321, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18277, "end": 18320, "loc": { "start": { "line": 535, "column": 14 }, "end": { "line": 535, "column": 57 } }, "id": { "type": "Identifier", "start": 18277, "end": 18295, "loc": { "start": { "line": 535, "column": 14 }, "end": { "line": 535, "column": 32 }, "identifierName": "targetCompassAlpha" }, "name": "targetCompassAlpha" }, "init": { "type": "ConditionalExpression", "start": 18298, "end": 18320, "loc": { "start": { "line": 535, "column": 35 }, "end": { "line": 535, "column": 57 } }, "test": { "type": "Identifier", "start": 18298, "end": 18312, "loc": { "start": { "line": 535, "column": 35 }, "end": { "line": 535, "column": 49 }, "identifierName": "compassVisible" }, "name": "compassVisible" }, "consequent": { "type": "NumericLiteral", "start": 18315, "end": 18316, "loc": { "start": { "line": 535, "column": 52 }, "end": { "line": 535, "column": 53 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "alternate": { "type": "NumericLiteral", "start": 18319, "end": 18320, "loc": { "start": { "line": 535, "column": 56 }, "end": { "line": 535, "column": 57 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Fade the compas in / out", "start": 18333, "end": 18360, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 537, "column": 35 } } } ] }, { "type": "ExpressionStatement", "start": 18370, "end": 18458, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 96 } }, "expression": { "type": "AssignmentExpression", "start": 18370, "end": 18457, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 95 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18370, "end": 18396, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 34 } }, "object": { "type": "ThisExpression", "start": 18370, "end": 18374, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18375, "end": 18396, "loc": { "start": { "line": 538, "column": 13 }, "end": { "line": 538, "column": 34 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 18399, "end": 18457, "loc": { "start": { "line": 538, "column": 37 }, "end": { "line": 538, "column": 95 } }, "callee": { "type": "Identifier", "start": 18399, "end": 18403, "loc": { "start": { "line": 538, "column": 37 }, "end": { "line": 538, "column": 41 }, "identifierName": "lerp" }, "name": "lerp" }, "arguments": [ { "type": "MemberExpression", "start": 18404, "end": 18430, "loc": { "start": { "line": 538, "column": 42 }, "end": { "line": 538, "column": 68 } }, "object": { "type": "ThisExpression", "start": 18404, "end": 18408, "loc": { "start": { "line": 538, "column": 42 }, "end": { "line": 538, "column": 46 } } }, "property": { "type": "Identifier", "start": 18409, "end": 18430, "loc": { "start": { "line": 538, "column": 47 }, "end": { "line": 538, "column": 68 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false }, { "type": "Identifier", "start": 18432, "end": 18450, "loc": { "start": { "line": 538, "column": 70 }, "end": { "line": 538, "column": 88 }, "identifierName": "targetCompassAlpha" }, "name": "targetCompassAlpha" }, { "type": "NumericLiteral", "start": 18452, "end": 18456, "loc": { "start": { "line": 538, "column": 90 }, "end": { "line": 538, "column": 94 } }, "extra": { "rawValue": 0.08, "raw": "0.08" }, "value": 0.08 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Fade the compas in / out", "start": 18333, "end": 18360, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 537, "column": 35 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Render the compass", "start": 18470, "end": 18491, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 29 } } } ] }, { "type": "IfStatement", "start": 18501, "end": 18998, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 550, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 18505, "end": 18538, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 45 } }, "left": { "type": "MemberExpression", "start": 18505, "end": 18531, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 38 } }, "object": { "type": "ThisExpression", "start": 18505, "end": 18509, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18510, "end": 18531, "loc": { "start": { "line": 541, "column": 17 }, "end": { "line": 541, "column": 38 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "NumericLiteral", "start": 18534, "end": 18538, "loc": { "start": { "line": 541, "column": 41 }, "end": { "line": 541, "column": 45 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 18540, "end": 18998, "loc": { "start": { "line": 541, "column": 47 }, "end": { "line": 550, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18555, "end": 18604, "loc": { "start": { "line": 542, "column": 12 }, "end": { "line": 542, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 18555, "end": 18603, "loc": { "start": { "line": 542, "column": 12 }, "end": { "line": 542, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18555, "end": 18574, "loc": { "start": { "line": 542, "column": 12 }, "end": { "line": 542, "column": 31 } }, "object": { "type": "Identifier", "start": 18555, "end": 18562, "loc": { "start": { "line": 542, "column": 12 }, "end": { "line": 542, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18563, "end": 18574, "loc": { "start": { "line": 542, "column": 20 }, "end": { "line": 542, "column": 31 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "MemberExpression", "start": 18577, "end": 18603, "loc": { "start": { "line": 542, "column": 34 }, "end": { "line": 542, "column": 60 } }, "object": { "type": "ThisExpression", "start": 18577, "end": 18581, "loc": { "start": { "line": 542, "column": 34 }, "end": { "line": 542, "column": 38 } } }, "property": { "type": "Identifier", "start": 18582, "end": 18603, "loc": { "start": { "line": 542, "column": 39 }, "end": { "line": 542, "column": 60 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false } } }, { "type": "VariableDeclaration", "start": 18618, "end": 18683, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18624, "end": 18682, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 76 } }, "id": { "type": "Identifier", "start": 18624, "end": 18629, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 23 }, "identifierName": "angle" }, "name": "angle" }, "init": { "type": "BinaryExpression", "start": 18632, "end": 18682, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 76 } }, "left": { "type": "BinaryExpression", "start": 18632, "end": 18668, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 62 } }, "left": { "type": "CallExpression", "start": 18632, "end": 18649, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 18632, "end": 18647, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 41 } }, "object": { "type": "Identifier", "start": 18632, "end": 18641, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 35 }, "identifierName": "cameraPos" }, "name": "cameraPos" }, "property": { "type": "Identifier", "start": 18642, "end": 18647, "loc": { "start": { "line": 543, "column": 36 }, "end": { "line": 543, "column": 41 }, "identifierName": "angle" }, "name": "angle" }, "computed": false }, "arguments": [] }, "operator": "+", "right": { "type": "CallExpression", "start": 18652, "end": 18668, "loc": { "start": { "line": 543, "column": 46 }, "end": { "line": 543, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 18652, "end": 18664, "loc": { "start": { "line": 543, "column": 46 }, "end": { "line": 543, "column": 58 } }, "object": { "type": "Identifier", "start": 18652, "end": 18656, "loc": { "start": { "line": 543, "column": 46 }, "end": { "line": 543, "column": 50 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 18657, "end": 18664, "loc": { "start": { "line": 543, "column": 51 }, "end": { "line": 543, "column": 58 }, "identifierName": "radians" }, "name": "radians" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 18665, "end": 18667, "loc": { "start": { "line": 543, "column": 59 }, "end": { "line": 543, "column": 61 } }, "extra": { "rawValue": 45, "raw": "45" }, "value": 45 } ] } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 18671, "end": 18682, "loc": { "start": { "line": 543, "column": 65 }, "end": { "line": 543, "column": 76 } }, "left": { "type": "MemberExpression", "start": 18671, "end": 18678, "loc": { "start": { "line": 543, "column": 65 }, "end": { "line": 543, "column": 72 } }, "object": { "type": "Identifier", "start": 18671, "end": 18675, "loc": { "start": { "line": 543, "column": 65 }, "end": { "line": 543, "column": 69 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 18676, "end": 18678, "loc": { "start": { "line": 543, "column": 70 }, "end": { "line": 543, "column": 72 }, "identifierName": "PI" }, "name": "PI" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 18681, "end": 18682, "loc": { "start": { "line": 543, "column": 75 }, "end": { "line": 543, "column": 76 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 18697, "end": 18735, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 50 } }, "expression": { "type": "CallExpression", "start": 18697, "end": 18734, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 18697, "end": 18714, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 29 } }, "object": { "type": "Identifier", "start": 18697, "end": 18704, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18705, "end": 18714, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 29 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 18715, "end": 18723, "loc": { "start": { "line": 544, "column": 30 }, "end": { "line": 544, "column": 38 } }, "left": { "type": "Identifier", "start": 18715, "end": 18719, "loc": { "start": { "line": 544, "column": 30 }, "end": { "line": 544, "column": 34 }, "identifierName": "dims" }, "name": "dims" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 18722, "end": 18723, "loc": { "start": { "line": 544, "column": 37 }, "end": { "line": 544, "column": 38 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 18725, "end": 18733, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 48 } }, "left": { "type": "Identifier", "start": 18725, "end": 18729, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 44 }, "identifierName": "dims" }, "name": "dims" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 18732, "end": 18733, "loc": { "start": { "line": 544, "column": 47 }, "end": { "line": 544, "column": 48 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } }, { "type": "ExpressionStatement", "start": 18749, "end": 18771, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 34 } }, "expression": { "type": "CallExpression", "start": 18749, "end": 18770, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 18749, "end": 18763, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 26 } }, "object": { "type": "Identifier", "start": 18749, "end": 18756, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18757, "end": 18763, "loc": { "start": { "line": 545, "column": 20 }, "end": { "line": 545, "column": 26 }, "identifierName": "rotate" }, "name": "rotate" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18764, "end": 18769, "loc": { "start": { "line": 545, "column": 27 }, "end": { "line": 545, "column": 32 }, "identifierName": "angle" }, "name": "angle" } ] } }, { "type": "ExpressionStatement", "start": 18785, "end": 18858, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 85 } }, "expression": { "type": "CallExpression", "start": 18785, "end": 18857, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 18785, "end": 18827, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18785, "end": 18814, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 41 } }, "object": { "type": "ThisExpression", "start": 18785, "end": 18789, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 16 } } }, "property": { "type": "Identifier", "start": 18790, "end": 18814, "loc": { "start": { "line": 546, "column": 17 }, "end": { "line": 546, "column": 41 }, "identifierName": "directionIndicatorSprite" }, "name": "directionIndicatorSprite" }, "computed": false }, "property": { "type": "Identifier", "start": 18815, "end": 18827, "loc": { "start": { "line": 546, "column": 42 }, "end": { "line": 546, "column": 54 }, "identifierName": "drawCentered" }, "name": "drawCentered" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18828, "end": 18835, "loc": { "start": { "line": 546, "column": 55 }, "end": { "line": 546, "column": 62 }, "identifierName": "context" }, "name": "context" }, { "type": "NumericLiteral", "start": 18837, "end": 18838, "loc": { "start": { "line": 546, "column": 64 }, "end": { "line": 546, "column": 65 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 18840, "end": 18841, "loc": { "start": { "line": 546, "column": 67 }, "end": { "line": 546, "column": 68 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 18843, "end": 18856, "loc": { "start": { "line": 546, "column": 70 }, "end": { "line": 546, "column": 83 }, "identifierName": "indicatorSize" }, "name": "indicatorSize" } ] } }, { "type": "ExpressionStatement", "start": 18872, "end": 18895, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 35 } }, "expression": { "type": "CallExpression", "start": 18872, "end": 18894, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 18872, "end": 18886, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 26 } }, "object": { "type": "Identifier", "start": 18872, "end": 18879, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18880, "end": 18886, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 26 }, "identifierName": "rotate" }, "name": "rotate" }, "computed": false }, "arguments": [ { "type": "UnaryExpression", "start": 18887, "end": 18893, "loc": { "start": { "line": 547, "column": 27 }, "end": { "line": 547, "column": 33 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 18888, "end": 18893, "loc": { "start": { "line": 547, "column": 28 }, "end": { "line": 547, "column": 33 }, "identifierName": "angle" }, "name": "angle" }, "extra": { "parenthesizedArgument": false } } ] } }, { "type": "ExpressionStatement", "start": 18909, "end": 18949, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 52 } }, "expression": { "type": "CallExpression", "start": 18909, "end": 18948, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 18909, "end": 18926, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 29 } }, "object": { "type": "Identifier", "start": 18909, "end": 18916, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18917, "end": 18926, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "column": 29 }, "identifierName": "translate" }, "name": "translate" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 18927, "end": 18936, "loc": { "start": { "line": 548, "column": 30 }, "end": { "line": 548, "column": 39 } }, "left": { "type": "UnaryExpression", "start": 18927, "end": 18932, "loc": { "start": { "line": 548, "column": 30 }, "end": { "line": 548, "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 18928, "end": 18932, "loc": { "start": { "line": 548, "column": 31 }, "end": { "line": 548, "column": 35 }, "identifierName": "dims" }, "name": "dims" }, "extra": { "parenthesizedArgument": false } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 18935, "end": 18936, "loc": { "start": { "line": 548, "column": 38 }, "end": { "line": 548, "column": 39 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 18938, "end": 18947, "loc": { "start": { "line": 548, "column": 41 }, "end": { "line": 548, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 18938, "end": 18943, "loc": { "start": { "line": 548, "column": 41 }, "end": { "line": 548, "column": 46 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 18939, "end": 18943, "loc": { "start": { "line": 548, "column": 42 }, "end": { "line": 548, "column": 46 }, "identifierName": "dims" }, "name": "dims" }, "extra": { "parenthesizedArgument": false } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 18946, "end": 18947, "loc": { "start": { "line": 548, "column": 49 }, "end": { "line": 548, "column": 50 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } }, { "type": "ExpressionStatement", "start": 18963, "end": 18987, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 18963, "end": 18986, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18963, "end": 18982, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 31 } }, "object": { "type": "Identifier", "start": 18963, "end": 18970, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 18971, "end": 18982, "loc": { "start": { "line": 549, "column": 20 }, "end": { "line": 549, "column": 31 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 18985, "end": 18986, "loc": { "start": { "line": 549, "column": 34 }, "end": { "line": 549, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Render the compass", "start": 18470, "end": 18491, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Render the regualr icon", "start": 19010, "end": 19036, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 34 } } } ] }, { "type": "VariableDeclaration", "start": 19046, "end": 19097, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19052, "end": 19096, "loc": { "start": { "line": 553, "column": 14 }, "end": { "line": 553, "column": 58 } }, "id": { "type": "Identifier", "start": 19052, "end": 19063, "loc": { "start": { "line": 553, "column": 14 }, "end": { "line": 553, "column": 25 }, "identifierName": "iconOpacity" }, "name": "iconOpacity", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 19066, "end": 19096, "loc": { "start": { "line": 553, "column": 28 }, "end": { "line": 553, "column": 58 } }, "left": { "type": "NumericLiteral", "start": 19066, "end": 19067, "loc": { "start": { "line": 553, "column": 28 }, "end": { "line": 553, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "-", "right": { "type": "MemberExpression", "start": 19070, "end": 19096, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 58 } }, "object": { "type": "ThisExpression", "start": 19070, "end": 19074, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 36 } } }, "property": { "type": "Identifier", "start": 19075, "end": 19096, "loc": { "start": { "line": 553, "column": 37 }, "end": { "line": 553, "column": 58 }, "identifierName": "currentCompassOpacity" }, "name": "currentCompassOpacity" }, "computed": false } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Render the regualr icon", "start": 19010, "end": 19036, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19107, "end": 19326, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 558, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 19111, "end": 19129, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 30 } }, "left": { "type": "Identifier", "start": 19111, "end": 19122, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 23 }, "identifierName": "iconOpacity" }, "name": "iconOpacity" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 19125, "end": 19129, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 30 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } }, "consequent": { "type": "BlockStatement", "start": 19131, "end": 19326, "loc": { "start": { "line": 554, "column": 32 }, "end": { "line": 558, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 19146, "end": 19180, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 19146, "end": 19179, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19146, "end": 19165, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 31 } }, "object": { "type": "Identifier", "start": 19146, "end": 19153, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 19154, "end": 19165, "loc": { "start": { "line": 555, "column": 20 }, "end": { "line": 555, "column": 31 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "Identifier", "start": 19168, "end": 19179, "loc": { "start": { "line": 555, "column": 34 }, "end": { "line": 555, "column": 45 }, "identifierName": "iconOpacity" }, "name": "iconOpacity" } } }, { "type": "ExpressionStatement", "start": 19194, "end": 19277, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 95 } }, "expression": { "type": "CallExpression", "start": 19194, "end": 19276, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 19194, "end": 19235, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 53 } }, "object": { "type": "MemberExpression", "start": 19194, "end": 19222, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 40 } }, "object": { "type": "MemberExpression", "start": 19194, "end": 19214, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 32 } }, "object": { "type": "ThisExpression", "start": 19194, "end": 19198, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 16 } } }, "property": { "type": "Identifier", "start": 19199, "end": 19214, "loc": { "start": { "line": 556, "column": 17 }, "end": { "line": 556, "column": 32 }, "identifierName": "waypointSprites" }, "name": "waypointSprites" }, "computed": false }, "property": { "type": "Identifier", "start": 19215, "end": 19222, "loc": { "start": { "line": 556, "column": 33 }, "end": { "line": 556, "column": 40 }, "identifierName": "regular" }, "name": "regular" }, "computed": false }, "property": { "type": "Identifier", "start": 19223, "end": 19235, "loc": { "start": { "line": 556, "column": 41 }, "end": { "line": 556, "column": 53 }, "identifierName": "drawCentered" }, "name": "drawCentered" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19236, "end": 19243, "loc": { "start": { "line": 556, "column": 54 }, "end": { "line": 556, "column": 61 }, "identifierName": "context" }, "name": "context" }, { "type": "BinaryExpression", "start": 19245, "end": 19253, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 71 } }, "left": { "type": "Identifier", "start": 19245, "end": 19249, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 67 }, "identifierName": "dims" }, "name": "dims" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19252, "end": 19253, "loc": { "start": { "line": 556, "column": 70 }, "end": { "line": 556, "column": 71 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 19255, "end": 19263, "loc": { "start": { "line": 556, "column": 73 }, "end": { "line": 556, "column": 81 } }, "left": { "type": "Identifier", "start": 19255, "end": 19259, "loc": { "start": { "line": 556, "column": 73 }, "end": { "line": 556, "column": 77 }, "identifierName": "dims" }, "name": "dims" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19262, "end": 19263, "loc": { "start": { "line": 556, "column": 80 }, "end": { "line": 556, "column": 81 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 19265, "end": 19275, "loc": { "start": { "line": 556, "column": 83 }, "end": { "line": 556, "column": 93 } }, "left": { "type": "Identifier", "start": 19265, "end": 19269, "loc": { "start": { "line": 556, "column": 83 }, "end": { "line": 556, "column": 87 }, "identifierName": "dims" }, "name": "dims" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 19272, "end": 19275, "loc": { "start": { "line": 556, "column": 90 }, "end": { "line": 556, "column": 93 } }, "extra": { "rawValue": 0.7, "raw": "0.7" }, "value": 0.7 } } ] } }, { "type": "ExpressionStatement", "start": 19291, "end": 19315, "loc": { "start": { "line": 557, "column": 12 }, "end": { "line": 557, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 19291, "end": 19314, "loc": { "start": { "line": 557, "column": 12 }, "end": { "line": 557, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19291, "end": 19310, "loc": { "start": { "line": 557, "column": 12 }, "end": { "line": 557, "column": 31 } }, "object": { "type": "Identifier", "start": 19291, "end": 19298, "loc": { "start": { "line": 557, "column": 12 }, "end": { "line": 557, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 19299, "end": 19310, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 31 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 19313, "end": 19314, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rerenders the compass\r\n ", "start": 17811, "end": 17853, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the waypoints on the map\r\n * @param {DrawParameters} parameters\r\n ", "start": 19341, "end": 19435, "loc": { "start": { "line": 561, "column": 4 }, "end": { "line": 564, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 19441, "end": 22604, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 645, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19441, "end": 19453, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 565, "column": 16 }, "identifierName": "drawOverlays" }, "name": "drawOverlays", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19454, "end": 19464, "loc": { "start": { "line": 565, "column": 17 }, "end": { "line": 565, "column": 27 }, "identifierName": "parameters" }, "name": "parameters" } ], "body": { "type": "BlockStatement", "start": 19466, "end": 22604, "loc": { "start": { "line": 565, "column": 29 }, "end": { "line": 645, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 19477, "end": 19522, "loc": { "start": { "line": 566, "column": 8 }, "end": { "line": 566, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19483, "end": 19521, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 52 } }, "id": { "type": "Identifier", "start": 19483, "end": 19491, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 22 }, "identifierName": "mousePos" }, "name": "mousePos" }, "init": { "type": "MemberExpression", "start": 19494, "end": 19521, "loc": { "start": { "line": 566, "column": 25 }, "end": { "line": 566, "column": 52 } }, "object": { "type": "MemberExpression", "start": 19494, "end": 19507, "loc": { "start": { "line": 566, "column": 25 }, "end": { "line": 566, "column": 38 } }, "object": { "type": "MemberExpression", "start": 19494, "end": 19503, "loc": { "start": { "line": 566, "column": 25 }, "end": { "line": 566, "column": 34 } }, "object": { "type": "ThisExpression", "start": 19494, "end": 19498, "loc": { "start": { "line": 566, "column": 25 }, "end": { "line": 566, "column": 29 } } }, "property": { "type": "Identifier", "start": 19499, "end": 19503, "loc": { "start": { "line": 566, "column": 30 }, "end": { "line": 566, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19504, "end": 19507, "loc": { "start": { "line": 566, "column": 35 }, "end": { "line": 566, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 19508, "end": 19521, "loc": { "start": { "line": 566, "column": 39 }, "end": { "line": 566, "column": 52 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 19532, "end": 19604, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19538, "end": 19603, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 79 } }, "id": { "type": "Identifier", "start": 19538, "end": 19552, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 28 }, "identifierName": "desiredOpacity" }, "name": "desiredOpacity" }, "init": { "type": "ConditionalExpression", "start": 19555, "end": 19603, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 79 } }, "test": { "type": "CallExpression", "start": 19555, "end": 19595, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 19555, "end": 19593, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 69 } }, "object": { "type": "MemberExpression", "start": 19555, "end": 19571, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 47 } }, "object": { "type": "MemberExpression", "start": 19555, "end": 19564, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 40 } }, "object": { "type": "ThisExpression", "start": 19555, "end": 19559, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 35 } } }, "property": { "type": "Identifier", "start": 19560, "end": 19564, "loc": { "start": { "line": 567, "column": 36 }, "end": { "line": 567, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19565, "end": 19571, "loc": { "start": { "line": 567, "column": 41 }, "end": { "line": 567, "column": 47 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 19572, "end": 19593, "loc": { "start": { "line": 567, "column": 48 }, "end": { "line": 567, "column": 69 }, "identifierName": "getIsMapOverlayActive" }, "name": "getIsMapOverlayActive" }, "computed": false }, "arguments": [] }, "consequent": { "type": "NumericLiteral", "start": 19598, "end": 19599, "loc": { "start": { "line": 567, "column": 74 }, "end": { "line": 567, "column": 75 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "alternate": { "type": "NumericLiteral", "start": 19602, "end": 19603, "loc": { "start": { "line": 567, "column": 78 }, "end": { "line": 567, "column": 79 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 19614, "end": 19696, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 90 } }, "expression": { "type": "AssignmentExpression", "start": 19614, "end": 19695, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19614, "end": 19639, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19614, "end": 19618, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 12 } } }, "property": { "type": "Identifier", "start": 19619, "end": 19639, "loc": { "start": { "line": 568, "column": 13 }, "end": { "line": 568, "column": 33 }, "identifierName": "currentMarkerOpacity" }, "name": "currentMarkerOpacity" }, "computed": false }, "right": { "type": "CallExpression", "start": 19642, "end": 19695, "loc": { "start": { "line": 568, "column": 36 }, "end": { "line": 568, "column": 89 } }, "callee": { "type": "Identifier", "start": 19642, "end": 19646, "loc": { "start": { "line": 568, "column": 36 }, "end": { "line": 568, "column": 40 }, "identifierName": "lerp" }, "name": "lerp" }, "arguments": [ { "type": "MemberExpression", "start": 19647, "end": 19672, "loc": { "start": { "line": 568, "column": 41 }, "end": { "line": 568, "column": 66 } }, "object": { "type": "ThisExpression", "start": 19647, "end": 19651, "loc": { "start": { "line": 568, "column": 41 }, "end": { "line": 568, "column": 45 } } }, "property": { "type": "Identifier", "start": 19652, "end": 19672, "loc": { "start": { "line": 568, "column": 46 }, "end": { "line": 568, "column": 66 }, "identifierName": "currentMarkerOpacity" }, "name": "currentMarkerOpacity" }, "computed": false }, { "type": "Identifier", "start": 19674, "end": 19688, "loc": { "start": { "line": 568, "column": 68 }, "end": { "line": 568, "column": 82 }, "identifierName": "desiredOpacity" }, "name": "desiredOpacity" }, { "type": "NumericLiteral", "start": 19690, "end": 19694, "loc": { "start": { "line": 568, "column": 84 }, "end": { "line": 568, "column": 88 } }, "extra": { "rawValue": 0.08, "raw": "0.08" }, "value": 0.08 } ] } } }, { "type": "ExpressionStatement", "start": 19708, "end": 19740, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 40 } }, "expression": { "type": "CallExpression", "start": 19708, "end": 19739, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 19708, "end": 19737, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 37 } }, "object": { "type": "ThisExpression", "start": 19708, "end": 19712, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 12 } } }, "property": { "type": "Identifier", "start": 19713, "end": 19737, "loc": { "start": { "line": 570, "column": 13 }, "end": { "line": 570, "column": 37 }, "identifierName": "rerenderWaypointsCompass" }, "name": "rerenderWaypointsCompass" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Don't render with low opacity", "start": 19752, "end": 19784, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 40 } } } ] }, { "type": "IfStatement", "start": 19794, "end": 19865, "loc": { "start": { "line": 573, "column": 8 }, "end": { "line": 575, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 19798, "end": 19830, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 44 } }, "left": { "type": "MemberExpression", "start": 19798, "end": 19823, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 37 } }, "object": { "type": "ThisExpression", "start": 19798, "end": 19802, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19803, "end": 19823, "loc": { "start": { "line": 573, "column": 17 }, "end": { "line": 573, "column": 37 }, "identifierName": "currentMarkerOpacity" }, "name": "currentMarkerOpacity" }, "computed": false, "leadingComments": null }, "operator": "<", "right": { "type": "NumericLiteral", "start": 19826, "end": 19830, "loc": { "start": { "line": 573, "column": 40 }, "end": { "line": 573, "column": 44 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 19832, "end": 19865, "loc": { "start": { "line": 573, "column": 46 }, "end": { "line": 575, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 19847, "end": 19854, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 19 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Don't render with low opacity", "start": 19752, "end": 19784, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 40 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Determine rendering scale", "start": 19877, "end": 19905, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 36 } } } ] }, { "type": "VariableDeclaration", "start": 19915, "end": 19955, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19921, "end": 19954, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 47 } }, "id": { "type": "Identifier", "start": 19921, "end": 19926, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 19 }, "identifierName": "scale" }, "name": "scale", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19929, "end": 19954, "loc": { "start": { "line": 578, "column": 22 }, "end": { "line": 578, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 19929, "end": 19952, "loc": { "start": { "line": 578, "column": 22 }, "end": { "line": 578, "column": 45 } }, "object": { "type": "ThisExpression", "start": 19929, "end": 19933, "loc": { "start": { "line": 578, "column": 22 }, "end": { "line": 578, "column": 26 } } }, "property": { "type": "Identifier", "start": 19934, "end": 19952, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 45 }, "identifierName": "getWaypointUiScale" }, "name": "getWaypointUiScale" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Determine rendering scale", "start": 19877, "end": 19905, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 36 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set the font size", "start": 19967, "end": 19987, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 28 } } } ] }, { "type": "VariableDeclaration", "start": 19997, "end": 20034, "loc": { "start": { "line": 581, "column": 8 }, "end": { "line": 581, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20003, "end": 20033, "loc": { "start": { "line": 581, "column": 14 }, "end": { "line": 581, "column": 44 } }, "id": { "type": "Identifier", "start": 20003, "end": 20011, "loc": { "start": { "line": 581, "column": 14 }, "end": { "line": 581, "column": 22 }, "identifierName": "textSize" }, "name": "textSize", "leadingComments": null }, "init": { "type": "CallExpression", "start": 20014, "end": 20033, "loc": { "start": { "line": 581, "column": 25 }, "end": { "line": 581, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 20014, "end": 20031, "loc": { "start": { "line": 581, "column": 25 }, "end": { "line": 581, "column": 42 } }, "object": { "type": "ThisExpression", "start": 20014, "end": 20018, "loc": { "start": { "line": 581, "column": 25 }, "end": { "line": 581, "column": 29 } } }, "property": { "type": "Identifier", "start": 20019, "end": 20031, "loc": { "start": { "line": 581, "column": 30 }, "end": { "line": 581, "column": 42 }, "identifierName": "getTextScale" }, "name": "getTextScale" }, "computed": false }, "arguments": [] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Set the font size", "start": 19967, "end": 19987, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 28 } } } ] }, { "type": "ExpressionStatement", "start": 20044, "end": 20105, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 20044, "end": 20104, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 68 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20044, "end": 20067, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 31 } }, "object": { "type": "MemberExpression", "start": 20044, "end": 20062, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 26 } }, "object": { "type": "Identifier", "start": 20044, "end": 20054, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 20055, "end": 20062, "loc": { "start": { "line": 582, "column": 19 }, "end": { "line": 582, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 20063, "end": 20067, "loc": { "start": { "line": 582, "column": 27 }, "end": { "line": 582, "column": 31 }, "identifierName": "font" }, "name": "font" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20070, "end": 20104, "loc": { "start": { "line": 582, "column": 34 }, "end": { "line": 582, "column": 68 } }, "left": { "type": "BinaryExpression", "start": 20070, "end": 20088, "loc": { "start": { "line": 582, "column": 34 }, "end": { "line": 582, "column": 52 } }, "left": { "type": "StringLiteral", "start": 20070, "end": 20077, "loc": { "start": { "line": 582, "column": 34 }, "end": { "line": 582, "column": 41 } }, "extra": { "rawValue": "bold ", "raw": "\"bold \"" }, "value": "bold " }, "operator": "+", "right": { "type": "Identifier", "start": 20080, "end": 20088, "loc": { "start": { "line": 582, "column": 44 }, "end": { "line": 582, "column": 52 }, "identifierName": "textSize" }, "name": "textSize" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 20091, "end": 20104, "loc": { "start": { "line": 582, "column": 55 }, "end": { "line": 582, "column": 68 } }, "extra": { "rawValue": "px GameFont", "raw": "\"px GameFont\"" }, "value": "px GameFont" } } } }, { "type": "ExpressionStatement", "start": 20115, "end": 20158, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 20115, "end": 20157, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20115, "end": 20146, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 39 } }, "object": { "type": "MemberExpression", "start": 20115, "end": 20133, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 26 } }, "object": { "type": "Identifier", "start": 20115, "end": 20125, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 20126, "end": 20133, "loc": { "start": { "line": 583, "column": 19 }, "end": { "line": 583, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 20134, "end": 20146, "loc": { "start": { "line": 583, "column": 27 }, "end": { "line": 583, "column": 39 }, "identifierName": "textBaseline" }, "name": "textBaseline" }, "computed": false }, "right": { "type": "StringLiteral", "start": 20149, "end": 20157, "loc": { "start": { "line": 583, "column": 42 }, "end": { "line": 583, "column": 50 } }, "extra": { "rawValue": "middle", "raw": "\"middle\"" }, "value": "middle" } }, "trailingComments": [ { "type": "CommentLine", "value": " Loop over all waypoints", "start": 20170, "end": 20196, "loc": { "start": { "line": 585, "column": 8 }, "end": { "line": 585, "column": 34 } } } ] }, { "type": "ForStatement", "start": 20206, "end": 22493, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 641, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 20211, "end": 20220, "loc": { "start": { "line": 586, "column": 13 }, "end": { "line": 586, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20215, "end": 20220, "loc": { "start": { "line": 586, "column": 17 }, "end": { "line": 586, "column": 22 } }, "id": { "type": "Identifier", "start": 20215, "end": 20216, "loc": { "start": { "line": 586, "column": 17 }, "end": { "line": 586, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 20219, "end": 20220, "loc": { "start": { "line": 586, "column": 21 }, "end": { "line": 586, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 20222, "end": 20247, "loc": { "start": { "line": 586, "column": 24 }, "end": { "line": 586, "column": 49 } }, "left": { "type": "Identifier", "start": 20222, "end": 20223, "loc": { "start": { "line": 586, "column": 24 }, "end": { "line": 586, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 20226, "end": 20247, "loc": { "start": { "line": 586, "column": 28 }, "end": { "line": 586, "column": 49 } }, "object": { "type": "MemberExpression", "start": 20226, "end": 20240, "loc": { "start": { "line": 586, "column": 28 }, "end": { "line": 586, "column": 42 } }, "object": { "type": "ThisExpression", "start": 20226, "end": 20230, "loc": { "start": { "line": 586, "column": 28 }, "end": { "line": 586, "column": 32 } } }, "property": { "type": "Identifier", "start": 20231, "end": 20240, "loc": { "start": { "line": 586, "column": 33 }, "end": { "line": 586, "column": 42 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 20241, "end": 20247, "loc": { "start": { "line": 586, "column": 43 }, "end": { "line": 586, "column": 49 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 20249, "end": 20252, "loc": { "start": { "line": 586, "column": 51 }, "end": { "line": 586, "column": 54 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 20251, "end": 20252, "loc": { "start": { "line": 586, "column": 53 }, "end": { "line": 586, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 20254, "end": 22493, "loc": { "start": { "line": 586, "column": 56 }, "end": { "line": 641, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20269, "end": 20304, "loc": { "start": { "line": 587, "column": 12 }, "end": { "line": 587, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20275, "end": 20303, "loc": { "start": { "line": 587, "column": 18 }, "end": { "line": 587, "column": 46 } }, "id": { "type": "Identifier", "start": 20275, "end": 20283, "loc": { "start": { "line": 587, "column": 18 }, "end": { "line": 587, "column": 26 }, "identifierName": "waypoint" }, "name": "waypoint" }, "init": { "type": "MemberExpression", "start": 20286, "end": 20303, "loc": { "start": { "line": 587, "column": 29 }, "end": { "line": 587, "column": 46 } }, "object": { "type": "MemberExpression", "start": 20286, "end": 20300, "loc": { "start": { "line": 587, "column": 29 }, "end": { "line": 587, "column": 43 } }, "object": { "type": "ThisExpression", "start": 20286, "end": 20290, "loc": { "start": { "line": 587, "column": 29 }, "end": { "line": 587, "column": 33 } } }, "property": { "type": "Identifier", "start": 20291, "end": 20300, "loc": { "start": { "line": 587, "column": 34 }, "end": { "line": 587, "column": 43 }, "identifierName": "waypoints" }, "name": "waypoints" }, "computed": false }, "property": { "type": "Identifier", "start": 20301, "end": 20302, "loc": { "start": { "line": 587, "column": 44 }, "end": { "line": 587, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20320, "end": 20380, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 589, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20326, "end": 20379, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 71 } }, "id": { "type": "Identifier", "start": 20326, "end": 20338, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 30 }, "identifierName": "waypointData" }, "name": "waypointData" }, "init": { "type": "CallExpression", "start": 20341, "end": 20379, "loc": { "start": { "line": 589, "column": 33 }, "end": { "line": 589, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 20341, "end": 20369, "loc": { "start": { "line": 589, "column": 33 }, "end": { "line": 589, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20341, "end": 20345, "loc": { "start": { "line": 589, "column": 33 }, "end": { "line": 589, "column": 37 } } }, "property": { "type": "Identifier", "start": 20346, "end": 20369, "loc": { "start": { "line": 589, "column": 38 }, "end": { "line": 589, "column": 61 }, "identifierName": "getWaypointScreenParams" }, "name": "getWaypointScreenParams" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20370, "end": 20378, "loc": { "start": { "line": 589, "column": 62 }, "end": { "line": 589, "column": 70 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 20394, "end": 20489, "loc": { "start": { "line": 590, "column": 12 }, "end": { "line": 593, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 20398, "end": 20411, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 20399, "end": 20411, "loc": { "start": { "line": 590, "column": 17 }, "end": { "line": 590, "column": 29 }, "identifierName": "waypointData" }, "name": "waypointData" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 20413, "end": 20489, "loc": { "start": { "line": 590, "column": 31 }, "end": { "line": 593, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 20465, "end": 20474, "loc": { "start": { "line": 592, "column": 16 }, "end": { "line": 592, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Not relevant", "start": 20432, "end": 20447, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 31 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 20505, "end": 20651, "loc": { "start": { "line": 595, "column": 12 }, "end": { "line": 598, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 20509, "end": 20572, "loc": { "start": { "line": 595, "column": 16 }, "end": { "line": 595, "column": 79 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 20510, "end": 20572, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 20510, "end": 20545, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 52 } }, "object": { "type": "MemberExpression", "start": 20510, "end": 20532, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 39 } }, "object": { "type": "Identifier", "start": 20510, "end": 20520, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 27 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 20521, "end": 20532, "loc": { "start": { "line": 595, "column": 28 }, "end": { "line": 595, "column": 39 }, "identifierName": "visibleRect" }, "name": "visibleRect" }, "computed": false }, "property": { "type": "Identifier", "start": 20533, "end": 20545, "loc": { "start": { "line": 595, "column": 40 }, "end": { "line": 595, "column": 52 }, "identifierName": "containsRect" }, "name": "containsRect" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20546, "end": 20571, "loc": { "start": { "line": 595, "column": 53 }, "end": { "line": 595, "column": 78 } }, "object": { "type": "Identifier", "start": 20546, "end": 20558, "loc": { "start": { "line": 595, "column": 53 }, "end": { "line": 595, "column": 65 }, "identifierName": "waypointData" }, "name": "waypointData" }, "property": { "type": "Identifier", "start": 20559, "end": 20571, "loc": { "start": { "line": 595, "column": 66 }, "end": { "line": 595, "column": 78 }, "identifierName": "screenBounds" }, "name": "screenBounds" }, "computed": false } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 20574, "end": 20651, "loc": { "start": { "line": 595, "column": 81 }, "end": { "line": 598, "column": 13 } }, "body": [ { "type": "ContinueStatement", "start": 20627, "end": 20636, "loc": { "start": { "line": 597, "column": 16 }, "end": { "line": 597, "column": 25 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Out of screen", "start": 20593, "end": 20609, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 32 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 20667, "end": 20708, "loc": { "start": { "line": 600, "column": 12 }, "end": { "line": 600, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20673, "end": 20707, "loc": { "start": { "line": 600, "column": 18 }, "end": { "line": 600, "column": 52 } }, "id": { "type": "Identifier", "start": 20673, "end": 20679, "loc": { "start": { "line": 600, "column": 18 }, "end": { "line": 600, "column": 24 }, "identifierName": "bounds" }, "name": "bounds" }, "init": { "type": "MemberExpression", "start": 20682, "end": 20707, "loc": { "start": { "line": 600, "column": 27 }, "end": { "line": 600, "column": 52 } }, "object": { "type": "Identifier", "start": 20682, "end": 20694, "loc": { "start": { "line": 600, "column": 27 }, "end": { "line": 600, "column": 39 }, "identifierName": "waypointData" }, "name": "waypointData" }, "property": { "type": "Identifier", "start": 20695, "end": 20707, "loc": { "start": { "line": 600, "column": 40 }, "end": { "line": 600, "column": 52 }, "identifierName": "screenBounds" }, "name": "screenBounds" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20722, "end": 20756, "loc": { "start": { "line": 601, "column": 12 }, "end": { "line": 601, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20728, "end": 20755, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 45 } }, "id": { "type": "Identifier", "start": 20728, "end": 20743, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 33 }, "identifierName": "contentPaddingX" }, "name": "contentPaddingX" }, "init": { "type": "BinaryExpression", "start": 20746, "end": 20755, "loc": { "start": { "line": 601, "column": 36 }, "end": { "line": 601, "column": 45 } }, "left": { "type": "NumericLiteral", "start": 20746, "end": 20747, "loc": { "start": { "line": 601, "column": 36 }, "end": { "line": 601, "column": 37 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, "operator": "*", "right": { "type": "Identifier", "start": 20750, "end": 20755, "loc": { "start": { "line": 601, "column": 40 }, "end": { "line": 601, "column": 45 }, "identifierName": "scale" }, "name": "scale" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 20770, "end": 20846, "loc": { "start": { "line": 602, "column": 12 }, "end": { "line": 602, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20776, "end": 20845, "loc": { "start": { "line": 602, "column": 18 }, "end": { "line": 602, "column": 87 } }, "id": { "type": "Identifier", "start": 20776, "end": 20786, "loc": { "start": { "line": 602, "column": 18 }, "end": { "line": 602, "column": 28 }, "identifierName": "isSelected" }, "name": "isSelected" }, "init": { "type": "LogicalExpression", "start": 20789, "end": 20845, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 87 } }, "left": { "type": "Identifier", "start": 20789, "end": 20797, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 39 }, "identifierName": "mousePos" }, "name": "mousePos" }, "operator": "&&", "right": { "type": "CallExpression", "start": 20801, "end": 20845, "loc": { "start": { "line": 602, "column": 43 }, "end": { "line": 602, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 20801, "end": 20821, "loc": { "start": { "line": 602, "column": 43 }, "end": { "line": 602, "column": 63 } }, "object": { "type": "Identifier", "start": 20801, "end": 20807, "loc": { "start": { "line": 602, "column": 43 }, "end": { "line": 602, "column": 49 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 20808, "end": 20821, "loc": { "start": { "line": 602, "column": 50 }, "end": { "line": 602, "column": 63 }, "identifierName": "containsPoint" }, "name": "containsPoint" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20822, "end": 20832, "loc": { "start": { "line": 602, "column": 64 }, "end": { "line": 602, "column": 74 } }, "object": { "type": "Identifier", "start": 20822, "end": 20830, "loc": { "start": { "line": 602, "column": 64 }, "end": { "line": 602, "column": 72 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 20831, "end": 20832, "loc": { "start": { "line": 602, "column": 73 }, "end": { "line": 602, "column": 74 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 20834, "end": 20844, "loc": { "start": { "line": 602, "column": 76 }, "end": { "line": 602, "column": 86 } }, "object": { "type": "Identifier", "start": 20834, "end": 20842, "loc": { "start": { "line": 602, "column": 76 }, "end": { "line": 602, "column": 84 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 20843, "end": 20844, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 86 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Render the background rectangle", "start": 20862, "end": 20896, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 46 } } } ] }, { "type": "ExpressionStatement", "start": 20910, "end": 20994, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 96 } }, "expression": { "type": "AssignmentExpression", "start": 20910, "end": 20993, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 95 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20910, "end": 20940, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 42 } }, "object": { "type": "MemberExpression", "start": 20910, "end": 20928, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 30 } }, "object": { "type": "Identifier", "start": 20910, "end": 20920, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 22 }, "identifierName": "parameters" }, "name": "parameters", "leadingComments": null }, "property": { "type": "Identifier", "start": 20921, "end": 20928, "loc": { "start": { "line": 605, "column": 23 }, "end": { "line": 605, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20929, "end": 20940, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 42 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false, "leadingComments": null }, "right": { "type": "BinaryExpression", "start": 20943, "end": 20993, "loc": { "start": { "line": 605, "column": 45 }, "end": { "line": 605, "column": 95 } }, "left": { "type": "MemberExpression", "start": 20943, "end": 20968, "loc": { "start": { "line": 605, "column": 45 }, "end": { "line": 605, "column": 70 } }, "object": { "type": "ThisExpression", "start": 20943, "end": 20947, "loc": { "start": { "line": 605, "column": 45 }, "end": { "line": 605, "column": 49 } } }, "property": { "type": "Identifier", "start": 20948, "end": 20968, "loc": { "start": { "line": 605, "column": 50 }, "end": { "line": 605, "column": 70 }, "identifierName": "currentMarkerOpacity" }, "name": "currentMarkerOpacity" }, "computed": false }, "operator": "*", "right": { "type": "ConditionalExpression", "start": 20972, "end": 20992, "loc": { "start": { "line": 605, "column": 74 }, "end": { "line": 605, "column": 94 } }, "test": { "type": "Identifier", "start": 20972, "end": 20982, "loc": { "start": { "line": 605, "column": 74 }, "end": { "line": 605, "column": 84 }, "identifierName": "isSelected" }, "name": "isSelected" }, "consequent": { "type": "NumericLiteral", "start": 20985, "end": 20986, "loc": { "start": { "line": 605, "column": 87 }, "end": { "line": 605, "column": 88 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "alternate": { "type": "NumericLiteral", "start": 20989, "end": 20992, "loc": { "start": { "line": 605, "column": 91 }, "end": { "line": 605, "column": 94 } }, "extra": { "rawValue": 0.7, "raw": "0.7" }, "value": 0.7 }, "extra": { "parenthesized": true, "parenStart": 20971 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Render the background rectangle", "start": 20862, "end": 20896, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 46 } } } ] }, { "type": "ExpressionStatement", "start": 21008, "end": 21066, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 21008, "end": 21065, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21008, "end": 21036, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 40 } }, "object": { "type": "MemberExpression", "start": 21008, "end": 21026, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 30 } }, "object": { "type": "Identifier", "start": 21008, "end": 21018, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 21019, "end": 21026, "loc": { "start": { "line": 606, "column": 23 }, "end": { "line": 606, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 21027, "end": 21036, "loc": { "start": { "line": 606, "column": 31 }, "end": { "line": 606, "column": 40 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21039, "end": 21065, "loc": { "start": { "line": 606, "column": 43 }, "end": { "line": 606, "column": 69 } }, "extra": { "rawValue": "rgba(255, 255, 255, 0.7)", "raw": "\"rgba(255, 255, 255, 0.7)\"" }, "value": "rgba(255, 255, 255, 0.7)" } } }, { "type": "ExpressionStatement", "start": 21080, "end": 21148, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 80 } }, "expression": { "type": "CallExpression", "start": 21080, "end": 21147, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 21080, "end": 21107, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 39 } }, "object": { "type": "MemberExpression", "start": 21080, "end": 21098, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 30 } }, "object": { "type": "Identifier", "start": 21080, "end": 21090, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 21091, "end": 21098, "loc": { "start": { "line": 607, "column": 23 }, "end": { "line": 607, "column": 30 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 21099, "end": 21107, "loc": { "start": { "line": 607, "column": 31 }, "end": { "line": 607, "column": 39 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21108, "end": 21116, "loc": { "start": { "line": 607, "column": 40 }, "end": { "line": 607, "column": 48 } }, "object": { "type": "Identifier", "start": 21108, "end": 21114, "loc": { "start": { "line": 607, "column": 40 }, "end": { "line": 607, "column": 46 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21115, "end": 21116, "loc": { "start": { "line": 607, "column": 47 }, "end": { "line": 607, "column": 48 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 21118, "end": 21126, "loc": { "start": { "line": 607, "column": 50 }, "end": { "line": 607, "column": 58 } }, "object": { "type": "Identifier", "start": 21118, "end": 21124, "loc": { "start": { "line": 607, "column": 50 }, "end": { "line": 607, "column": 56 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21125, "end": 21126, "loc": { "start": { "line": 607, "column": 57 }, "end": { "line": 607, "column": 58 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "MemberExpression", "start": 21128, "end": 21136, "loc": { "start": { "line": 607, "column": 60 }, "end": { "line": 607, "column": 68 } }, "object": { "type": "Identifier", "start": 21128, "end": 21134, "loc": { "start": { "line": 607, "column": 60 }, "end": { "line": 607, "column": 66 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21135, "end": 21136, "loc": { "start": { "line": 607, "column": 67 }, "end": { "line": 607, "column": 68 }, "identifierName": "w" }, "name": "w" }, "computed": false }, { "type": "MemberExpression", "start": 21138, "end": 21146, "loc": { "start": { "line": 607, "column": 70 }, "end": { "line": 607, "column": 78 } }, "object": { "type": "Identifier", "start": 21138, "end": 21144, "loc": { "start": { "line": 607, "column": 70 }, "end": { "line": 607, "column": 76 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21145, "end": 21146, "loc": { "start": { "line": 607, "column": 77 }, "end": { "line": 607, "column": 78 }, "identifierName": "h" }, "name": "h" }, "computed": false } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Render the text", "start": 21164, "end": 21182, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 30 } } } ] }, { "type": "IfStatement", "start": 21196, "end": 22194, "loc": { "start": { "line": 610, "column": 12 }, "end": { "line": 632, "column": 13 } }, "test": { "type": "MemberExpression", "start": 21200, "end": 21217, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 33 } }, "object": { "type": "Identifier", "start": 21200, "end": 21212, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 28 }, "identifierName": "waypointData" }, "name": "waypointData", "leadingComments": null }, "property": { "type": "Identifier", "start": 21213, "end": 21217, "loc": { "start": { "line": 610, "column": 29 }, "end": { "line": 610, "column": 33 }, "identifierName": "item" }, "name": "item" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21219, "end": 21626, "loc": { "start": { "line": 610, "column": 35 }, "end": { "line": 620, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 21238, "end": 21286, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21244, "end": 21285, "loc": { "start": { "line": 611, "column": 22 }, "end": { "line": 611, "column": 63 } }, "id": { "type": "Identifier", "start": 21244, "end": 21250, "loc": { "start": { "line": 611, "column": 22 }, "end": { "line": 611, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "init": { "type": "CallExpression", "start": 21253, "end": 21285, "loc": { "start": { "line": 611, "column": 31 }, "end": { "line": 611, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 21253, "end": 21275, "loc": { "start": { "line": 611, "column": 31 }, "end": { "line": 611, "column": 53 } }, "object": { "type": "ThisExpression", "start": 21253, "end": 21257, "loc": { "start": { "line": 611, "column": 31 }, "end": { "line": 611, "column": 35 } } }, "property": { "type": "Identifier", "start": 21258, "end": 21275, "loc": { "start": { "line": 611, "column": 36 }, "end": { "line": 611, "column": 53 }, "identifierName": "getWaypointCanvas" }, "name": "getWaypointCanvas" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21276, "end": 21284, "loc": { "start": { "line": 611, "column": 54 }, "end": { "line": 611, "column": 62 }, "identifierName": "waypoint" }, "name": "waypoint" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 21304, "end": 21332, "loc": { "start": { "line": 612, "column": 16 }, "end": { "line": 612, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21310, "end": 21331, "loc": { "start": { "line": 612, "column": 22 }, "end": { "line": 612, "column": 43 } }, "id": { "type": "Identifier", "start": 21310, "end": 21318, "loc": { "start": { "line": 612, "column": 22 }, "end": { "line": 612, "column": 30 }, "identifierName": "itemSize" }, "name": "itemSize" }, "init": { "type": "BinaryExpression", "start": 21321, "end": 21331, "loc": { "start": { "line": 612, "column": 33 }, "end": { "line": 612, "column": 43 } }, "left": { "type": "NumericLiteral", "start": 21321, "end": 21323, "loc": { "start": { "line": 612, "column": 33 }, "end": { "line": 612, "column": 35 } }, "extra": { "rawValue": 14, "raw": "14" }, "value": 14 }, "operator": "*", "right": { "type": "Identifier", "start": 21326, "end": 21331, "loc": { "start": { "line": 612, "column": 38 }, "end": { "line": 612, "column": 43 }, "identifierName": "scale" }, "name": "scale" } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 21350, "end": 21611, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 619, "column": 18 } }, "expression": { "type": "CallExpression", "start": 21350, "end": 21610, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 619, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 21350, "end": 21378, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 613, "column": 44 } }, "object": { "type": "MemberExpression", "start": 21350, "end": 21368, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 613, "column": 34 } }, "object": { "type": "Identifier", "start": 21350, "end": 21360, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 613, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 21361, "end": 21368, "loc": { "start": { "line": 613, "column": 27 }, "end": { "line": 613, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 21369, "end": 21378, "loc": { "start": { "line": 613, "column": 35 }, "end": { "line": 613, "column": 44 }, "identifierName": "drawImage" }, "name": "drawImage" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 21401, "end": 21407, "loc": { "start": { "line": 614, "column": 20 }, "end": { "line": 614, "column": 26 }, "identifierName": "canvas" }, "name": "canvas" }, { "type": "BinaryExpression", "start": 21430, "end": 21468, "loc": { "start": { "line": 615, "column": 20 }, "end": { "line": 615, "column": 58 } }, "left": { "type": "BinaryExpression", "start": 21430, "end": 21456, "loc": { "start": { "line": 615, "column": 20 }, "end": { "line": 615, "column": 46 } }, "left": { "type": "MemberExpression", "start": 21430, "end": 21438, "loc": { "start": { "line": 615, "column": 20 }, "end": { "line": 615, "column": 28 } }, "object": { "type": "Identifier", "start": 21430, "end": 21436, "loc": { "start": { "line": 615, "column": 20 }, "end": { "line": 615, "column": 26 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21437, "end": 21438, "loc": { "start": { "line": 615, "column": 27 }, "end": { "line": 615, "column": 28 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 21441, "end": 21456, "loc": { "start": { "line": 615, "column": 31 }, "end": { "line": 615, "column": 46 }, "identifierName": "contentPaddingX" }, "name": "contentPaddingX" } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 21459, "end": 21468, "loc": { "start": { "line": 615, "column": 49 }, "end": { "line": 615, "column": 58 } }, "left": { "type": "NumericLiteral", "start": 21459, "end": 21460, "loc": { "start": { "line": 615, "column": 49 }, "end": { "line": 615, "column": 50 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, "operator": "*", "right": { "type": "Identifier", "start": 21463, "end": 21468, "loc": { "start": { "line": 615, "column": 53 }, "end": { "line": 615, "column": 58 }, "identifierName": "scale" }, "name": "scale" } } }, { "type": "BinaryExpression", "start": 21491, "end": 21529, "loc": { "start": { "line": 616, "column": 20 }, "end": { "line": 616, "column": 58 } }, "left": { "type": "BinaryExpression", "start": 21491, "end": 21514, "loc": { "start": { "line": 616, "column": 20 }, "end": { "line": 616, "column": 43 } }, "left": { "type": "MemberExpression", "start": 21491, "end": 21499, "loc": { "start": { "line": 616, "column": 20 }, "end": { "line": 616, "column": 28 } }, "object": { "type": "Identifier", "start": 21491, "end": 21497, "loc": { "start": { "line": 616, "column": 20 }, "end": { "line": 616, "column": 26 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21498, "end": 21499, "loc": { "start": { "line": 616, "column": 27 }, "end": { "line": 616, "column": 28 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 21502, "end": 21514, "loc": { "start": { "line": 616, "column": 31 }, "end": { "line": 616, "column": 43 } }, "left": { "type": "MemberExpression", "start": 21502, "end": 21510, "loc": { "start": { "line": 616, "column": 31 }, "end": { "line": 616, "column": 39 } }, "object": { "type": "Identifier", "start": 21502, "end": 21508, "loc": { "start": { "line": 616, "column": 31 }, "end": { "line": 616, "column": 37 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21509, "end": 21510, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 39 }, "identifierName": "h" }, "name": "h" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 21513, "end": 21514, "loc": { "start": { "line": 616, "column": 42 }, "end": { "line": 616, "column": 43 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "operator": "-", "right": { "type": "BinaryExpression", "start": 21517, "end": 21529, "loc": { "start": { "line": 616, "column": 46 }, "end": { "line": 616, "column": 58 } }, "left": { "type": "Identifier", "start": 21517, "end": 21525, "loc": { "start": { "line": 616, "column": 46 }, "end": { "line": 616, "column": 54 }, "identifierName": "itemSize" }, "name": "itemSize" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 21528, "end": 21529, "loc": { "start": { "line": 616, "column": 57 }, "end": { "line": 616, "column": 58 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, { "type": "Identifier", "start": 21552, "end": 21560, "loc": { "start": { "line": 617, "column": 20 }, "end": { "line": 617, "column": 28 }, "identifierName": "itemSize" }, "name": "itemSize" }, { "type": "Identifier", "start": 21583, "end": 21591, "loc": { "start": { "line": 618, "column": 20 }, "end": { "line": 618, "column": 28 }, "identifierName": "itemSize" }, "name": "itemSize" } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 21632, "end": 22194, "loc": { "start": { "line": 620, "column": 19 }, "end": { "line": 632, "column": 13 } }, "test": { "type": "MemberExpression", "start": 21636, "end": 21653, "loc": { "start": { "line": 620, "column": 23 }, "end": { "line": 620, "column": 40 } }, "object": { "type": "Identifier", "start": 21636, "end": 21648, "loc": { "start": { "line": 620, "column": 23 }, "end": { "line": 620, "column": 35 }, "identifierName": "waypointData" }, "name": "waypointData" }, "property": { "type": "Identifier", "start": 21649, "end": 21653, "loc": { "start": { "line": 620, "column": 36 }, "end": { "line": 620, "column": 40 }, "identifierName": "text" }, "name": "text" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 21655, "end": 22101, "loc": { "start": { "line": 620, "column": 42 }, "end": { "line": 630, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 21710, "end": 21748, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 21710, "end": 21747, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21710, "end": 21738, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 44 } }, "object": { "type": "MemberExpression", "start": 21710, "end": 21728, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 34 } }, "object": { "type": "Identifier", "start": 21710, "end": 21720, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 26 }, "identifierName": "parameters" }, "name": "parameters", "leadingComments": null }, "property": { "type": "Identifier", "start": 21721, "end": 21728, "loc": { "start": { "line": 622, "column": 27 }, "end": { "line": 622, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21729, "end": 21738, "loc": { "start": { "line": 622, "column": 35 }, "end": { "line": 622, "column": 44 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 21741, "end": 21747, "loc": { "start": { "line": 622, "column": 47 }, "end": { "line": 622, "column": 53 } }, "extra": { "rawValue": "#000", "raw": "\"#000\"" }, "value": "#000" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Render the text", "start": 21674, "end": 21692, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 21766, "end": 21809, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 21766, "end": 21808, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21766, "end": 21797, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21766, "end": 21784, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 34 } }, "object": { "type": "Identifier", "start": 21766, "end": 21776, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 21777, "end": 21784, "loc": { "start": { "line": 623, "column": 27 }, "end": { "line": 623, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 21785, "end": 21797, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 47 }, "identifierName": "textBaseline" }, "name": "textBaseline" }, "computed": false }, "right": { "type": "StringLiteral", "start": 21800, "end": 21808, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 58 } }, "extra": { "rawValue": "middle", "raw": "\"middle\"" }, "value": "middle" } } }, { "type": "ExpressionStatement", "start": 21827, "end": 22021, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 628, "column": 18 } }, "expression": { "type": "CallExpression", "start": 21827, "end": 22020, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 628, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 21827, "end": 21854, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 43 } }, "object": { "type": "MemberExpression", "start": 21827, "end": 21845, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 34 } }, "object": { "type": "Identifier", "start": 21827, "end": 21837, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 21838, "end": 21845, "loc": { "start": { "line": 624, "column": 27 }, "end": { "line": 624, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 21846, "end": 21854, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 43 }, "identifierName": "fillText" }, "name": "fillText" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21877, "end": 21894, "loc": { "start": { "line": 625, "column": 20 }, "end": { "line": 625, "column": 37 } }, "object": { "type": "Identifier", "start": 21877, "end": 21889, "loc": { "start": { "line": 625, "column": 20 }, "end": { "line": 625, "column": 32 }, "identifierName": "waypointData" }, "name": "waypointData" }, "property": { "type": "Identifier", "start": 21890, "end": 21894, "loc": { "start": { "line": 625, "column": 33 }, "end": { "line": 625, "column": 37 }, "identifierName": "text" }, "name": "text" }, "computed": false }, { "type": "BinaryExpression", "start": 21917, "end": 21955, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 58 } }, "left": { "type": "BinaryExpression", "start": 21917, "end": 21943, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 46 } }, "left": { "type": "MemberExpression", "start": 21917, "end": 21925, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 28 } }, "object": { "type": "Identifier", "start": 21917, "end": 21923, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 26 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21924, "end": 21925, "loc": { "start": { "line": 626, "column": 27 }, "end": { "line": 626, "column": 28 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 21928, "end": 21943, "loc": { "start": { "line": 626, "column": 31 }, "end": { "line": 626, "column": 46 }, "identifierName": "contentPaddingX" }, "name": "contentPaddingX" } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 21946, "end": 21955, "loc": { "start": { "line": 626, "column": 49 }, "end": { "line": 626, "column": 58 } }, "left": { "type": "NumericLiteral", "start": 21946, "end": 21947, "loc": { "start": { "line": 626, "column": 49 }, "end": { "line": 626, "column": 50 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, "operator": "*", "right": { "type": "Identifier", "start": 21950, "end": 21955, "loc": { "start": { "line": 626, "column": 53 }, "end": { "line": 626, "column": 58 }, "identifierName": "scale" }, "name": "scale" } } }, { "type": "BinaryExpression", "start": 21978, "end": 22001, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "column": 43 } }, "left": { "type": "MemberExpression", "start": 21978, "end": 21986, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "column": 28 } }, "object": { "type": "Identifier", "start": 21978, "end": 21984, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "column": 26 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21985, "end": 21986, "loc": { "start": { "line": 627, "column": 27 }, "end": { "line": 627, "column": 28 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 21989, "end": 22001, "loc": { "start": { "line": 627, "column": 31 }, "end": { "line": 627, "column": 43 } }, "left": { "type": "MemberExpression", "start": 21989, "end": 21997, "loc": { "start": { "line": 627, "column": 31 }, "end": { "line": 627, "column": 39 } }, "object": { "type": "Identifier", "start": 21989, "end": 21995, "loc": { "start": { "line": 627, "column": 31 }, "end": { "line": 627, "column": 37 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 21996, "end": 21997, "loc": { "start": { "line": 627, "column": 38 }, "end": { "line": 627, "column": 39 }, "identifierName": "h" }, "name": "h" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 22000, "end": 22001, "loc": { "start": { "line": 627, "column": 42 }, "end": { "line": 627, "column": 43 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } ] } }, { "type": "ExpressionStatement", "start": 22039, "end": 22086, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 22039, "end": 22085, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22039, "end": 22070, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 47 } }, "object": { "type": "MemberExpression", "start": 22039, "end": 22057, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 34 } }, "object": { "type": "Identifier", "start": 22039, "end": 22049, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 22050, "end": 22057, "loc": { "start": { "line": 629, "column": 27 }, "end": { "line": 629, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 22058, "end": 22070, "loc": { "start": { "line": 629, "column": 35 }, "end": { "line": 629, "column": 47 }, "identifierName": "textBaseline" }, "name": "textBaseline" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22073, "end": 22085, "loc": { "start": { "line": 629, "column": 50 }, "end": { "line": 629, "column": 62 } }, "extra": { "rawValue": "alphabetic", "raw": "\"alphabetic\"" }, "value": "alphabetic" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22107, "end": 22194, "loc": { "start": { "line": 630, "column": 19 }, "end": { "line": 632, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 22126, "end": 22179, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 631, "column": 69 } }, "expression": { "type": "CallExpression", "start": 22126, "end": 22178, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 631, "column": 68 } }, "callee": { "type": "Identifier", "start": 22126, "end": 22138, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 631, "column": 28 }, "identifierName": "assertAlways" }, "name": "assertAlways" }, "arguments": [ { "type": "BooleanLiteral", "start": 22139, "end": 22144, "loc": { "start": { "line": 631, "column": 29 }, "end": { "line": 631, "column": 34 } }, "value": false }, { "type": "StringLiteral", "start": 22146, "end": 22177, "loc": { "start": { "line": 631, "column": 36 }, "end": { "line": 631, "column": 67 } }, "extra": { "rawValue": "Waypoint has no item and text", "raw": "\"Waypoint has no item and text\"" }, "value": "Waypoint has no item and text" } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Render the text", "start": 21164, "end": 21182, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 30 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Render the small icon on the left", "start": 22210, "end": 22246, "loc": { "start": { "line": 634, "column": 12 }, "end": { "line": 634, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 22260, "end": 22482, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 640, "column": 14 } }, "expression": { "type": "CallExpression", "start": 22260, "end": 22481, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 640, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 22260, "end": 22309, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 61 } }, "object": { "type": "MemberExpression", "start": 22260, "end": 22296, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 48 } }, "object": { "type": "MemberExpression", "start": 22260, "end": 22280, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 32 } }, "object": { "type": "ThisExpression", "start": 22260, "end": 22264, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22265, "end": 22280, "loc": { "start": { "line": 635, "column": 17 }, "end": { "line": 635, "column": 32 }, "identifierName": "waypointSprites" }, "name": "waypointSprites" }, "computed": false, "leadingComments": null }, "property": { "type": "MemberExpression", "start": 22281, "end": 22295, "loc": { "start": { "line": 635, "column": 33 }, "end": { "line": 635, "column": 47 } }, "object": { "type": "Identifier", "start": 22281, "end": 22289, "loc": { "start": { "line": 635, "column": 33 }, "end": { "line": 635, "column": 41 }, "identifierName": "waypoint" }, "name": "waypoint" }, "property": { "type": "Identifier", "start": 22290, "end": 22295, "loc": { "start": { "line": 635, "column": 42 }, "end": { "line": 635, "column": 47 }, "identifierName": "layer" }, "name": "layer" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22297, "end": 22309, "loc": { "start": { "line": 635, "column": 49 }, "end": { "line": 635, "column": 61 }, "identifierName": "drawCentered" }, "name": "drawCentered" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 22328, "end": 22346, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 34 } }, "object": { "type": "Identifier", "start": 22328, "end": 22338, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 22339, "end": 22346, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, { "type": "BinaryExpression", "start": 22365, "end": 22391, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 42 } }, "left": { "type": "MemberExpression", "start": 22365, "end": 22373, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 24 } }, "object": { "type": "Identifier", "start": 22365, "end": 22371, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 22 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 22372, "end": 22373, "loc": { "start": { "line": 637, "column": 23 }, "end": { "line": 637, "column": 24 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 22376, "end": 22391, "loc": { "start": { "line": 637, "column": 27 }, "end": { "line": 637, "column": 42 }, "identifierName": "contentPaddingX" }, "name": "contentPaddingX" } }, { "type": "BinaryExpression", "start": 22410, "end": 22433, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 39 } }, "left": { "type": "MemberExpression", "start": 22410, "end": 22418, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 24 } }, "object": { "type": "Identifier", "start": 22410, "end": 22416, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 22 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 22417, "end": 22418, "loc": { "start": { "line": 638, "column": 23 }, "end": { "line": 638, "column": 24 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 22421, "end": 22433, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 39 } }, "left": { "type": "MemberExpression", "start": 22421, "end": 22429, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 35 } }, "object": { "type": "Identifier", "start": 22421, "end": 22427, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 33 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 22428, "end": 22429, "loc": { "start": { "line": 638, "column": 34 }, "end": { "line": 638, "column": 35 }, "identifierName": "h" }, "name": "h" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 22432, "end": 22433, "loc": { "start": { "line": 638, "column": 38 }, "end": { "line": 638, "column": 39 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, { "type": "BinaryExpression", "start": 22452, "end": 22466, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 30 } }, "left": { "type": "MemberExpression", "start": 22452, "end": 22460, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 24 } }, "object": { "type": "Identifier", "start": 22452, "end": 22458, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 22 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 22459, "end": 22460, "loc": { "start": { "line": 639, "column": 23 }, "end": { "line": 639, "column": 24 }, "identifierName": "h" }, "name": "h" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 22463, "end": 22466, "loc": { "start": { "line": 639, "column": 27 }, "end": { "line": 639, "column": 30 } }, "extra": { "rawValue": 0.6, "raw": "0.6" }, "value": 0.6 } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Render the small icon on the left", "start": 22210, "end": 22246, "loc": { "start": { "line": 634, "column": 12 }, "end": { "line": 634, "column": 48 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Loop over all waypoints", "start": 20170, "end": 20196, "loc": { "start": { "line": 585, "column": 8 }, "end": { "line": 585, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 22505, "end": 22552, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 22505, "end": 22551, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22505, "end": 22536, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 39 } }, "object": { "type": "MemberExpression", "start": 22505, "end": 22523, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 26 } }, "object": { "type": "Identifier", "start": 22505, "end": 22515, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 22516, "end": 22523, "loc": { "start": { "line": 643, "column": 19 }, "end": { "line": 643, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 22524, "end": 22536, "loc": { "start": { "line": 643, "column": 27 }, "end": { "line": 643, "column": 39 }, "identifierName": "textBaseline" }, "name": "textBaseline" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22539, "end": 22551, "loc": { "start": { "line": 643, "column": 42 }, "end": { "line": 643, "column": 54 } }, "extra": { "rawValue": "alphabetic", "raw": "\"alphabetic\"" }, "value": "alphabetic" } } }, { "type": "ExpressionStatement", "start": 22562, "end": 22597, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 22562, "end": 22596, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22562, "end": 22592, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 38 } }, "object": { "type": "MemberExpression", "start": 22562, "end": 22580, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 26 } }, "object": { "type": "Identifier", "start": 22562, "end": 22572, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 22573, "end": 22580, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 22581, "end": 22592, "loc": { "start": { "line": 644, "column": 27 }, "end": { "line": 644, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 22595, "end": 22596, "loc": { "start": { "line": 644, "column": 41 }, "end": { "line": 644, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the waypoints on the map\r\n * @param {DrawParameters} parameters\r\n ", "start": 19341, "end": 19435, "loc": { "start": { "line": 561, "column": 4 }, "end": { "line": 564, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @typedef {{\r\n * label: string | null,\r\n * center: { x: number, y: number },\r\n * zoomLevel: number,\r\n * layer: Layer,\r\n * }} Waypoint ", "start": 1310, "end": 1457, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 34, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Used when a shape icon is rendered instead\r\n ", "start": 1461, "end": 1516, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates the overview of waypoints\r\n * @param {HTMLElement} parent\r\n ", "start": 1603, "end": 1693, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 45, "column": 7 } } }, { "type": "CommentLine", "value": " Create the helper box on the lower right when zooming out", "start": 1737, "end": 1797, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 72 } } }, { "type": "CommentLine", "value": " Create the waypoint list on the upper right", "start": 2472, "end": 2518, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 54 } } }, { "type": "CommentBlock", "value": "*\r\n * Serializes the waypoints\r\n ", "start": 2628, "end": 2673, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Deserializes the waypoints\r\n * @param {{waypoints: Array}} data\r\n ", "start": 2777, "end": 2875, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes everything\r\n ", "start": 3127, "end": 3170, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": "CommentLine", "value": " Cache the sprite for the waypoints", "start": 3200, "end": 3237, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 45 } } }, { "type": "CommentBlock", "value": "* @type {Array}\r\n ", "start": 3544, "end": 3584, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 103, "column": 11 } } }, { "type": "CommentLine", "value": " Create a buffer we can use to measure text", "start": 3933, "end": 3978, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 53 } } }, { "type": "CommentLine", "value": " Dynamically attach/detach the lower right hint in the map overview", "start": 4140, "end": 4209, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 77 } } }, { "type": "CommentLine", "value": " Catch mouse and key events", "start": 4346, "end": 4375, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores at how much opacity the markers should be rendered on the map.\r\n * This is interpolated over multiple frames so we have some sort of fade effect\r\n ", "start": 4601, "end": 4789, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 135, "column": 11 } } }, { "type": "CommentLine", "value": " Create buffer which is used to indicate the hub direction", "start": 4882, "end": 4942, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 68 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores a cache from a shape short key to its canvas representation\r\n ", "start": 5181, "end": 5276, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 149, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Store cached text widths\r\n * @type {Object}\r\n ", "start": 5326, "end": 5422, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 155, "column": 11 } } }, { "type": "CommentLine", "value": " Initial render", "start": 5471, "end": 5488, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 25 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns how long a text will be rendered\r\n * @param {string} text\r\n * @returns {number}\r\n ", "start": 5541, "end": 5657, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 166, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns how big the text should be rendered\r\n ", "start": 5974, "end": 6038, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the scale for rendering waypoints\r\n ", "start": 6123, "end": 6185, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Re-renders the waypoint list to account for changes\r\n ", "start": 6281, "end": 6353, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Create a clone of the cached canvas, as calling appendElement when a canvas is\r\n * already in the document will move the existing canvas to the new position.\r\n ", "start": 6957, "end": 7175, "loc": { "start": { "line": 208, "column": 16 }, "end": { "line": 211, "column": 19 } } }, { "type": "CommentLine", "value": " This must be the hub label", "start": 7889, "end": 7918, "loc": { "start": { "line": 229, "column": 16 }, "end": { "line": 229, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Moves the camera to a given waypoint\r\n * @param {Waypoint} waypoint\r\n ", "start": 8227, "end": 8319, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 243, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes a waypoint from the list\r\n * @param {Waypoint} waypoint\r\n ", "start": 8572, "end": 8660, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 253, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Gets the canvas for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {HTMLCanvasElement}\r\n ", "start": 8798, "end": 8927, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 263, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Requests to save a marker at the current camera position. If worldPos is set,\r\n * uses that position instead.\r\n * @param {object} param0\r\n * @param {Vector=} param0.worldPos Override the world pos, otherwise it is the camera position\r\n * @param {Waypoint=} param0.waypoint Waypoint to be edited. If omitted, create new\r\n ", "start": 9411, "end": 9766, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 282, "column": 7 } } }, { "type": "CommentLine", "value": " Construct dialog with input field", "start": 9839, "end": 9875, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 44 } } }, { "type": "CommentLine", "value": " Edit marker", "start": 10737, "end": 10751, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 22 } } }, { "type": "CommentLine", "value": " Actually rename the waypoint", "start": 10843, "end": 10874, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 47 } } }, { "type": "CommentLine", "value": " Actually delete the waypoint", "start": 11038, "end": 11069, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 47 } } }, { "type": "CommentLine", "value": " Compute where to create the marker", "start": 11166, "end": 11203, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 49 } } }, { "type": "CommentLine", "value": " Show info that you can have only N markers in the demo,", "start": 11337, "end": 11395, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 74 } } }, { "type": "CommentLine", "value": " actually show this *after* entering the name so you want the", "start": 11413, "end": 11476, "loc": { "start": { "line": 318, "column": 16 }, "end": { "line": 318, "column": 79 } } }, { "type": "CommentLine", "value": " standalone even more (I'm evil :P)", "start": 11494, "end": 11531, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 53 } } }, { "type": "CommentLine", "value": " Actually create the waypoint", "start": 11884, "end": 11915, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 47 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds a new waypoint at the given location with the given label\r\n * @param {string} label\r\n * @param {Vector} position\r\n ", "start": 12029, "end": 12175, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 338, "column": 7 } } }, { "type": "CommentLine", "value": " Show notification about creation", "start": 12471, "end": 12506, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 43 } } }, { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 12687, "end": 12724, "loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Renames a waypoint with the given label\r\n * @param {Waypoint} waypoint\r\n * @param {string} label\r\n ", "start": 12777, "end": 12902, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 363, "column": 7 } } }, { "type": "CommentLine", "value": " Show notification about renamed", "start": 13019, "end": 13053, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 42 } } }, { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 13234, "end": 13271, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Called every frame to update stuff\r\n ", "start": 13324, "end": 13379, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 381, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Sort waypoints by name\r\n ", "start": 13530, "end": 13573, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 390, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the label for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {string}\r\n ", "start": 13990, "end": 14110, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 409, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if a waypoint is deletable\r\n * @param {Waypoint} waypoint\r\n * @returns {boolean}\r\n ", "start": 14217, "end": 14334, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 418, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the screen space bounds of the given waypoint or null\r\n * if it couldn't be determined. Also returns wheter its a shape or not\r\n * @param {Waypoint} waypoint\r\n * @return {{\r\n * screenBounds: Rectangle\r\n * item: BaseItem|null,\r\n * text: string\r\n * }}\r\n ", "start": 14427, "end": 14739, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 432, "column": 7 } } }, { "type": "CommentLine", "value": " Find parameters", "start": 14887, "end": 14905, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "column": 26 } } }, { "type": "CommentLine", "value": " Distinguish between text and item waypoints -> Figure out parameters", "start": 15076, "end": 15147, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 79 } } }, { "type": "CommentLine", "value": " If the label is actually a key, render the shape icon", "start": 15326, "end": 15382, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 68 } } }, { "type": "CommentLine", "value": " Otherwise render a regular waypoint", "start": 15533, "end": 15571, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the currently intersected waypoint on the map overview under\r\n * the cursor.\r\n *\r\n * @returns {Waypoint | null}\r\n ", "start": 15964, "end": 16114, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 473, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Mouse-Down handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ", "start": 16608, "end": 16715, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 493, "column": 7 } } }, { "type": "CommentLine", "value": " Allow right click to create a marker", "start": 17414, "end": 17453, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 51 } } }, { "type": "CommentBlock", "value": "*\r\n * Rerenders the compass\r\n ", "start": 17811, "end": 17853, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 7 } } }, { "type": "CommentLine", "value": " Fade the compas in / out", "start": 18333, "end": 18360, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 537, "column": 35 } } }, { "type": "CommentLine", "value": " Render the compass", "start": 18470, "end": 18491, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 29 } } }, { "type": "CommentLine", "value": " Render the regualr icon", "start": 19010, "end": 19036, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the waypoints on the map\r\n * @param {DrawParameters} parameters\r\n ", "start": 19341, "end": 19435, "loc": { "start": { "line": 561, "column": 4 }, "end": { "line": 564, "column": 7 } } }, { "type": "CommentLine", "value": " Don't render with low opacity", "start": 19752, "end": 19784, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 40 } } }, { "type": "CommentLine", "value": " Determine rendering scale", "start": 19877, "end": 19905, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 36 } } }, { "type": "CommentLine", "value": " Set the font size", "start": 19967, "end": 19987, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 28 } } }, { "type": "CommentLine", "value": " Loop over all waypoints", "start": 20170, "end": 20196, "loc": { "start": { "line": 585, "column": 8 }, "end": { "line": 585, "column": 34 } } }, { "type": "CommentLine", "value": " Not relevant", "start": 20432, "end": 20447, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 31 } } }, { "type": "CommentLine", "value": " Out of screen", "start": 20593, "end": 20609, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 32 } } }, { "type": "CommentLine", "value": " Render the background rectangle", "start": 20862, "end": 20896, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 46 } } }, { "type": "CommentLine", "value": " Render the text", "start": 21164, "end": 21182, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 30 } } }, { "type": "CommentLine", "value": " Render the text", "start": 21674, "end": 21692, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 34 } } }, { "type": "CommentLine", "value": " Render the small icon on the left", "start": 22210, "end": 22246, "loc": { "start": { "line": 634, "column": 12 }, "end": { "line": 634, "column": 48 } } } ], "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": "makeOffscreenBuffer", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29, "end": 30, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 31, "end": 35, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/buffer_utils", "start": 36, "end": 64, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 64, "end": 65, "loc": { "start": { "line": 1, "column": 64 }, "end": { "line": 1, "column": 65 } } }, { "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": 67, "end": 73, "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": 74, "end": 75, "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": "globalConfig", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 88, "end": 89, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "THIRDPARTY_URLS", "start": 90, "end": 105, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 106, "end": 107, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 2, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 108, "end": 112, "loc": { "start": { "line": 2, "column": 41 }, "end": { "line": 2, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/config", "start": 113, "end": 135, "loc": { "start": { "line": 2, "column": 46 }, "end": { "line": 2, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 135, "end": 136, "loc": { "start": { "line": 2, "column": 68 }, "end": { "line": 2, "column": 69 } } }, { "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": 138, "end": 144, "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": 145, "end": 146, "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": "DrawParameters", "start": 147, "end": 161, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 162, "end": 163, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 164, "end": 168, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/draw_parameters", "start": 169, "end": 200, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 200, "end": 201, "loc": { "start": { "line": 3, "column": 62 }, "end": { "line": 3, "column": 63 } } }, { "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": 203, "end": 209, "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": 210, "end": 211, "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": "gMetaBuildingRegistry", "start": 212, "end": 233, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 234, "end": 235, "loc": { "start": { "line": 4, "column": 31 }, "end": { "line": 4, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 236, "end": 240, "loc": { "start": { "line": 4, "column": 33 }, "end": { "line": 4, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/global_registries", "start": 241, "end": 274, "loc": { "start": { "line": 4, "column": 38 }, "end": { "line": 4, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 274, "end": 275, "loc": { "start": { "line": 4, "column": 71 }, "end": { "line": 4, "column": 72 } } }, { "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": 277, "end": 283, "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": 284, "end": 285, "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": "Loader", "start": 286, "end": 292, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 293, "end": 294, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 295, "end": 299, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/loader", "start": 300, "end": 322, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 322, "end": 323, "loc": { "start": { "line": 5, "column": 45 }, "end": { "line": 5, "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": 325, "end": 331, "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": 332, "end": 333, "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": "DialogWithForm", "start": 334, "end": 348, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 349, "end": 350, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 351, "end": 355, "loc": { "start": { "line": 6, "column": 26 }, "end": { "line": 6, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/modal_dialog_elements", "start": 356, "end": 393, "loc": { "start": { "line": 6, "column": 31 }, "end": { "line": 6, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 393, "end": 394, "loc": { "start": { "line": 6, "column": 68 }, "end": { "line": 6, "column": 69 } } }, { "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": 396, "end": 402, "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": 403, "end": 404, "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": "FormElementInput", "start": 405, "end": 421, "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": 422, "end": 423, "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": 424, "end": 428, "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": "../../../core/modal_dialog_forms", "start": 429, "end": 463, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 7, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 463, "end": 464, "loc": { "start": { "line": 7, "column": 67 }, "end": { "line": 7, "column": 68 } } }, { "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": 466, "end": 472, "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": 473, "end": 474, "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": "Rectangle", "start": 475, "end": 484, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 485, "end": 486, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 8, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 487, "end": 491, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/rectangle", "start": 492, "end": 517, "loc": { "start": { "line": 8, "column": 26 }, "end": { "line": 8, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 517, "end": 518, "loc": { "start": { "line": 8, "column": 51 }, "end": { "line": 8, "column": 52 } } }, { "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": 520, "end": 526, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 527, "end": 528, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 529, "end": 545, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 546, "end": 547, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 548, "end": 552, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/signal", "start": 553, "end": 575, "loc": { "start": { "line": 9, "column": 33 }, "end": { "line": 9, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 575, "end": 576, "loc": { "start": { "line": 9, "column": 55 }, "end": { "line": 9, "column": 56 } } }, { "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": 578, "end": 584, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 585, "end": 586, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayDeleteValue", "start": 592, "end": 608, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 608, "end": 609, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillInLinkIntoTranslation", "start": 615, "end": 640, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 640, "end": 641, "loc": { "start": { "line": 12, "column": 29 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lerp", "start": 647, "end": 651, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 651, "end": 652, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 658, "end": 665, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 665, "end": 666, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAllChildren", "start": 672, "end": 689, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 689, "end": 690, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 15, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 692, "end": 693, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 694, "end": 698, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 6 } } }, { "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": 699, "end": 720, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 720, "end": 721, "loc": { "start": { "line": 16, "column": 28 }, "end": { "line": 16, "column": 29 } } }, { "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": 723, "end": 729, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 730, "end": 731, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 732, "end": 738, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 15 } } }, { "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": 17, "column": 16 }, "end": { "line": 17, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 741, "end": 745, "loc": { "start": { "line": 17, "column": 18 }, "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": "../../../core/vector", "start": 746, "end": 768, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 768, "end": 769, "loc": { "start": { "line": 17, "column": 45 }, "end": { "line": 17, "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": 771, "end": 777, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 778, "end": 779, "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 18, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 780, "end": 781, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 782, "end": 783, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 784, "end": 788, "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "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": 789, "end": 812, "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 812, "end": 813, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "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": 815, "end": 821, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 822, "end": 823, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseItem", "start": 824, "end": 832, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 833, "end": 834, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 835, "end": 839, "loc": { "start": { "line": 19, "column": 20 }, "end": { "line": 19, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../base_item", "start": 840, "end": 857, "loc": { "start": { "line": 19, "column": 25 }, "end": { "line": 19, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 857, "end": 858, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 19, "column": 43 } } }, { "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": 860, "end": 866, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 867, "end": 868, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MetaHubBuilding", "start": 869, "end": 884, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 885, "end": 886, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 887, "end": 891, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../buildings/hub", "start": 892, "end": 913, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 913, "end": 914, "loc": { "start": { "line": 20, "column": 53 }, "end": { "line": 20, "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": 916, "end": 922, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 923, "end": 924, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 925, "end": 940, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 941, "end": 942, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 943, "end": 947, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../camera", "start": 948, "end": 962, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 962, "end": 963, "loc": { "start": { "line": 21, "column": 46 }, "end": { "line": 21, "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": 965, "end": 971, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 972, "end": 973, "loc": { "start": { "line": 22, "column": 7 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 974, "end": 985, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 986, "end": 987, "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": "from", "start": 988, "end": 992, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "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": 993, "end": 1018, "loc": { "start": { "line": 22, "column": 28 }, "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": 1018, "end": 1019, "loc": { "start": { "line": 22, "column": 53 }, "end": { "line": 22, "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": 1021, "end": 1027, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1028, "end": 1029, "loc": { "start": { "line": 23, "column": 7 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultBuildingVariant", "start": 1030, "end": 1052, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1053, "end": 1054, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1055, "end": 1059, "loc": { "start": { "line": 23, "column": 34 }, "end": { "line": 23, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../meta_building", "start": 1060, "end": 1081, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 23, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1081, "end": 1082, "loc": { "start": { "line": 23, "column": 60 }, "end": { "line": 23, "column": 61 } } }, { "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": 1084, "end": 1090, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1091, "end": 1092, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 1093, "end": 1108, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1109, "end": 1110, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1111, "end": 1115, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../shape_definition", "start": 1116, "end": 1140, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1140, "end": 1141, "loc": { "start": { "line": 24, "column": 56 }, "end": { "line": 24, "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": 1143, "end": 1149, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1150, "end": 1151, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 1152, "end": 1163, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1164, "end": 1165, "loc": { "start": { "line": 25, "column": 21 }, "end": { "line": 25, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1166, "end": 1170, "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "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": 1171, "end": 1189, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1189, "end": 1190, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 25, "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": 1192, "end": 1198, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1199, "end": 1200, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DynamicDomAttach", "start": 1201, "end": 1217, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1218, "end": 1219, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1220, "end": 1224, "loc": { "start": { "line": 26, "column": 28 }, "end": { "line": 26, "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": 1225, "end": 1248, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1248, "end": 1249, "loc": { "start": { "line": 26, "column": 56 }, "end": { "line": 26, "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": 1251, "end": 1257, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1258, "end": 1259, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumNotificationType", "start": 1260, "end": 1280, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1281, "end": 1282, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1283, "end": 1287, "loc": { "start": { "line": 27, "column": 32 }, "end": { "line": 27, "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": 1288, "end": 1305, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 27, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1305, "end": 1306, "loc": { "start": { "line": 27, "column": 54 }, "end": { "line": 27, "column": 55 } } }, { "type": "CommentBlock", "value": "* @typedef {{\r\n * label: string | null,\r\n * center: { x: number, y: number },\r\n * zoomLevel: number,\r\n * layer: Layer,\r\n * }} Waypoint ", "start": 1310, "end": 1457, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 34, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Used when a shape icon is rendered instead\r\n ", "start": 1461, "end": 1516, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } }, { "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": 1518, "end": 1523, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_LABEL_LENGTH", "start": 1524, "end": 1540, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1541, "end": 1542, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 71, "start": 1543, "end": 1545, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1545, "end": 1546, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 28 } } }, { "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": 1550, "end": 1556, "loc": { "start": { "line": 41, "column": 0 }, "end": { "line": 41, "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": 1557, "end": 1562, "loc": { "start": { "line": 41, "column": 7 }, "end": { "line": 41, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HUDWaypoints", "start": 1563, "end": 1575, "loc": { "start": { "line": 41, "column": 13 }, "end": { "line": 41, "column": 25 } } }, { "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": 1576, "end": 1583, "loc": { "start": { "line": 41, "column": 26 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 1584, "end": 1595, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1596, "end": 1597, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 41, "column": 47 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates the overview of waypoints\r\n * @param {HTMLElement} parent\r\n ", "start": 1603, "end": 1693, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 45, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElements", "start": 1699, "end": 1713, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1713, "end": 1714, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 1714, "end": 1720, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1720, "end": 1721, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 46, "column": 27 }, "end": { "line": 46, "column": 28 } } }, { "type": "CommentLine", "value": " Create the helper box on the lower right when zooming out", "start": 1737, "end": 1797, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 72 } } }, { "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": 1811, "end": 1813, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1814, "end": 1815, "loc": { "start": { "line": 48, "column": 15 }, "end": { "line": 48, "column": 16 } } }, { "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": 1815, "end": 1819, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1819, "end": 1820, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1820, "end": 1824, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1824, "end": 1825, "loc": { "start": { "line": 48, "column": 25 }, "end": { "line": 48, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1825, "end": 1828, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1828, "end": 1829, "loc": { "start": { "line": 48, "column": 29 }, "end": { "line": 48, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 1829, "end": 1837, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1837, "end": 1838, "loc": { "start": { "line": 48, "column": 38 }, "end": { "line": 48, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 1838, "end": 1852, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1853, "end": 1854, "loc": { "start": { "line": 48, "column": 54 }, "end": { "line": 48, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1854, "end": 1855, "loc": { "start": { "line": 48, "column": 55 }, "end": { "line": 48, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offerHints", "start": 1855, "end": 1865, "loc": { "start": { "line": 48, "column": 56 }, "end": { "line": 48, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1865, "end": 1866, "loc": { "start": { "line": 48, "column": 66 }, "end": { "line": 48, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1867, "end": 1868, "loc": { "start": { "line": 48, "column": 68 }, "end": { "line": 48, "column": 69 } } }, { "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": 1886, "end": 1890, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1890, "end": 1891, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hintElement", "start": 1891, "end": 1902, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1903, "end": 1904, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 1905, "end": 1912, "loc": { "start": { "line": 49, "column": 35 }, "end": { "line": 49, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1912, "end": 1913, "loc": { "start": { "line": 49, "column": 42 }, "end": { "line": 49, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 1939, "end": 1945, "loc": { "start": { "line": 50, "column": 24 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1945, "end": 1946, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ingame_HUD_Waypoints_Hint", "start": 1972, "end": 1999, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1999, "end": 2000, "loc": { "start": { "line": 51, "column": 51 }, "end": { "line": 51, "column": 52 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2001, "end": 2002, "loc": { "start": { "line": 51, "column": 53 }, "end": { "line": 51, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2002, "end": 2003, "loc": { "start": { "line": 51, "column": 54 }, "end": { "line": 51, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2003, "end": 2004, "loc": { "start": { "line": 51, "column": 55 }, "end": { "line": 51, "column": 56 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2030, "end": 2031, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 25 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n ", "start": 2031, "end": 2067, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 53, "column": 34 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2067, "end": 2069, "loc": { "start": { "line": 53, "column": 34 }, "end": { "line": 53, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 2069, "end": 2070, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2070, "end": 2071, "loc": { "start": { "line": 53, "column": 37 }, "end": { "line": 53, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2071, "end": 2077, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 53, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2077, "end": 2078, "loc": { "start": { "line": 53, "column": 44 }, "end": { "line": 53, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2078, "end": 2087, "loc": { "start": { "line": 53, "column": 45 }, "end": { "line": 53, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2087, "end": 2088, "loc": { "start": { "line": 53, "column": 54 }, "end": { "line": 53, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2088, "end": 2097, "loc": { "start": { "line": 53, "column": 55 }, "end": { "line": 53, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2097, "end": 2098, "loc": { "start": { "line": 53, "column": 64 }, "end": { "line": 53, "column": 65 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n ", "start": 2098, "end": 2140, "loc": { "start": { "line": 53, "column": 65 }, "end": { "line": 54, "column": 31 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2140, "end": 2142, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 2142, "end": 2143, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2143, "end": 2144, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2144, "end": 2150, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2150, "end": 2151, "loc": { "start": { "line": 54, "column": 41 }, "end": { "line": 54, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2151, "end": 2160, "loc": { "start": { "line": 54, "column": 42 }, "end": { "line": 54, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2160, "end": 2161, "loc": { "start": { "line": 54, "column": 51 }, "end": { "line": 54, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "description", "start": 2161, "end": 2172, "loc": { "start": { "line": 54, "column": 52 }, "end": { "line": 54, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2172, "end": 2173, "loc": { "start": { "line": 54, "column": 63 }, "end": { "line": 54, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 2173, "end": 2180, "loc": { "start": { "line": 54, "column": 64 }, "end": { "line": 54, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2180, "end": 2181, "loc": { "start": { "line": 54, "column": 71 }, "end": { "line": 54, "column": 72 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2199, "end": 2213, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2213, "end": 2214, "loc": { "start": { "line": 55, "column": 30 }, "end": { "line": 55, "column": 31 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2232, "end": 2233, "loc": { "start": { "line": 56, "column": 16 }, "end": { "line": 56, "column": 17 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2233, "end": 2258, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2258, "end": 2260, "loc": { "start": { "line": 56, "column": 42 }, "end": { "line": 56, "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": 2260, "end": 2264, "loc": { "start": { "line": 56, "column": 44 }, "end": { "line": 56, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2264, "end": 2265, "loc": { "start": { "line": 56, "column": 48 }, "end": { "line": 56, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2265, "end": 2269, "loc": { "start": { "line": 56, "column": 49 }, "end": { "line": 56, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2269, "end": 2270, "loc": { "start": { "line": 56, "column": 53 }, "end": { "line": 56, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 2270, "end": 2279, "loc": { "start": { "line": 56, "column": 54 }, "end": { "line": 56, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2301, "end": 2302, "loc": { "start": { "line": 57, "column": 20 }, "end": { "line": 57, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 2302, "end": 2312, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2312, "end": 2313, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 2313, "end": 2324, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2324, "end": 2325, "loc": { "start": { "line": 57, "column": 43 }, "end": { "line": 57, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 2325, "end": 2335, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2335, "end": 2336, "loc": { "start": { "line": 57, "column": 54 }, "end": { "line": 57, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createMarker", "start": 2336, "end": 2348, "loc": { "start": { "line": 57, "column": 55 }, "end": { "line": 57, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2348, "end": 2349, "loc": { "start": { "line": 57, "column": 67 }, "end": { "line": 57, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2371, "end": 2372, "loc": { "start": { "line": 58, "column": 20 }, "end": { "line": 58, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getKeyCodeString", "start": 2372, "end": 2388, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2388, "end": 2389, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2389, "end": 2390, "loc": { "start": { "line": 58, "column": 38 }, "end": { "line": 58, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2390, "end": 2391, "loc": { "start": { "line": 58, "column": 39 }, "end": { "line": 58, "column": 40 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 2391, "end": 2398, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 47 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2398, "end": 2399, "loc": { "start": { "line": 58, "column": 47 }, "end": { "line": 58, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2413, "end": 2414, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2414, "end": 2415, "loc": { "start": { "line": 59, "column": 13 }, "end": { "line": 59, "column": 14 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n ", "start": 2415, "end": 2432, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 60, "column": 8 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2432, "end": 2433, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2447, "end": 2448, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2448, "end": 2449, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2459, "end": 2460, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 9 } } }, { "type": "CommentLine", "value": " Create the waypoint list on the upper right", "start": 2472, "end": 2518, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 54 } } }, { "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": 2528, "end": 2532, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2532, "end": 2533, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointsListElement", "start": 2533, "end": 2553, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2554, "end": 2555, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 2556, "end": 2563, "loc": { "start": { "line": 65, "column": 36 }, "end": { "line": 65, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2563, "end": 2564, "loc": { "start": { "line": 65, "column": 43 }, "end": { "line": 65, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 2564, "end": 2570, "loc": { "start": { "line": 65, "column": 44 }, "end": { "line": 65, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2570, "end": 2571, "loc": { "start": { "line": 65, "column": 50 }, "end": { "line": 65, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ingame_HUD_Waypoints", "start": 2572, "end": 2594, "loc": { "start": { "line": 65, "column": 52 }, "end": { "line": 65, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2594, "end": 2595, "loc": { "start": { "line": 65, "column": 74 }, "end": { "line": 65, "column": 75 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2596, "end": 2597, "loc": { "start": { "line": 65, "column": 76 }, "end": { "line": 65, "column": 77 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2597, "end": 2598, "loc": { "start": { "line": 65, "column": 77 }, "end": { "line": 65, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2598, "end": 2599, "loc": { "start": { "line": 65, "column": 78 }, "end": { "line": 65, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Waypoints", "start": 2600, "end": 2611, "loc": { "start": { "line": 65, "column": 80 }, "end": { "line": 65, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2611, "end": 2612, "loc": { "start": { "line": 65, "column": 91 }, "end": { "line": 65, "column": 92 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2612, "end": 2613, "loc": { "start": { "line": 65, "column": 92 }, "end": { "line": 65, "column": 93 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2619, "end": 2620, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Serializes the waypoints\r\n ", "start": 2628, "end": 2673, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "serialize", "start": 2679, "end": 2688, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2688, "end": 2689, "loc": { "start": { "line": 71, "column": 13 }, "end": { "line": 71, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2689, "end": 2690, "loc": { "start": { "line": 71, "column": 14 }, "end": { "line": 71, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2691, "end": 2692, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2702, "end": 2708, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2709, "end": 2710, "loc": { "start": { "line": 72, "column": 15 }, "end": { "line": 72, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2724, "end": 2733, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2733, "end": 2734, "loc": { "start": { "line": 73, "column": 21 }, "end": { "line": 73, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2735, "end": 2739, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2739, "end": 2740, "loc": { "start": { "line": 73, "column": 27 }, "end": { "line": 73, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2740, "end": 2749, "loc": { "start": { "line": 73, "column": 28 }, "end": { "line": 73, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2749, "end": 2750, "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2760, "end": 2761, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2761, "end": 2762, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2768, "end": 2769, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Deserializes the waypoints\r\n * @param {{waypoints: Array}} data\r\n ", "start": 2777, "end": 2875, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 80, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deserialize", "start": 2881, "end": 2892, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2892, "end": 2893, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2893, "end": 2897, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2899, "end": 2900, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2910, "end": 2912, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2913, "end": 2914, "loc": { "start": { "line": 82, "column": 11 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2914, "end": 2915, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2915, "end": 2919, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2920, "end": 2922, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 20 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2923, "end": 2924, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2924, "end": 2928, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2928, "end": 2929, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2929, "end": 2938, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2939, "end": 2941, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2942, "end": 2943, "loc": { "start": { "line": 82, "column": 40 }, "end": { "line": 82, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 2943, "end": 2948, "loc": { "start": { "line": 82, "column": 41 }, "end": { "line": 82, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2948, "end": 2949, "loc": { "start": { "line": 82, "column": 46 }, "end": { "line": 82, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 2949, "end": 2956, "loc": { "start": { "line": 82, "column": 47 }, "end": { "line": 82, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2956, "end": 2957, "loc": { "start": { "line": 82, "column": 54 }, "end": { "line": 82, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 2957, "end": 2961, "loc": { "start": { "line": 82, "column": 55 }, "end": { "line": 82, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2961, "end": 2962, "loc": { "start": { "line": 82, "column": 59 }, "end": { "line": 82, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 2962, "end": 2971, "loc": { "start": { "line": 82, "column": 60 }, "end": { "line": 82, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2971, "end": 2972, "loc": { "start": { "line": 82, "column": 69 }, "end": { "line": 82, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2972, "end": 2973, "loc": { "start": { "line": 82, "column": 70 }, "end": { "line": 82, "column": 71 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2974, "end": 2975, "loc": { "start": { "line": 82, "column": 72 }, "end": { "line": 82, "column": 73 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2989, "end": 2995, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid waypoints data", "start": 2996, "end": 3020, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3020, "end": 3021, "loc": { "start": { "line": 83, "column": 43 }, "end": { "line": 83, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3031, "end": 3032, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "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": 3042, "end": 3046, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3046, "end": 3047, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 3047, "end": 3056, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3057, "end": 3058, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3059, "end": 3063, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3063, "end": 3064, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 3064, "end": 3073, "loc": { "start": { "line": 85, "column": 30 }, "end": { "line": 85, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3073, "end": 3074, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 85, "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": 3084, "end": 3088, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3088, "end": 3089, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointList", "start": 3089, "end": 3109, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3109, "end": 3110, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3110, "end": 3111, "loc": { "start": { "line": 86, "column": 34 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3111, "end": 3112, "loc": { "start": { "line": 86, "column": 35 }, "end": { "line": 86, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3118, "end": 3119, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes everything\r\n ", "start": 3127, "end": 3170, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 3176, "end": 3186, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3186, "end": 3187, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3187, "end": 3188, "loc": { "start": { "line": 92, "column": 15 }, "end": { "line": 92, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3189, "end": 3190, "loc": { "start": { "line": 92, "column": 17 }, "end": { "line": 92, "column": 18 } } }, { "type": "CommentLine", "value": " Cache the sprite for the waypoints", "start": 3200, "end": 3237, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "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": 3249, "end": 3253, "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": 3253, "end": 3254, "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": "waypointSprites", "start": 3254, "end": 3269, "loc": { "start": { "line": 95, "column": 13 }, "end": { "line": 95, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3270, "end": 3271, "loc": { "start": { "line": 95, "column": 29 }, "end": { "line": 95, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3272, "end": 3273, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 95, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regular", "start": 3287, "end": 3294, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3294, "end": 3295, "loc": { "start": { "line": 96, "column": 19 }, "end": { "line": 96, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 3296, "end": 3302, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3302, "end": 3303, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 3303, "end": 3312, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3312, "end": 3313, "loc": { "start": { "line": 96, "column": 37 }, "end": { "line": 96, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/misc/waypoint.png", "start": 3313, "end": 3340, "loc": { "start": { "line": 96, "column": 38 }, "end": { "line": 96, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3340, "end": 3341, "loc": { "start": { "line": 96, "column": 65 }, "end": { "line": 96, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3341, "end": 3342, "loc": { "start": { "line": 96, "column": 66 }, "end": { "line": 96, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wires", "start": 3356, "end": 3361, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3361, "end": 3362, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 3363, "end": 3369, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3369, "end": 3370, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 3370, "end": 3379, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3379, "end": 3380, "loc": { "start": { "line": 97, "column": 35 }, "end": { "line": 97, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/misc/waypoint_wires.png", "start": 3380, "end": 3413, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3413, "end": 3414, "loc": { "start": { "line": 97, "column": 69 }, "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": 3414, "end": 3415, "loc": { "start": { "line": 97, "column": 70 }, "end": { "line": 97, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3425, "end": 3426, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3426, "end": 3427, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 98, "column": 10 } } }, { "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": 3439, "end": 3443, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3443, "end": 3444, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "directionIndicatorSprite", "start": 3444, "end": 3468, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 100, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3469, "end": 3470, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 3471, "end": 3477, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3477, "end": 3478, "loc": { "start": { "line": 100, "column": 46 }, "end": { "line": 100, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 3478, "end": 3487, "loc": { "start": { "line": 100, "column": 47 }, "end": { "line": 100, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3487, "end": 3488, "loc": { "start": { "line": 100, "column": 56 }, "end": { "line": 100, "column": 57 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/misc/hub_direction_indicator.png", "start": 3488, "end": 3530, "loc": { "start": { "line": 100, "column": 57 }, "end": { "line": 100, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3530, "end": 3531, "loc": { "start": { "line": 100, "column": 99 }, "end": { "line": 100, "column": 100 } } }, { "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": 100, "column": 100 }, "end": { "line": 100, "column": 101 } } }, { "type": "CommentBlock", "value": "* @type {Array}\r\n ", "start": 3544, "end": 3584, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 103, "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": 3594, "end": 3598, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3598, "end": 3599, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 3599, "end": 3608, "loc": { "start": { "line": 104, "column": 13 }, "end": { "line": 104, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3609, "end": 3610, "loc": { "start": { "line": 104, "column": 23 }, "end": { "line": 104, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3611, "end": 3612, "loc": { "start": { "line": 104, "column": 25 }, "end": { "line": 104, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3626, "end": 3627, "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": "label", "start": 3645, "end": 3650, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3650, "end": 3651, "loc": { "start": { "line": 106, "column": 21 }, "end": { "line": 106, "column": 22 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3652, "end": 3656, "loc": { "start": { "line": 106, "column": 23 }, "end": { "line": 106, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3656, "end": 3657, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 3675, "end": 3681, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3681, "end": 3682, "loc": { "start": { "line": 107, "column": 22 }, "end": { "line": 107, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3683, "end": 3684, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3685, "end": 3686, "loc": { "start": { "line": 107, "column": 26 }, "end": { "line": 107, "column": 27 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3686, "end": 3687, "loc": { "start": { "line": 107, "column": 27 }, "end": { "line": 107, "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": 3688, "end": 3689, "loc": { "start": { "line": 107, "column": 29 }, "end": { "line": 107, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3689, "end": 3690, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3691, "end": 3692, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 33 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3692, "end": 3693, "loc": { "start": { "line": 107, "column": 33 }, "end": { "line": 107, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3694, "end": 3695, "loc": { "start": { "line": 107, "column": 35 }, "end": { "line": 107, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3696, "end": 3697, "loc": { "start": { "line": 107, "column": 37 }, "end": { "line": 107, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3697, "end": 3698, "loc": { "start": { "line": 107, "column": 38 }, "end": { "line": 107, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 3716, "end": 3725, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 25 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3725, "end": 3726, "loc": { "start": { "line": 108, "column": 25 }, "end": { "line": 108, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 3727, "end": 3728, "loc": { "start": { "line": 108, "column": 27 }, "end": { "line": 108, "column": 28 } } }, { "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": 108, "column": 28 }, "end": { "line": 108, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 3747, "end": 3752, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3752, "end": 3753, "loc": { "start": { "line": 109, "column": 21 }, "end": { "line": 109, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gMetaBuildingRegistry", "start": 3754, "end": 3775, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 109, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3797, "end": 3798, "loc": { "start": { "line": 110, "column": 20 }, "end": { "line": 110, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findByClass", "start": 3798, "end": 3809, "loc": { "start": { "line": 110, "column": 21 }, "end": { "line": 110, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3809, "end": 3810, "loc": { "start": { "line": 110, "column": 32 }, "end": { "line": 110, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MetaHubBuilding", "start": 3810, "end": 3825, "loc": { "start": { "line": 110, "column": 33 }, "end": { "line": 110, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3825, "end": 3826, "loc": { "start": { "line": 110, "column": 48 }, "end": { "line": 110, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3848, "end": 3849, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayer", "start": 3849, "end": 3857, "loc": { "start": { "line": 111, "column": 21 }, "end": { "line": 111, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3857, "end": 3858, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "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": 3858, "end": 3862, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3862, "end": 3863, "loc": { "start": { "line": 111, "column": 34 }, "end": { "line": 111, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3863, "end": 3867, "loc": { "start": { "line": 111, "column": 35 }, "end": { "line": 111, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3867, "end": 3868, "loc": { "start": { "line": 111, "column": 39 }, "end": { "line": 111, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultBuildingVariant", "start": 3869, "end": 3891, "loc": { "start": { "line": 111, "column": 41 }, "end": { "line": 111, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3891, "end": 3892, "loc": { "start": { "line": 111, "column": 63 }, "end": { "line": 111, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3892, "end": 3893, "loc": { "start": { "line": 111, "column": 64 }, "end": { "line": 111, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3907, "end": 3908, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3908, "end": 3909, "loc": { "start": { "line": 112, "column": 13 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3919, "end": 3920, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3920, "end": 3921, "loc": { "start": { "line": 113, "column": 9 }, "end": { "line": 113, "column": 10 } } }, { "type": "CommentLine", "value": " Create a buffer we can use to measure text", "start": 3933, "end": 3978, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "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": 3988, "end": 3992, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3992, "end": 3993, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dummyBuffer", "start": 3993, "end": 4004, "loc": { "start": { "line": 116, "column": 13 }, "end": { "line": 116, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4005, "end": 4006, "loc": { "start": { "line": 116, "column": 25 }, "end": { "line": 116, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeOffscreenBuffer", "start": 4007, "end": 4026, "loc": { "start": { "line": 116, "column": 27 }, "end": { "line": 116, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4026, "end": 4027, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4027, "end": 4028, "loc": { "start": { "line": 116, "column": 47 }, "end": { "line": 116, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4028, "end": 4029, "loc": { "start": { "line": 116, "column": 48 }, "end": { "line": 116, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4030, "end": 4031, "loc": { "start": { "line": 116, "column": 50 }, "end": { "line": 116, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4031, "end": 4032, "loc": { "start": { "line": 116, "column": 51 }, "end": { "line": 116, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4033, "end": 4034, "loc": { "start": { "line": 116, "column": 53 }, "end": { "line": 116, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reusable", "start": 4048, "end": 4056, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4056, "end": 4057, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 21 } } }, { "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": 4058, "end": 4063, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4063, "end": 4064, "loc": { "start": { "line": 117, "column": 27 }, "end": { "line": 117, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 4078, "end": 4083, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4083, "end": 4084, "loc": { "start": { "line": 118, "column": 17 }, "end": { "line": 118, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "waypoints-measure-canvas", "start": 4085, "end": 4111, "loc": { "start": { "line": 118, "column": 19 }, "end": { "line": 118, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4111, "end": 4112, "loc": { "start": { "line": 118, "column": 45 }, "end": { "line": 118, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4122, "end": 4123, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4123, "end": 4124, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4124, "end": 4125, "loc": { "start": { "line": 119, "column": 10 }, "end": { "line": 119, "column": 11 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4125, "end": 4126, "loc": { "start": { "line": 119, "column": 11 }, "end": { "line": 119, "column": 12 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4126, "end": 4127, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4127, "end": 4128, "loc": { "start": { "line": 119, "column": 13 }, "end": { "line": 119, "column": 14 } } }, { "type": "CommentLine", "value": " Dynamically attach/detach the lower right hint in the map overview", "start": 4140, "end": 4209, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 77 } } }, { "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": 4219, "end": 4221, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4222, "end": 4223, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4223, "end": 4227, "loc": { "start": { "line": 122, "column": 12 }, "end": { "line": 122, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4227, "end": 4228, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hintElement", "start": 4228, "end": 4239, "loc": { "start": { "line": 122, "column": 17 }, "end": { "line": 122, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4239, "end": 4240, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4241, "end": 4242, "loc": { "start": { "line": 122, "column": 30 }, "end": { "line": 122, "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": 4256, "end": 4260, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4260, "end": 4261, "loc": { "start": { "line": 123, "column": 16 }, "end": { "line": 123, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 4261, "end": 4270, "loc": { "start": { "line": 123, "column": 17 }, "end": { "line": 123, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4271, "end": 4272, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 28 } } }, { "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": 4273, "end": 4276, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DynamicDomAttach", "start": 4277, "end": 4293, "loc": { "start": { "line": 123, "column": 33 }, "end": { "line": 123, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4293, "end": 4294, "loc": { "start": { "line": 123, "column": 49 }, "end": { "line": 123, "column": 50 } } }, { "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": 4294, "end": 4298, "loc": { "start": { "line": 123, "column": 50 }, "end": { "line": 123, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4298, "end": 4299, "loc": { "start": { "line": 123, "column": 54 }, "end": { "line": 123, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4299, "end": 4303, "loc": { "start": { "line": 123, "column": 55 }, "end": { "line": 123, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4303, "end": 4304, "loc": { "start": { "line": 123, "column": 59 }, "end": { "line": 123, "column": 60 } } }, { "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": 4305, "end": 4309, "loc": { "start": { "line": 123, "column": 61 }, "end": { "line": 123, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4309, "end": 4310, "loc": { "start": { "line": 123, "column": 65 }, "end": { "line": 123, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hintElement", "start": 4310, "end": 4321, "loc": { "start": { "line": 123, "column": 66 }, "end": { "line": 123, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4321, "end": 4322, "loc": { "start": { "line": 123, "column": 77 }, "end": { "line": 123, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4322, "end": 4323, "loc": { "start": { "line": 123, "column": 78 }, "end": { "line": 123, "column": 79 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4333, "end": 4334, "loc": { "start": { "line": 124, "column": 8 }, "end": { "line": 124, "column": 9 } } }, { "type": "CommentLine", "value": " Catch mouse and key events", "start": 4346, "end": 4375, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "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": 4385, "end": 4389, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4389, "end": 4390, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4390, "end": 4394, "loc": { "start": { "line": 127, "column": 13 }, "end": { "line": 127, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4394, "end": 4395, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 4395, "end": 4401, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4401, "end": 4402, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "downPreHandler", "start": 4402, "end": 4416, "loc": { "start": { "line": 127, "column": 25 }, "end": { "line": 127, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4416, "end": 4417, "loc": { "start": { "line": 127, "column": 39 }, "end": { "line": 127, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 4417, "end": 4420, "loc": { "start": { "line": 127, "column": 40 }, "end": { "line": 127, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4420, "end": 4421, "loc": { "start": { "line": 127, "column": 43 }, "end": { "line": 127, "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": 4421, "end": 4425, "loc": { "start": { "line": 127, "column": 44 }, "end": { "line": 127, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4425, "end": 4426, "loc": { "start": { "line": 127, "column": 48 }, "end": { "line": 127, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseDown", "start": 4426, "end": 4437, "loc": { "start": { "line": 127, "column": 49 }, "end": { "line": 127, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4437, "end": 4438, "loc": { "start": { "line": 127, "column": 60 }, "end": { "line": 127, "column": 61 } } }, { "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": 4439, "end": 4443, "loc": { "start": { "line": 127, "column": 62 }, "end": { "line": 127, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4443, "end": 4444, "loc": { "start": { "line": 127, "column": 66 }, "end": { "line": 127, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4444, "end": 4445, "loc": { "start": { "line": 127, "column": 67 }, "end": { "line": 127, "column": 68 } } }, { "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": 4455, "end": 4459, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4459, "end": 4460, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4460, "end": 4464, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 128, "column": 17 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 4465, "end": 4474, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4488, "end": 4489, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 4489, "end": 4499, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4499, "end": 4500, "loc": { "start": { "line": 129, "column": 23 }, "end": { "line": 129, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 4500, "end": 4511, "loc": { "start": { "line": 129, "column": 24 }, "end": { "line": 129, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4511, "end": 4512, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 4512, "end": 4522, "loc": { "start": { "line": 129, "column": 36 }, "end": { "line": 129, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4522, "end": 4523, "loc": { "start": { "line": 129, "column": 46 }, "end": { "line": 129, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createMarker", "start": 4523, "end": 4535, "loc": { "start": { "line": 129, "column": 47 }, "end": { "line": 129, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4535, "end": 4536, "loc": { "start": { "line": 129, "column": 59 }, "end": { "line": 129, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4550, "end": 4551, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 4551, "end": 4554, "loc": { "start": { "line": 130, "column": 13 }, "end": { "line": 130, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4554, "end": 4555, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4555, "end": 4556, "loc": { "start": { "line": 130, "column": 17 }, "end": { "line": 130, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4556, "end": 4557, "loc": { "start": { "line": 130, "column": 18 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4558, "end": 4560, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4561, "end": 4565, "loc": { "start": { "line": 130, "column": 23 }, "end": { "line": 130, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4565, "end": 4566, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestSaveMarker", "start": 4566, "end": 4583, "loc": { "start": { "line": 130, "column": 28 }, "end": { "line": 130, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4583, "end": 4584, "loc": { "start": { "line": 130, "column": 45 }, "end": { "line": 130, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4584, "end": 4585, "loc": { "start": { "line": 130, "column": 46 }, "end": { "line": 130, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4585, "end": 4586, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4586, "end": 4587, "loc": { "start": { "line": 130, "column": 48 }, "end": { "line": 130, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4587, "end": 4588, "loc": { "start": { "line": 130, "column": 49 }, "end": { "line": 130, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4588, "end": 4589, "loc": { "start": { "line": 130, "column": 50 }, "end": { "line": 130, "column": 51 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores at how much opacity the markers should be rendered on the map.\r\n * This is interpolated over multiple frames so we have some sort of fade effect\r\n ", "start": 4601, "end": 4789, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 135, "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": 4799, "end": 4803, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4803, "end": 4804, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentMarkerOpacity", "start": 4804, "end": 4824, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4825, "end": 4826, "loc": { "start": { "line": 136, "column": 34 }, "end": { "line": 136, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4827, "end": 4828, "loc": { "start": { "line": 136, "column": 36 }, "end": { "line": 136, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4828, "end": 4829, "loc": { "start": { "line": 136, "column": 37 }, "end": { "line": 136, "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": 4839, "end": 4843, "loc": { "start": { "line": 137, "column": 8 }, "end": { "line": 137, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4843, "end": 4844, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 4844, "end": 4865, "loc": { "start": { "line": 137, "column": 13 }, "end": { "line": 137, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4866, "end": 4867, "loc": { "start": { "line": 137, "column": 35 }, "end": { "line": 137, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4868, "end": 4869, "loc": { "start": { "line": 137, "column": 37 }, "end": { "line": 137, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4869, "end": 4870, "loc": { "start": { "line": 137, "column": 38 }, "end": { "line": 137, "column": 39 } } }, { "type": "CommentLine", "value": " Create buffer which is used to indicate the hub direction", "start": 4882, "end": 4942, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 68 } } }, { "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": 4952, "end": 4957, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 13 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4958, "end": 4959, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 4959, "end": 4965, "loc": { "start": { "line": 140, "column": 15 }, "end": { "line": 140, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4965, "end": 4966, "loc": { "start": { "line": 140, "column": 21 }, "end": { "line": 140, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4967, "end": 4974, "loc": { "start": { "line": 140, "column": 23 }, "end": { "line": 140, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4974, "end": 4975, "loc": { "start": { "line": 140, "column": 30 }, "end": { "line": 140, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4976, "end": 4977, "loc": { "start": { "line": 140, "column": 32 }, "end": { "line": 140, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeOffscreenBuffer", "start": 4978, "end": 4997, "loc": { "start": { "line": 140, "column": 34 }, "end": { "line": 140, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4997, "end": 4998, "loc": { "start": { "line": 140, "column": 53 }, "end": { "line": 140, "column": 54 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 4998, "end": 5000, "loc": { "start": { "line": 140, "column": 54 }, "end": { "line": 140, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5000, "end": 5001, "loc": { "start": { "line": 140, "column": 56 }, "end": { "line": 140, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 5002, "end": 5004, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5004, "end": 5005, "loc": { "start": { "line": 140, "column": 60 }, "end": { "line": 140, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5006, "end": 5007, "loc": { "start": { "line": 140, "column": 62 }, "end": { "line": 140, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smooth", "start": 5021, "end": 5027, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5027, "end": 5028, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 19 } } }, { "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": 5029, "end": 5033, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5033, "end": 5034, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reusable", "start": 5048, "end": 5056, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 142, "column": 20 }, "end": { "line": 142, "column": 21 } } }, { "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": 5058, "end": 5063, "loc": { "start": { "line": 142, "column": 22 }, "end": { "line": 142, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5063, "end": 5064, "loc": { "start": { "line": 142, "column": 27 }, "end": { "line": 142, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 5078, "end": 5083, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5083, "end": 5084, "loc": { "start": { "line": 143, "column": 17 }, "end": { "line": 143, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "waypoints-compass", "start": 5085, "end": 5104, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5104, "end": 5105, "loc": { "start": { "line": 143, "column": 38 }, "end": { "line": 143, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5115, "end": 5116, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5116, "end": 5117, "loc": { "start": { "line": 144, "column": 9 }, "end": { "line": 144, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5117, "end": 5118, "loc": { "start": { "line": 144, "column": 10 }, "end": { "line": 144, "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": 5128, "end": 5132, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5132, "end": 5133, "loc": { "start": { "line": 145, "column": 12 }, "end": { "line": 145, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "compassBuffer", "start": 5133, "end": 5146, "loc": { "start": { "line": 145, "column": 13 }, "end": { "line": 145, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5147, "end": 5148, "loc": { "start": { "line": 145, "column": 27 }, "end": { "line": 145, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5149, "end": 5150, "loc": { "start": { "line": 145, "column": 29 }, "end": { "line": 145, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 5151, "end": 5157, "loc": { "start": { "line": 145, "column": 31 }, "end": { "line": 145, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5157, "end": 5158, "loc": { "start": { "line": 145, "column": 37 }, "end": { "line": 145, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5159, "end": 5166, "loc": { "start": { "line": 145, "column": 39 }, "end": { "line": 145, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5167, "end": 5168, "loc": { "start": { "line": 145, "column": 47 }, "end": { "line": 145, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5168, "end": 5169, "loc": { "start": { "line": 145, "column": 48 }, "end": { "line": 145, "column": 49 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores a cache from a shape short key to its canvas representation\r\n ", "start": 5181, "end": 5276, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 149, "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": 5286, "end": 5290, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5290, "end": 5291, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedKeyToCanvas", "start": 5291, "end": 5308, "loc": { "start": { "line": 150, "column": 13 }, "end": { "line": 150, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5309, "end": 5310, "loc": { "start": { "line": 150, "column": 31 }, "end": { "line": 150, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5311, "end": 5312, "loc": { "start": { "line": 150, "column": 33 }, "end": { "line": 150, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 150, "column": 34 }, "end": { "line": 150, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5313, "end": 5314, "loc": { "start": { "line": 150, "column": 35 }, "end": { "line": 150, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Store cached text widths\r\n * @type {Object}\r\n ", "start": 5326, "end": 5422, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 155, "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": 5432, "end": 5436, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5436, "end": 5437, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedTextWidths", "start": 5437, "end": 5453, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5454, "end": 5455, "loc": { "start": { "line": 156, "column": 30 }, "end": { "line": 156, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5456, "end": 5457, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5457, "end": 5458, "loc": { "start": { "line": 156, "column": 33 }, "end": { "line": 156, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5458, "end": 5459, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 35 } } }, { "type": "CommentLine", "value": " Initial render", "start": 5471, "end": 5488, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "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": 5498, "end": 5502, "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": 5502, "end": 5503, "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": "rerenderWaypointList", "start": 5503, "end": 5523, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5523, "end": 5524, "loc": { "start": { "line": 159, "column": 33 }, "end": { "line": 159, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5524, "end": 5525, "loc": { "start": { "line": 159, "column": 34 }, "end": { "line": 159, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5525, "end": 5526, "loc": { "start": { "line": 159, "column": 35 }, "end": { "line": 159, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5532, "end": 5533, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns how long a text will be rendered\r\n * @param {string} text\r\n * @returns {number}\r\n ", "start": 5541, "end": 5657, "loc": { "start": { "line": 162, "column": 4 }, "end": { "line": 166, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTextWidth", "start": 5663, "end": 5675, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5675, "end": 5676, "loc": { "start": { "line": 167, "column": 16 }, "end": { "line": 167, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 5676, "end": 5680, "loc": { "start": { "line": 167, "column": 17 }, "end": { "line": 167, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5680, "end": 5681, "loc": { "start": { "line": 167, "column": 21 }, "end": { "line": 167, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5682, "end": 5683, "loc": { "start": { "line": 167, "column": 23 }, "end": { "line": 167, "column": 24 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5693, "end": 5695, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5696, "end": 5697, "loc": { "start": { "line": 168, "column": 11 }, "end": { "line": 168, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5697, "end": 5701, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5701, "end": 5702, "loc": { "start": { "line": 168, "column": 16 }, "end": { "line": 168, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedTextWidths", "start": 5702, "end": 5718, "loc": { "start": { "line": 168, "column": 17 }, "end": { "line": 168, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5718, "end": 5719, "loc": { "start": { "line": 168, "column": 33 }, "end": { "line": 168, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 5719, "end": 5723, "loc": { "start": { "line": 168, "column": 34 }, "end": { "line": 168, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5723, "end": 5724, "loc": { "start": { "line": 168, "column": 38 }, "end": { "line": 168, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5724, "end": 5725, "loc": { "start": { "line": 168, "column": 39 }, "end": { "line": 168, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5726, "end": 5727, "loc": { "start": { "line": 168, "column": 41 }, "end": { "line": 168, "column": 42 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 5741, "end": 5747, "loc": { "start": { "line": 169, "column": 12 }, "end": { "line": 169, "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": 5748, "end": 5752, "loc": { "start": { "line": 169, "column": 19 }, "end": { "line": 169, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5752, "end": 5753, "loc": { "start": { "line": 169, "column": 23 }, "end": { "line": 169, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedTextWidths", "start": 5753, "end": 5769, "loc": { "start": { "line": 169, "column": 24 }, "end": { "line": 169, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5769, "end": 5770, "loc": { "start": { "line": 169, "column": 40 }, "end": { "line": 169, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 5770, "end": 5774, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5774, "end": 5775, "loc": { "start": { "line": 169, "column": 45 }, "end": { "line": 169, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5775, "end": 5776, "loc": { "start": { "line": 169, "column": 46 }, "end": { "line": 169, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5786, "end": 5787, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 9 } } }, { "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": 5799, "end": 5803, "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": 5803, "end": 5804, "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": "dummyBuffer", "start": 5804, "end": 5815, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 172, "column": 24 } } }, { "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": 172, "column": 24 }, "end": { "line": 172, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "font", "start": 5816, "end": 5820, "loc": { "start": { "line": 172, "column": 25 }, "end": { "line": 172, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5821, "end": 5822, "loc": { "start": { "line": 172, "column": 30 }, "end": { "line": 172, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "bold ", "start": 5823, "end": 5830, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5831, "end": 5832, "loc": { "start": { "line": 172, "column": 40 }, "end": { "line": 172, "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": 5833, "end": 5837, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5837, "end": 5838, "loc": { "start": { "line": 172, "column": 46 }, "end": { "line": 172, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTextScale", "start": 5838, "end": 5850, "loc": { "start": { "line": 172, "column": 47 }, "end": { "line": 172, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5850, "end": 5851, "loc": { "start": { "line": 172, "column": 59 }, "end": { "line": 172, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5851, "end": 5852, "loc": { "start": { "line": 172, "column": 60 }, "end": { "line": 172, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5853, "end": 5854, "loc": { "start": { "line": 172, "column": 62 }, "end": { "line": 172, "column": 63 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "px GameFont", "start": 5855, "end": 5868, "loc": { "start": { "line": 172, "column": 64 }, "end": { "line": 172, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5868, "end": 5869, "loc": { "start": { "line": 172, "column": 77 }, "end": { "line": 172, "column": 78 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 5879, "end": 5885, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5886, "end": 5887, "loc": { "start": { "line": 173, "column": 15 }, "end": { "line": 173, "column": 16 } } }, { "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": 5887, "end": 5891, "loc": { "start": { "line": 173, "column": 16 }, "end": { "line": 173, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5891, "end": 5892, "loc": { "start": { "line": 173, "column": 20 }, "end": { "line": 173, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedTextWidths", "start": 5892, "end": 5908, "loc": { "start": { "line": 173, "column": 21 }, "end": { "line": 173, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5908, "end": 5909, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 5909, "end": 5913, "loc": { "start": { "line": 173, "column": 38 }, "end": { "line": 173, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5913, "end": 5914, "loc": { "start": { "line": 173, "column": 42 }, "end": { "line": 173, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5915, "end": 5916, "loc": { "start": { "line": 173, "column": 44 }, "end": { "line": 173, "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": 5917, "end": 5921, "loc": { "start": { "line": 173, "column": 46 }, "end": { "line": 173, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5921, "end": 5922, "loc": { "start": { "line": 173, "column": 50 }, "end": { "line": 173, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dummyBuffer", "start": 5922, "end": 5933, "loc": { "start": { "line": 173, "column": 51 }, "end": { "line": 173, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5933, "end": 5934, "loc": { "start": { "line": 173, "column": 62 }, "end": { "line": 173, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "measureText", "start": 5934, "end": 5945, "loc": { "start": { "line": 173, "column": 63 }, "end": { "line": 173, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5945, "end": 5946, "loc": { "start": { "line": 173, "column": 74 }, "end": { "line": 173, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 5946, "end": 5950, "loc": { "start": { "line": 173, "column": 75 }, "end": { "line": 173, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5950, "end": 5951, "loc": { "start": { "line": 173, "column": 79 }, "end": { "line": 173, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5951, "end": 5952, "loc": { "start": { "line": 173, "column": 80 }, "end": { "line": 173, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "width", "start": 5952, "end": 5957, "loc": { "start": { "line": 173, "column": 81 }, "end": { "line": 173, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5957, "end": 5958, "loc": { "start": { "line": 173, "column": 86 }, "end": { "line": 173, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5958, "end": 5959, "loc": { "start": { "line": 173, "column": 87 }, "end": { "line": 173, "column": 88 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5965, "end": 5966, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 174, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns how big the text should be rendered\r\n ", "start": 5974, "end": 6038, "loc": { "start": { "line": 176, "column": 4 }, "end": { "line": 178, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTextScale", "start": 6044, "end": 6056, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6056, "end": 6057, "loc": { "start": { "line": 179, "column": 16 }, "end": { "line": 179, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6057, "end": 6058, "loc": { "start": { "line": 179, "column": 17 }, "end": { "line": 179, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6059, "end": 6060, "loc": { "start": { "line": 179, "column": 19 }, "end": { "line": 179, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 6070, "end": 6076, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6077, "end": 6081, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6081, "end": 6082, "loc": { "start": { "line": 180, "column": 19 }, "end": { "line": 180, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointUiScale", "start": 6082, "end": 6100, "loc": { "start": { "line": 180, "column": 20 }, "end": { "line": 180, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6100, "end": 6101, "loc": { "start": { "line": 180, "column": 38 }, "end": { "line": 180, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6101, "end": 6102, "loc": { "start": { "line": 180, "column": 39 }, "end": { "line": 180, "column": 40 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 6103, "end": 6104, "loc": { "start": { "line": 180, "column": 41 }, "end": { "line": 180, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 12, "start": 6105, "end": 6107, "loc": { "start": { "line": 180, "column": 43 }, "end": { "line": 180, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6107, "end": 6108, "loc": { "start": { "line": 180, "column": 45 }, "end": { "line": 180, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6114, "end": 6115, "loc": { "start": { "line": 181, "column": 4 }, "end": { "line": 181, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the scale for rendering waypoints\r\n ", "start": 6123, "end": 6185, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointUiScale", "start": 6191, "end": 6209, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 186, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6209, "end": 6210, "loc": { "start": { "line": 186, "column": 22 }, "end": { "line": 186, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6210, "end": 6211, "loc": { "start": { "line": 186, "column": 23 }, "end": { "line": 186, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6212, "end": 6213, "loc": { "start": { "line": 186, "column": 25 }, "end": { "line": 186, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 6223, "end": 6229, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6230, "end": 6234, "loc": { "start": { "line": 187, "column": 15 }, "end": { "line": 187, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6234, "end": 6235, "loc": { "start": { "line": 187, "column": 19 }, "end": { "line": 187, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6235, "end": 6239, "loc": { "start": { "line": 187, "column": 20 }, "end": { "line": 187, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6239, "end": 6240, "loc": { "start": { "line": 187, "column": 24 }, "end": { "line": 187, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 6240, "end": 6243, "loc": { "start": { "line": 187, "column": 25 }, "end": { "line": 187, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6243, "end": 6244, "loc": { "start": { "line": 187, "column": 28 }, "end": { "line": 187, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveUiScale", "start": 6244, "end": 6263, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6263, "end": 6264, "loc": { "start": { "line": 187, "column": 48 }, "end": { "line": 187, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6264, "end": 6265, "loc": { "start": { "line": 187, "column": 49 }, "end": { "line": 187, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6265, "end": 6266, "loc": { "start": { "line": 187, "column": 50 }, "end": { "line": 187, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6272, "end": 6273, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Re-renders the waypoint list to account for changes\r\n ", "start": 6281, "end": 6353, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointList", "start": 6359, "end": 6379, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6379, "end": 6380, "loc": { "start": { "line": 193, "column": 24 }, "end": { "line": 193, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6380, "end": 6381, "loc": { "start": { "line": 193, "column": 25 }, "end": { "line": 193, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 193, "column": 27 }, "end": { "line": 193, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAllChildren", "start": 6393, "end": 6410, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6410, "end": 6411, "loc": { "start": { "line": 194, "column": 25 }, "end": { "line": 194, "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": 6411, "end": 6415, "loc": { "start": { "line": 194, "column": 26 }, "end": { "line": 194, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6415, "end": 6416, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointsListElement", "start": 6416, "end": 6436, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6436, "end": 6437, "loc": { "start": { "line": 194, "column": 51 }, "end": { "line": 194, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6437, "end": 6438, "loc": { "start": { "line": 194, "column": 52 }, "end": { "line": 194, "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": 6448, "end": 6452, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6452, "end": 6453, "loc": { "start": { "line": 195, "column": 12 }, "end": { "line": 195, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cleanupClickDetectors", "start": 6453, "end": 6474, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6474, "end": 6475, "loc": { "start": { "line": 195, "column": 34 }, "end": { "line": 195, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6475, "end": 6476, "loc": { "start": { "line": 195, "column": 35 }, "end": { "line": 195, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6476, "end": 6477, "loc": { "start": { "line": 195, "column": 36 }, "end": { "line": 195, "column": 37 } } }, { "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": 6489, "end": 6492, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6493, "end": 6494, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "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": 6494, "end": 6497, "loc": { "start": { "line": 197, "column": 13 }, "end": { "line": 197, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6498, "end": 6499, "loc": { "start": { "line": 197, "column": 17 }, "end": { "line": 197, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6500, "end": 6501, "loc": { "start": { "line": 197, "column": 19 }, "end": { "line": 197, "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": 6502, "end": 6503, "loc": { "start": { "line": 197, "column": 21 }, "end": { "line": 197, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6503, "end": 6504, "loc": { "start": { "line": 197, "column": 22 }, "end": { "line": 197, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6505, "end": 6506, "loc": { "start": { "line": 197, "column": 24 }, "end": { "line": 197, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6507, "end": 6508, "loc": { "start": { "line": 197, "column": 26 }, "end": { "line": 197, "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": 6509, "end": 6513, "loc": { "start": { "line": 197, "column": 28 }, "end": { "line": 197, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6513, "end": 6514, "loc": { "start": { "line": 197, "column": 32 }, "end": { "line": 197, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 6514, "end": 6523, "loc": { "start": { "line": 197, "column": 33 }, "end": { "line": 197, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6523, "end": 6524, "loc": { "start": { "line": 197, "column": 42 }, "end": { "line": 197, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6524, "end": 6530, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6530, "end": 6531, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 197, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 6532, "end": 6534, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6534, "end": 6535, "loc": { "start": { "line": 197, "column": 53 }, "end": { "line": 197, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6535, "end": 6536, "loc": { "start": { "line": 197, "column": 54 }, "end": { "line": 197, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6537, "end": 6538, "loc": { "start": { "line": 197, "column": 56 }, "end": { "line": 197, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6552, "end": 6557, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 6558, "end": 6566, "loc": { "start": { "line": 198, "column": 18 }, "end": { "line": 198, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6567, "end": 6568, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "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": 6569, "end": 6573, "loc": { "start": { "line": 198, "column": 29 }, "end": { "line": 198, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6573, "end": 6574, "loc": { "start": { "line": 198, "column": 33 }, "end": { "line": 198, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 6574, "end": 6583, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6583, "end": 6584, "loc": { "start": { "line": 198, "column": 43 }, "end": { "line": 198, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6584, "end": 6585, "loc": { "start": { "line": 198, "column": 44 }, "end": { "line": 198, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6585, "end": 6586, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 198, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6586, "end": 6587, "loc": { "start": { "line": 198, "column": 46 }, "end": { "line": 198, "column": 47 } } }, { "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": 6601, "end": 6606, "loc": { "start": { "line": 199, "column": 12 }, "end": { "line": 199, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 6607, "end": 6612, "loc": { "start": { "line": 199, "column": 18 }, "end": { "line": 199, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6613, "end": 6614, "loc": { "start": { "line": 199, "column": 24 }, "end": { "line": 199, "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": 6615, "end": 6619, "loc": { "start": { "line": 199, "column": 26 }, "end": { "line": 199, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6619, "end": 6620, "loc": { "start": { "line": 199, "column": 30 }, "end": { "line": 199, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointLabel", "start": 6620, "end": 6636, "loc": { "start": { "line": 199, "column": 31 }, "end": { "line": 199, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6636, "end": 6637, "loc": { "start": { "line": 199, "column": 47 }, "end": { "line": 199, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 6637, "end": 6645, "loc": { "start": { "line": 199, "column": 48 }, "end": { "line": 199, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6645, "end": 6646, "loc": { "start": { "line": 199, "column": 56 }, "end": { "line": 199, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6646, "end": 6647, "loc": { "start": { "line": 199, "column": 57 }, "end": { "line": 199, "column": 58 } } }, { "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": 6663, "end": 6668, "loc": { "start": { "line": 201, "column": 12 }, "end": { "line": 201, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 6669, "end": 6676, "loc": { "start": { "line": 201, "column": 18 }, "end": { "line": 201, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6677, "end": 6678, "loc": { "start": { "line": 201, "column": 26 }, "end": { "line": 201, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 6679, "end": 6686, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 201, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6686, "end": 6687, "loc": { "start": { "line": 201, "column": 35 }, "end": { "line": 201, "column": 36 } } }, { "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": 6687, "end": 6691, "loc": { "start": { "line": 201, "column": 36 }, "end": { "line": 201, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6691, "end": 6692, "loc": { "start": { "line": 201, "column": 40 }, "end": { "line": 201, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointsListElement", "start": 6692, "end": 6712, "loc": { "start": { "line": 201, "column": 41 }, "end": { "line": 201, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6712, "end": 6713, "loc": { "start": { "line": 201, "column": 61 }, "end": { "line": 201, "column": 62 } } }, { "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": 6714, "end": 6718, "loc": { "start": { "line": 201, "column": 63 }, "end": { "line": 201, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6718, "end": 6719, "loc": { "start": { "line": 201, "column": 67 }, "end": { "line": 201, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6720, "end": 6721, "loc": { "start": { "line": 201, "column": 69 }, "end": { "line": 201, "column": 70 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "waypoint", "start": 6739, "end": 6749, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6749, "end": 6750, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "layer--", "start": 6768, "end": 6777, "loc": { "start": { "line": 203, "column": 16 }, "end": { "line": 203, "column": 25 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6778, "end": 6779, "loc": { "start": { "line": 203, "column": 26 }, "end": { "line": 203, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 6780, "end": 6788, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6788, "end": 6789, "loc": { "start": { "line": 203, "column": 36 }, "end": { "line": 203, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 6789, "end": 6794, "loc": { "start": { "line": 203, "column": 37 }, "end": { "line": 203, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6794, "end": 6795, "loc": { "start": { "line": 203, "column": 42 }, "end": { "line": 203, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6809, "end": 6810, "loc": { "start": { "line": 204, "column": 12 }, "end": { "line": 204, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6810, "end": 6811, "loc": { "start": { "line": 204, "column": 13 }, "end": { "line": 204, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6811, "end": 6812, "loc": { "start": { "line": 204, "column": 14 }, "end": { "line": 204, "column": 15 } } }, { "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": 6828, "end": 6830, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6831, "end": 6832, "loc": { "start": { "line": 206, "column": 15 }, "end": { "line": 206, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 6832, "end": 6847, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6847, "end": 6848, "loc": { "start": { "line": 206, "column": 31 }, "end": { "line": 206, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isValidShortKey", "start": 6848, "end": 6863, "loc": { "start": { "line": 206, "column": 32 }, "end": { "line": 206, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6863, "end": 6864, "loc": { "start": { "line": 206, "column": 47 }, "end": { "line": 206, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 6864, "end": 6869, "loc": { "start": { "line": 206, "column": 48 }, "end": { "line": 206, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6869, "end": 6870, "loc": { "start": { "line": 206, "column": 53 }, "end": { "line": 206, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6870, "end": 6871, "loc": { "start": { "line": 206, "column": 54 }, "end": { "line": 206, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6872, "end": 6873, "loc": { "start": { "line": 206, "column": 56 }, "end": { "line": 206, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 6891, "end": 6896, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 6897, "end": 6903, "loc": { "start": { "line": 207, "column": 22 }, "end": { "line": 207, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6904, "end": 6905, "loc": { "start": { "line": 207, "column": 29 }, "end": { "line": 207, "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": 6906, "end": 6910, "loc": { "start": { "line": 207, "column": 31 }, "end": { "line": 207, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6910, "end": 6911, "loc": { "start": { "line": 207, "column": 35 }, "end": { "line": 207, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointCanvas", "start": 6911, "end": 6928, "loc": { "start": { "line": 207, "column": 36 }, "end": { "line": 207, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6928, "end": 6929, "loc": { "start": { "line": 207, "column": 53 }, "end": { "line": 207, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 6929, "end": 6937, "loc": { "start": { "line": 207, "column": 54 }, "end": { "line": 207, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6937, "end": 6938, "loc": { "start": { "line": 207, "column": 62 }, "end": { "line": 207, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6938, "end": 6939, "loc": { "start": { "line": 207, "column": 63 }, "end": { "line": 207, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Create a clone of the cached canvas, as calling appendElement when a canvas is\r\n * already in the document will move the existing canvas to the new position.\r\n ", "start": 6957, "end": 7175, "loc": { "start": { "line": 208, "column": 16 }, "end": { "line": 211, "column": 19 } } }, { "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": 7193, "end": 7198, "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 212, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7199, "end": 7200, "loc": { "start": { "line": 212, "column": 22 }, "end": { "line": 212, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newCanvas", "start": 7200, "end": 7209, "loc": { "start": { "line": 212, "column": 23 }, "end": { "line": 212, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7209, "end": 7210, "loc": { "start": { "line": 212, "column": 32 }, "end": { "line": 212, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 7211, "end": 7218, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7218, "end": 7219, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7220, "end": 7221, "loc": { "start": { "line": 212, "column": 43 }, "end": { "line": 212, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeOffscreenBuffer", "start": 7222, "end": 7241, "loc": { "start": { "line": 212, "column": 45 }, "end": { "line": 212, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7241, "end": 7242, "loc": { "start": { "line": 212, "column": 64 }, "end": { "line": 212, "column": 65 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 7242, "end": 7244, "loc": { "start": { "line": 212, "column": 65 }, "end": { "line": 212, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7244, "end": 7245, "loc": { "start": { "line": 212, "column": 67 }, "end": { "line": 212, "column": 68 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 7246, "end": 7248, "loc": { "start": { "line": 212, "column": 69 }, "end": { "line": 212, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7248, "end": 7249, "loc": { "start": { "line": 212, "column": 71 }, "end": { "line": 212, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7250, "end": 7251, "loc": { "start": { "line": 212, "column": 73 }, "end": { "line": 212, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smooth", "start": 7273, "end": 7279, "loc": { "start": { "line": 213, "column": 20 }, "end": { "line": 213, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7279, "end": 7280, "loc": { "start": { "line": 213, "column": 26 }, "end": { "line": 213, "column": 27 } } }, { "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": 7281, "end": 7285, "loc": { "start": { "line": 213, "column": 28 }, "end": { "line": 213, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7285, "end": 7286, "loc": { "start": { "line": 213, "column": 32 }, "end": { "line": 213, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 7308, "end": 7313, "loc": { "start": { "line": 214, "column": 20 }, "end": { "line": 214, "column": 25 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7313, "end": 7314, "loc": { "start": { "line": 214, "column": 25 }, "end": { "line": 214, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 7315, "end": 7320, "loc": { "start": { "line": 214, "column": 27 }, "end": { "line": 214, "column": 32 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7321, "end": 7322, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-waypoint-", "start": 7323, "end": 7335, "loc": { "start": { "line": 214, "column": 35 }, "end": { "line": 214, "column": 47 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7336, "end": 7337, "loc": { "start": { "line": 214, "column": 48 }, "end": { "line": 214, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7338, "end": 7339, "loc": { "start": { "line": 214, "column": 50 }, "end": { "line": 214, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7339, "end": 7340, "loc": { "start": { "line": 214, "column": 51 }, "end": { "line": 214, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7358, "end": 7359, "loc": { "start": { "line": 215, "column": 16 }, "end": { "line": 215, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7359, "end": 7360, "loc": { "start": { "line": 215, "column": 17 }, "end": { "line": 215, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7360, "end": 7361, "loc": { "start": { "line": 215, "column": 18 }, "end": { "line": 215, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 7379, "end": 7386, "loc": { "start": { "line": 216, "column": 16 }, "end": { "line": 216, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7386, "end": 7387, "loc": { "start": { "line": 216, "column": 23 }, "end": { "line": 216, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawImage", "start": 7387, "end": 7396, "loc": { "start": { "line": 216, "column": 24 }, "end": { "line": 216, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7396, "end": 7397, "loc": { "start": { "line": 216, "column": 33 }, "end": { "line": 216, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 7397, "end": 7403, "loc": { "start": { "line": 216, "column": 34 }, "end": { "line": 216, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7403, "end": 7404, "loc": { "start": { "line": 216, "column": 40 }, "end": { "line": 216, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7405, "end": 7406, "loc": { "start": { "line": 216, "column": 42 }, "end": { "line": 216, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7406, "end": 7407, "loc": { "start": { "line": 216, "column": 43 }, "end": { "line": 216, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7408, "end": 7409, "loc": { "start": { "line": 216, "column": 45 }, "end": { "line": 216, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7409, "end": 7410, "loc": { "start": { "line": 216, "column": 46 }, "end": { "line": 216, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7410, "end": 7411, "loc": { "start": { "line": 216, "column": 47 }, "end": { "line": 216, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7429, "end": 7436, "loc": { "start": { "line": 217, "column": 16 }, "end": { "line": 217, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7436, "end": 7437, "loc": { "start": { "line": 217, "column": 23 }, "end": { "line": 217, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 7437, "end": 7448, "loc": { "start": { "line": 217, "column": 24 }, "end": { "line": 217, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7448, "end": 7449, "loc": { "start": { "line": 217, "column": 35 }, "end": { "line": 217, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newCanvas", "start": 7449, "end": 7458, "loc": { "start": { "line": 217, "column": 36 }, "end": { "line": 217, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7458, "end": 7459, "loc": { "start": { "line": 217, "column": 45 }, "end": { "line": 217, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7459, "end": 7460, "loc": { "start": { "line": 217, "column": 46 }, "end": { "line": 217, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7478, "end": 7485, "loc": { "start": { "line": 218, "column": 16 }, "end": { "line": 218, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7485, "end": 7486, "loc": { "start": { "line": 218, "column": 23 }, "end": { "line": 218, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 7486, "end": 7495, "loc": { "start": { "line": 218, "column": 24 }, "end": { "line": 218, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7495, "end": 7496, "loc": { "start": { "line": 218, "column": 33 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 7496, "end": 7499, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7499, "end": 7500, "loc": { "start": { "line": 218, "column": 37 }, "end": { "line": 218, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shapeIcon", "start": 7500, "end": 7511, "loc": { "start": { "line": 218, "column": 38 }, "end": { "line": 218, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7511, "end": 7512, "loc": { "start": { "line": 218, "column": 49 }, "end": { "line": 218, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7512, "end": 7513, "loc": { "start": { "line": 218, "column": 50 }, "end": { "line": 218, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7527, "end": 7528, "loc": { "start": { "line": 219, "column": 12 }, "end": { "line": 219, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 7529, "end": 7533, "loc": { "start": { "line": 219, "column": 14 }, "end": { "line": 219, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7534, "end": 7535, "loc": { "start": { "line": 219, "column": 19 }, "end": { "line": 219, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7553, "end": 7560, "loc": { "start": { "line": 220, "column": 16 }, "end": { "line": 220, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7560, "end": 7561, "loc": { "start": { "line": 220, "column": 23 }, "end": { "line": 220, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerText", "start": 7561, "end": 7570, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7571, "end": 7572, "loc": { "start": { "line": 220, "column": 34 }, "end": { "line": 220, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 7573, "end": 7578, "loc": { "start": { "line": 220, "column": 36 }, "end": { "line": 220, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7578, "end": 7579, "loc": { "start": { "line": 220, "column": 41 }, "end": { "line": 220, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7593, "end": 7594, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "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": 7610, "end": 7612, "loc": { "start": { "line": 223, "column": 12 }, "end": { "line": 223, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7613, "end": 7614, "loc": { "start": { "line": 223, "column": 15 }, "end": { "line": 223, "column": 16 } } }, { "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": 7614, "end": 7618, "loc": { "start": { "line": 223, "column": 16 }, "end": { "line": 223, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7618, "end": 7619, "loc": { "start": { "line": 223, "column": 20 }, "end": { "line": 223, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isWaypointDeletable", "start": 7619, "end": 7638, "loc": { "start": { "line": 223, "column": 21 }, "end": { "line": 223, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7638, "end": 7639, "loc": { "start": { "line": 223, "column": 40 }, "end": { "line": 223, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 7639, "end": 7647, "loc": { "start": { "line": 223, "column": 41 }, "end": { "line": 223, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7647, "end": 7648, "loc": { "start": { "line": 223, "column": 49 }, "end": { "line": 223, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7648, "end": 7649, "loc": { "start": { "line": 223, "column": 50 }, "end": { "line": 223, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7650, "end": 7651, "loc": { "start": { "line": 223, "column": 52 }, "end": { "line": 223, "column": 53 } } }, { "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": 7669, "end": 7674, "loc": { "start": { "line": 224, "column": 16 }, "end": { "line": 224, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "editButton", "start": 7675, "end": 7685, "loc": { "start": { "line": 224, "column": 22 }, "end": { "line": 224, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7686, "end": 7687, "loc": { "start": { "line": 224, "column": 33 }, "end": { "line": 224, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 7688, "end": 7695, "loc": { "start": { "line": 224, "column": 35 }, "end": { "line": 224, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7695, "end": 7696, "loc": { "start": { "line": 224, "column": 42 }, "end": { "line": 224, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7696, "end": 7703, "loc": { "start": { "line": 224, "column": 43 }, "end": { "line": 224, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7703, "end": 7704, "loc": { "start": { "line": 224, "column": 50 }, "end": { "line": 224, "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": 7705, "end": 7709, "loc": { "start": { "line": 224, "column": 52 }, "end": { "line": 224, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7709, "end": 7710, "loc": { "start": { "line": 224, "column": 56 }, "end": { "line": 224, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7711, "end": 7712, "loc": { "start": { "line": 224, "column": 58 }, "end": { "line": 224, "column": 59 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "editButton", "start": 7712, "end": 7724, "loc": { "start": { "line": 224, "column": 59 }, "end": { "line": 224, "column": 71 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7724, "end": 7725, "loc": { "start": { "line": 224, "column": 71 }, "end": { "line": 224, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7725, "end": 7726, "loc": { "start": { "line": 224, "column": 72 }, "end": { "line": 224, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 224, "column": 73 }, "end": { "line": 224, "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": 7745, "end": 7749, "loc": { "start": { "line": 225, "column": 16 }, "end": { "line": 225, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7749, "end": 7750, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 7750, "end": 7761, "loc": { "start": { "line": 225, "column": 21 }, "end": { "line": 225, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7761, "end": 7762, "loc": { "start": { "line": 225, "column": 32 }, "end": { "line": 225, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "editButton", "start": 7762, "end": 7772, "loc": { "start": { "line": 225, "column": 33 }, "end": { "line": 225, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7772, "end": 7773, "loc": { "start": { "line": 225, "column": 43 }, "end": { "line": 225, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7774, "end": 7775, "loc": { "start": { "line": 225, "column": 45 }, "end": { "line": 225, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7775, "end": 7776, "loc": { "start": { "line": 225, "column": 46 }, "end": { "line": 225, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7777, "end": 7779, "loc": { "start": { "line": 225, "column": 48 }, "end": { "line": 225, "column": 50 } } }, { "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": 7780, "end": 7784, "loc": { "start": { "line": 225, "column": 51 }, "end": { "line": 225, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7784, "end": 7785, "loc": { "start": { "line": 225, "column": 55 }, "end": { "line": 225, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestSaveMarker", "start": 7785, "end": 7802, "loc": { "start": { "line": 225, "column": 56 }, "end": { "line": 225, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7802, "end": 7803, "loc": { "start": { "line": 225, "column": 73 }, "end": { "line": 225, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7803, "end": 7804, "loc": { "start": { "line": 225, "column": 74 }, "end": { "line": 225, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 7805, "end": 7813, "loc": { "start": { "line": 225, "column": 76 }, "end": { "line": 225, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7814, "end": 7815, "loc": { "start": { "line": 225, "column": 85 }, "end": { "line": 225, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7815, "end": 7816, "loc": { "start": { "line": 225, "column": 86 }, "end": { "line": 225, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7816, "end": 7817, "loc": { "start": { "line": 225, "column": 87 }, "end": { "line": 225, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7817, "end": 7818, "loc": { "start": { "line": 225, "column": 88 }, "end": { "line": 225, "column": 89 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7832, "end": 7833, "loc": { "start": { "line": 226, "column": 12 }, "end": { "line": 226, "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": 7849, "end": 7851, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 228, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7852, "end": 7853, "loc": { "start": { "line": 228, "column": 15 }, "end": { "line": 228, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7853, "end": 7854, "loc": { "start": { "line": 228, "column": 16 }, "end": { "line": 228, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 7854, "end": 7862, "loc": { "start": { "line": 228, "column": 17 }, "end": { "line": 228, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7862, "end": 7863, "loc": { "start": { "line": 228, "column": 25 }, "end": { "line": 228, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 7863, "end": 7868, "loc": { "start": { "line": 228, "column": 26 }, "end": { "line": 228, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7868, "end": 7869, "loc": { "start": { "line": 228, "column": 31 }, "end": { "line": 228, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7870, "end": 7871, "loc": { "start": { "line": 228, "column": 33 }, "end": { "line": 228, "column": 34 } } }, { "type": "CommentLine", "value": " This must be the hub label", "start": 7889, "end": 7918, "loc": { "start": { "line": 229, "column": 16 }, "end": { "line": 229, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7936, "end": 7943, "loc": { "start": { "line": 230, "column": 16 }, "end": { "line": 230, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7943, "end": 7944, "loc": { "start": { "line": 230, "column": 23 }, "end": { "line": 230, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 7944, "end": 7953, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7953, "end": 7954, "loc": { "start": { "line": 230, "column": 33 }, "end": { "line": 230, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 7954, "end": 7957, "loc": { "start": { "line": 230, "column": 34 }, "end": { "line": 230, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7957, "end": 7958, "loc": { "start": { "line": 230, "column": 37 }, "end": { "line": 230, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hub", "start": 7958, "end": 7963, "loc": { "start": { "line": 230, "column": 38 }, "end": { "line": 230, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7963, "end": 7964, "loc": { "start": { "line": 230, "column": 43 }, "end": { "line": 230, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7964, "end": 7965, "loc": { "start": { "line": 230, "column": 44 }, "end": { "line": 230, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 7983, "end": 7990, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7990, "end": 7991, "loc": { "start": { "line": 231, "column": 23 }, "end": { "line": 231, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertBefore", "start": 7991, "end": 8003, "loc": { "start": { "line": 231, "column": 24 }, "end": { "line": 231, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8003, "end": 8004, "loc": { "start": { "line": 231, "column": 36 }, "end": { "line": 231, "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": 8004, "end": 8008, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8008, "end": 8009, "loc": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "compassBuffer", "start": 8009, "end": 8022, "loc": { "start": { "line": 231, "column": 42 }, "end": { "line": 231, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8022, "end": 8023, "loc": { "start": { "line": 231, "column": 55 }, "end": { "line": 231, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 8023, "end": 8029, "loc": { "start": { "line": 231, "column": 56 }, "end": { "line": 231, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8029, "end": 8030, "loc": { "start": { "line": 231, "column": 62 }, "end": { "line": 231, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 8031, "end": 8038, "loc": { "start": { "line": 231, "column": 64 }, "end": { "line": 231, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8038, "end": 8039, "loc": { "start": { "line": 231, "column": 71 }, "end": { "line": 231, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 8039, "end": 8049, "loc": { "start": { "line": 231, "column": 72 }, "end": { "line": 231, "column": 82 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8049, "end": 8050, "loc": { "start": { "line": 231, "column": 82 }, "end": { "line": 231, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8050, "end": 8051, "loc": { "start": { "line": 231, "column": 83 }, "end": { "line": 231, "column": 84 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8051, "end": 8052, "loc": { "start": { "line": 231, "column": 84 }, "end": { "line": 231, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8052, "end": 8053, "loc": { "start": { "line": 231, "column": 85 }, "end": { "line": 231, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8053, "end": 8054, "loc": { "start": { "line": 231, "column": 86 }, "end": { "line": 231, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8068, "end": 8069, "loc": { "start": { "line": 232, "column": 12 }, "end": { "line": 232, "column": 13 } } }, { "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": 8085, "end": 8089, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8089, "end": 8090, "loc": { "start": { "line": 234, "column": 16 }, "end": { "line": 234, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 8090, "end": 8101, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8101, "end": 8102, "loc": { "start": { "line": 234, "column": 28 }, "end": { "line": 234, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 8102, "end": 8109, "loc": { "start": { "line": 234, "column": 29 }, "end": { "line": 234, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8109, "end": 8110, "loc": { "start": { "line": 234, "column": 36 }, "end": { "line": 234, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8111, "end": 8112, "loc": { "start": { "line": 234, "column": 38 }, "end": { "line": 234, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8112, "end": 8113, "loc": { "start": { "line": 234, "column": 39 }, "end": { "line": 234, "column": 40 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8114, "end": 8116, "loc": { "start": { "line": 234, "column": 41 }, "end": { "line": 234, "column": 43 } } }, { "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": 8117, "end": 8121, "loc": { "start": { "line": 234, "column": 44 }, "end": { "line": 234, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8121, "end": 8122, "loc": { "start": { "line": 234, "column": 48 }, "end": { "line": 234, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveToWaypoint", "start": 8122, "end": 8136, "loc": { "start": { "line": 234, "column": 49 }, "end": { "line": 234, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8136, "end": 8137, "loc": { "start": { "line": 234, "column": 63 }, "end": { "line": 234, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8137, "end": 8145, "loc": { "start": { "line": 234, "column": 64 }, "end": { "line": 234, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8145, "end": 8146, "loc": { "start": { "line": 234, "column": 72 }, "end": { "line": 234, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8146, "end": 8147, "loc": { "start": { "line": 234, "column": 73 }, "end": { "line": 234, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8148, "end": 8149, "loc": { "start": { "line": 234, "column": 75 }, "end": { "line": 234, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetOnly", "start": 8167, "end": 8177, "loc": { "start": { "line": 235, "column": 16 }, "end": { "line": 235, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8177, "end": 8178, "loc": { "start": { "line": 235, "column": 26 }, "end": { "line": 235, "column": 27 } } }, { "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": 8179, "end": 8183, "loc": { "start": { "line": 235, "column": 28 }, "end": { "line": 235, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8183, "end": 8184, "loc": { "start": { "line": 235, "column": 32 }, "end": { "line": 235, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8198, "end": 8199, "loc": { "start": { "line": 236, "column": 12 }, "end": { "line": 236, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8199, "end": 8200, "loc": { "start": { "line": 236, "column": 13 }, "end": { "line": 236, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8200, "end": 8201, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8211, "end": 8212, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8218, "end": 8219, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Moves the camera to a given waypoint\r\n * @param {Waypoint} waypoint\r\n ", "start": 8227, "end": 8319, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 243, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveToWaypoint", "start": 8325, "end": 8339, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8339, "end": 8340, "loc": { "start": { "line": 244, "column": 18 }, "end": { "line": 244, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8340, "end": 8348, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8348, "end": 8349, "loc": { "start": { "line": 244, "column": 27 }, "end": { "line": 244, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8350, "end": 8351, "loc": { "start": { "line": 244, "column": 29 }, "end": { "line": 244, "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": 8361, "end": 8365, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 245, "column": 12 }, "end": { "line": 245, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8366, "end": 8370, "loc": { "start": { "line": 245, "column": 13 }, "end": { "line": 245, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8370, "end": 8371, "loc": { "start": { "line": 245, "column": 17 }, "end": { "line": 245, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 8371, "end": 8383, "loc": { "start": { "line": 245, "column": 18 }, "end": { "line": 245, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8384, "end": 8385, "loc": { "start": { "line": 245, "column": 31 }, "end": { "line": 245, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8386, "end": 8394, "loc": { "start": { "line": 245, "column": 33 }, "end": { "line": 245, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8394, "end": 8395, "loc": { "start": { "line": 245, "column": 41 }, "end": { "line": 245, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 8395, "end": 8400, "loc": { "start": { "line": 245, "column": 42 }, "end": { "line": 245, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8400, "end": 8401, "loc": { "start": { "line": 245, "column": 47 }, "end": { "line": 245, "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": 8411, "end": 8415, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8415, "end": 8416, "loc": { "start": { "line": 246, "column": 12 }, "end": { "line": 246, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8416, "end": 8420, "loc": { "start": { "line": 246, "column": 13 }, "end": { "line": 246, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8420, "end": 8421, "loc": { "start": { "line": 246, "column": 17 }, "end": { "line": 246, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 8421, "end": 8427, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8427, "end": 8428, "loc": { "start": { "line": 246, "column": 24 }, "end": { "line": 246, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setDesiredCenter", "start": 8428, "end": 8444, "loc": { "start": { "line": 246, "column": 25 }, "end": { "line": 246, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8444, "end": 8445, "loc": { "start": { "line": 246, "column": 41 }, "end": { "line": 246, "column": 42 } } }, { "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": 8445, "end": 8448, "loc": { "start": { "line": 246, "column": 42 }, "end": { "line": 246, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 8449, "end": 8455, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8455, "end": 8456, "loc": { "start": { "line": 246, "column": 52 }, "end": { "line": 246, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8456, "end": 8464, "loc": { "start": { "line": 246, "column": 53 }, "end": { "line": 246, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8464, "end": 8465, "loc": { "start": { "line": 246, "column": 61 }, "end": { "line": 246, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 8465, "end": 8471, "loc": { "start": { "line": 246, "column": 62 }, "end": { "line": 246, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8471, "end": 8472, "loc": { "start": { "line": 246, "column": 68 }, "end": { "line": 246, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8472, "end": 8473, "loc": { "start": { "line": 246, "column": 69 }, "end": { "line": 246, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8473, "end": 8474, "loc": { "start": { "line": 246, "column": 70 }, "end": { "line": 246, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8475, "end": 8483, "loc": { "start": { "line": 246, "column": 72 }, "end": { "line": 246, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8483, "end": 8484, "loc": { "start": { "line": 246, "column": 80 }, "end": { "line": 246, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 8484, "end": 8490, "loc": { "start": { "line": 246, "column": 81 }, "end": { "line": 246, "column": 87 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8490, "end": 8491, "loc": { "start": { "line": 246, "column": 87 }, "end": { "line": 246, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8491, "end": 8492, "loc": { "start": { "line": 246, "column": 88 }, "end": { "line": 246, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8492, "end": 8493, "loc": { "start": { "line": 246, "column": 89 }, "end": { "line": 246, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8493, "end": 8494, "loc": { "start": { "line": 246, "column": 90 }, "end": { "line": 246, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8494, "end": 8495, "loc": { "start": { "line": 246, "column": 91 }, "end": { "line": 246, "column": 92 } } }, { "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": 8505, "end": 8509, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8509, "end": 8510, "loc": { "start": { "line": 247, "column": 12 }, "end": { "line": 247, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 8510, "end": 8514, "loc": { "start": { "line": 247, "column": 13 }, "end": { "line": 247, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8514, "end": 8515, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 8515, "end": 8521, "loc": { "start": { "line": 247, "column": 18 }, "end": { "line": 247, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8521, "end": 8522, "loc": { "start": { "line": 247, "column": 24 }, "end": { "line": 247, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setDesiredZoom", "start": 8522, "end": 8536, "loc": { "start": { "line": 247, "column": 25 }, "end": { "line": 247, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8536, "end": 8537, "loc": { "start": { "line": 247, "column": 39 }, "end": { "line": 247, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8537, "end": 8545, "loc": { "start": { "line": 247, "column": 40 }, "end": { "line": 247, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8545, "end": 8546, "loc": { "start": { "line": 247, "column": 48 }, "end": { "line": 247, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 8546, "end": 8555, "loc": { "start": { "line": 247, "column": 49 }, "end": { "line": 247, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8555, "end": 8556, "loc": { "start": { "line": 247, "column": 58 }, "end": { "line": 247, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8556, "end": 8557, "loc": { "start": { "line": 247, "column": 59 }, "end": { "line": 247, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8563, "end": 8564, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Deletes a waypoint from the list\r\n * @param {Waypoint} waypoint\r\n ", "start": 8572, "end": 8660, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 253, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteWaypoint", "start": 8666, "end": 8680, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8680, "end": 8681, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8681, "end": 8689, "loc": { "start": { "line": 254, "column": 19 }, "end": { "line": 254, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8689, "end": 8690, "loc": { "start": { "line": 254, "column": 27 }, "end": { "line": 254, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8691, "end": 8692, "loc": { "start": { "line": 254, "column": 29 }, "end": { "line": 254, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "arrayDeleteValue", "start": 8702, "end": 8718, "loc": { "start": { "line": 255, "column": 8 }, "end": { "line": 255, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8718, "end": 8719, "loc": { "start": { "line": 255, "column": 24 }, "end": { "line": 255, "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": 8719, "end": 8723, "loc": { "start": { "line": 255, "column": 25 }, "end": { "line": 255, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8723, "end": 8724, "loc": { "start": { "line": 255, "column": 29 }, "end": { "line": 255, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 8724, "end": 8733, "loc": { "start": { "line": 255, "column": 30 }, "end": { "line": 255, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8733, "end": 8734, "loc": { "start": { "line": 255, "column": 39 }, "end": { "line": 255, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8735, "end": 8743, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8743, "end": 8744, "loc": { "start": { "line": 255, "column": 49 }, "end": { "line": 255, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8744, "end": 8745, "loc": { "start": { "line": 255, "column": 50 }, "end": { "line": 255, "column": 51 } } }, { "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": 8755, "end": 8759, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8759, "end": 8760, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointList", "start": 8760, "end": 8780, "loc": { "start": { "line": 256, "column": 13 }, "end": { "line": 256, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8780, "end": 8781, "loc": { "start": { "line": 256, "column": 33 }, "end": { "line": 256, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8781, "end": 8782, "loc": { "start": { "line": 256, "column": 34 }, "end": { "line": 256, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8782, "end": 8783, "loc": { "start": { "line": 256, "column": 35 }, "end": { "line": 256, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8789, "end": 8790, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Gets the canvas for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {HTMLCanvasElement}\r\n ", "start": 8798, "end": 8927, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 263, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointCanvas", "start": 8933, "end": 8950, "loc": { "start": { "line": 264, "column": 4 }, "end": { "line": 264, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8950, "end": 8951, "loc": { "start": { "line": 264, "column": 21 }, "end": { "line": 264, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8951, "end": 8959, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8959, "end": 8960, "loc": { "start": { "line": 264, "column": 30 }, "end": { "line": 264, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8961, "end": 8962, "loc": { "start": { "line": 264, "column": 32 }, "end": { "line": 264, "column": 33 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8972, "end": 8977, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 8978, "end": 8981, "loc": { "start": { "line": 265, "column": 14 }, "end": { "line": 265, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8982, "end": 8983, "loc": { "start": { "line": 265, "column": 18 }, "end": { "line": 265, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 8984, "end": 8992, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8992, "end": 8993, "loc": { "start": { "line": 265, "column": 28 }, "end": { "line": 265, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 8993, "end": 8998, "loc": { "start": { "line": 265, "column": 29 }, "end": { "line": 265, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8998, "end": 8999, "loc": { "start": { "line": 265, "column": 34 }, "end": { "line": 265, "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": 9009, "end": 9011, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9012, "end": 9013, "loc": { "start": { "line": 266, "column": 11 }, "end": { "line": 266, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9013, "end": 9017, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9017, "end": 9018, "loc": { "start": { "line": 266, "column": 16 }, "end": { "line": 266, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedKeyToCanvas", "start": 9018, "end": 9035, "loc": { "start": { "line": 266, "column": 17 }, "end": { "line": 266, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9035, "end": 9036, "loc": { "start": { "line": 266, "column": 34 }, "end": { "line": 266, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9036, "end": 9039, "loc": { "start": { "line": 266, "column": 35 }, "end": { "line": 266, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9039, "end": 9040, "loc": { "start": { "line": 266, "column": 38 }, "end": { "line": 266, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9040, "end": 9041, "loc": { "start": { "line": 266, "column": 39 }, "end": { "line": 266, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9042, "end": 9043, "loc": { "start": { "line": 266, "column": 41 }, "end": { "line": 266, "column": 42 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 9057, "end": 9063, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "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": 9064, "end": 9068, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9068, "end": 9069, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedKeyToCanvas", "start": 9069, "end": 9086, "loc": { "start": { "line": 267, "column": 24 }, "end": { "line": 267, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9086, "end": 9087, "loc": { "start": { "line": 267, "column": 41 }, "end": { "line": 267, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9087, "end": 9090, "loc": { "start": { "line": 267, "column": 42 }, "end": { "line": 267, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9090, "end": 9091, "loc": { "start": { "line": 267, "column": 45 }, "end": { "line": 267, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9091, "end": 9092, "loc": { "start": { "line": 267, "column": 46 }, "end": { "line": 267, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9102, "end": 9103, "loc": { "start": { "line": 268, "column": 8 }, "end": { "line": 268, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 9115, "end": 9121, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9121, "end": 9122, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 9122, "end": 9137, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9137, "end": 9138, "loc": { "start": { "line": 270, "column": 30 }, "end": { "line": 270, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isValidShortKey", "start": 9138, "end": 9153, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9153, "end": 9154, "loc": { "start": { "line": 270, "column": 46 }, "end": { "line": 270, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9154, "end": 9157, "loc": { "start": { "line": 270, "column": 47 }, "end": { "line": 270, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9157, "end": 9158, "loc": { "start": { "line": 270, "column": 50 }, "end": { "line": 270, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9158, "end": 9159, "loc": { "start": { "line": 270, "column": 51 }, "end": { "line": 270, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid short key: ", "start": 9160, "end": 9181, "loc": { "start": { "line": 270, "column": 53 }, "end": { "line": 270, "column": 74 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9182, "end": 9183, "loc": { "start": { "line": 270, "column": 75 }, "end": { "line": 270, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9184, "end": 9187, "loc": { "start": { "line": 270, "column": 77 }, "end": { "line": 270, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9187, "end": 9188, "loc": { "start": { "line": 270, "column": 80 }, "end": { "line": 270, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9188, "end": 9189, "loc": { "start": { "line": 270, "column": 81 }, "end": { "line": 270, "column": 82 } } }, { "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": 9199, "end": 9204, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 9205, "end": 9215, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9216, "end": 9217, "loc": { "start": { "line": 271, "column": 25 }, "end": { "line": 271, "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": 9218, "end": 9222, "loc": { "start": { "line": 271, "column": 27 }, "end": { "line": 271, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9222, "end": 9223, "loc": { "start": { "line": 271, "column": 31 }, "end": { "line": 271, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9223, "end": 9227, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9227, "end": 9228, "loc": { "start": { "line": 271, "column": 36 }, "end": { "line": 271, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 9228, "end": 9246, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9246, "end": 9247, "loc": { "start": { "line": 271, "column": 55 }, "end": { "line": 271, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeFromShortKey", "start": 9247, "end": 9267, "loc": { "start": { "line": 271, "column": 56 }, "end": { "line": 271, "column": 76 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9267, "end": 9268, "loc": { "start": { "line": 271, "column": 76 }, "end": { "line": 271, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9268, "end": 9271, "loc": { "start": { "line": 271, "column": 77 }, "end": { "line": 271, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9271, "end": 9272, "loc": { "start": { "line": 271, "column": 80 }, "end": { "line": 271, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9272, "end": 9273, "loc": { "start": { "line": 271, "column": 81 }, "end": { "line": 271, "column": 82 } } }, { "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": 9283, "end": 9288, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preRendered", "start": 9289, "end": 9300, "loc": { "start": { "line": 272, "column": 14 }, "end": { "line": 272, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9301, "end": 9302, "loc": { "start": { "line": 272, "column": 26 }, "end": { "line": 272, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 9303, "end": 9313, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9313, "end": 9314, "loc": { "start": { "line": 272, "column": 38 }, "end": { "line": 272, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateAsCanvas", "start": 9314, "end": 9330, "loc": { "start": { "line": 272, "column": 39 }, "end": { "line": 272, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9330, "end": 9331, "loc": { "start": { "line": 272, "column": 55 }, "end": { "line": 272, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 9331, "end": 9333, "loc": { "start": { "line": 272, "column": 56 }, "end": { "line": 272, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9333, "end": 9334, "loc": { "start": { "line": 272, "column": 58 }, "end": { "line": 272, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9334, "end": 9335, "loc": { "start": { "line": 272, "column": 59 }, "end": { "line": 272, "column": 60 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 9345, "end": 9351, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9352, "end": 9353, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 16 } } }, { "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": 9353, "end": 9357, "loc": { "start": { "line": 273, "column": 16 }, "end": { "line": 273, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9357, "end": 9358, "loc": { "start": { "line": 273, "column": 20 }, "end": { "line": 273, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedKeyToCanvas", "start": 9358, "end": 9375, "loc": { "start": { "line": 273, "column": 21 }, "end": { "line": 273, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9375, "end": 9376, "loc": { "start": { "line": 273, "column": 38 }, "end": { "line": 273, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 9376, "end": 9379, "loc": { "start": { "line": 273, "column": 39 }, "end": { "line": 273, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9379, "end": 9380, "loc": { "start": { "line": 273, "column": 42 }, "end": { "line": 273, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9381, "end": 9382, "loc": { "start": { "line": 273, "column": 44 }, "end": { "line": 273, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preRendered", "start": 9383, "end": 9394, "loc": { "start": { "line": 273, "column": 46 }, "end": { "line": 273, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9394, "end": 9395, "loc": { "start": { "line": 273, "column": 57 }, "end": { "line": 273, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9395, "end": 9396, "loc": { "start": { "line": 273, "column": 58 }, "end": { "line": 273, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9402, "end": 9403, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Requests to save a marker at the current camera position. If worldPos is set,\r\n * uses that position instead.\r\n * @param {object} param0\r\n * @param {Vector=} param0.worldPos Override the world pos, otherwise it is the camera position\r\n * @param {Waypoint=} param0.waypoint Waypoint to be edited. If omitted, create new\r\n ", "start": 9411, "end": 9766, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 282, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestSaveMarker", "start": 9772, "end": 9789, "loc": { "start": { "line": 283, "column": 4 }, "end": { "line": 283, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9789, "end": 9790, "loc": { "start": { "line": 283, "column": 21 }, "end": { "line": 283, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9790, "end": 9791, "loc": { "start": { "line": 283, "column": 22 }, "end": { "line": 283, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 9792, "end": 9800, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9801, "end": 9802, "loc": { "start": { "line": 283, "column": 33 }, "end": { "line": 283, "column": 34 } } }, { "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": 9803, "end": 9807, "loc": { "start": { "line": 283, "column": 35 }, "end": { "line": 283, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9807, "end": 9808, "loc": { "start": { "line": 283, "column": 39 }, "end": { "line": 283, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 9809, "end": 9817, "loc": { "start": { "line": 283, "column": 41 }, "end": { "line": 283, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9818, "end": 9819, "loc": { "start": { "line": 283, "column": 50 }, "end": { "line": 283, "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": 9820, "end": 9824, "loc": { "start": { "line": 283, "column": 52 }, "end": { "line": 283, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9825, "end": 9826, "loc": { "start": { "line": 283, "column": 57 }, "end": { "line": 283, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9826, "end": 9827, "loc": { "start": { "line": 283, "column": 58 }, "end": { "line": 283, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9828, "end": 9829, "loc": { "start": { "line": 283, "column": 60 }, "end": { "line": 283, "column": 61 } } }, { "type": "CommentLine", "value": " Construct dialog with input field", "start": 9839, "end": 9875, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9885, "end": 9890, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markerNameInput", "start": 9891, "end": 9906, "loc": { "start": { "line": 285, "column": 14 }, "end": { "line": 285, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9907, "end": 9908, "loc": { "start": { "line": 285, "column": 30 }, "end": { "line": 285, "column": 31 } } }, { "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": 9909, "end": 9912, "loc": { "start": { "line": 285, "column": 32 }, "end": { "line": 285, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "FormElementInput", "start": 9913, "end": 9929, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9929, "end": 9930, "loc": { "start": { "line": 285, "column": 52 }, "end": { "line": 285, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9930, "end": 9931, "loc": { "start": { "line": 285, "column": 53 }, "end": { "line": 285, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 9945, "end": 9947, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9947, "end": 9948, "loc": { "start": { "line": 286, "column": 14 }, "end": { "line": 286, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "markerName", "start": 9949, "end": 9961, "loc": { "start": { "line": 286, "column": 16 }, "end": { "line": 286, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9961, "end": 9962, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 9976, "end": 9981, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9981, "end": 9982, "loc": { "start": { "line": 287, "column": 17 }, "end": { "line": 287, "column": 18 } } }, { "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": 9983, "end": 9987, "loc": { "start": { "line": 287, "column": 19 }, "end": { "line": 287, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9987, "end": 9988, "loc": { "start": { "line": 287, "column": 23 }, "end": { "line": 287, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "placeholder", "start": 10002, "end": 10013, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10013, "end": 10014, "loc": { "start": { "line": 288, "column": 23 }, "end": { "line": 288, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10015, "end": 10017, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10017, "end": 10018, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultValue", "start": 10032, "end": 10044, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10044, "end": 10045, "loc": { "start": { "line": 289, "column": 24 }, "end": { "line": 289, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10046, "end": 10054, "loc": { "start": { "line": 289, "column": 26 }, "end": { "line": 289, "column": 34 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10055, "end": 10056, "loc": { "start": { "line": 289, "column": 35 }, "end": { "line": 289, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10057, "end": 10065, "loc": { "start": { "line": 289, "column": 37 }, "end": { "line": 289, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10065, "end": 10066, "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 289, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 10066, "end": 10071, "loc": { "start": { "line": 289, "column": 46 }, "end": { "line": 289, "column": 51 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10072, "end": 10073, "loc": { "start": { "line": 289, "column": 52 }, "end": { "line": 289, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 10074, "end": 10076, "loc": { "start": { "line": 289, "column": 54 }, "end": { "line": 289, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10076, "end": 10077, "loc": { "start": { "line": 289, "column": 56 }, "end": { "line": 289, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "validator", "start": 10091, "end": 10100, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10100, "end": 10101, "loc": { "start": { "line": 290, "column": 21 }, "end": { "line": 290, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 10102, "end": 10105, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10106, "end": 10108, "loc": { "start": { "line": 290, "column": 27 }, "end": { "line": 290, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 10126, "end": 10129, "loc": { "start": { "line": 291, "column": 16 }, "end": { "line": 291, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10129, "end": 10130, "loc": { "start": { "line": 291, "column": 19 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10130, "end": 10136, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 10137, "end": 10138, "loc": { "start": { "line": 291, "column": 27 }, "end": { "line": 291, "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": 10139, "end": 10140, "loc": { "start": { "line": 291, "column": 29 }, "end": { "line": 291, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 10141, "end": 10143, "loc": { "start": { "line": 291, "column": 31 }, "end": { "line": 291, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10144, "end": 10145, "loc": { "start": { "line": 291, "column": 34 }, "end": { "line": 291, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 10145, "end": 10148, "loc": { "start": { "line": 291, "column": 35 }, "end": { "line": 291, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10148, "end": 10149, "loc": { "start": { "line": 291, "column": 38 }, "end": { "line": 291, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 10149, "end": 10155, "loc": { "start": { "line": 291, "column": 39 }, "end": { "line": 291, "column": 45 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10156, "end": 10157, "loc": { "start": { "line": 291, "column": 46 }, "end": { "line": 291, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_LABEL_LENGTH", "start": 10158, "end": 10174, "loc": { "start": { "line": 291, "column": 48 }, "end": { "line": 291, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10175, "end": 10177, "loc": { "start": { "line": 291, "column": 65 }, "end": { "line": 291, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 10178, "end": 10193, "loc": { "start": { "line": 291, "column": 68 }, "end": { "line": 291, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10193, "end": 10194, "loc": { "start": { "line": 291, "column": 83 }, "end": { "line": 291, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isValidShortKey", "start": 10194, "end": 10209, "loc": { "start": { "line": 291, "column": 84 }, "end": { "line": 291, "column": 99 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10209, "end": 10210, "loc": { "start": { "line": 291, "column": 99 }, "end": { "line": 291, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 10210, "end": 10213, "loc": { "start": { "line": 291, "column": 100 }, "end": { "line": 291, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10213, "end": 10214, "loc": { "start": { "line": 291, "column": 103 }, "end": { "line": 291, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10214, "end": 10215, "loc": { "start": { "line": 291, "column": 104 }, "end": { "line": 291, "column": 105 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10215, "end": 10216, "loc": { "start": { "line": 291, "column": 105 }, "end": { "line": 291, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10226, "end": 10227, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10227, "end": 10228, "loc": { "start": { "line": 292, "column": 9 }, "end": { "line": 292, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10228, "end": 10229, "loc": { "start": { "line": 292, "column": 10 }, "end": { "line": 292, "column": 11 } } }, { "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": 10239, "end": 10244, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialog", "start": 10245, "end": 10251, "loc": { "start": { "line": 293, "column": 14 }, "end": { "line": 293, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10252, "end": 10253, "loc": { "start": { "line": 293, "column": 21 }, "end": { "line": 293, "column": 22 } } }, { "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": 10254, "end": 10257, "loc": { "start": { "line": 293, "column": 23 }, "end": { "line": 293, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DialogWithForm", "start": 10258, "end": 10272, "loc": { "start": { "line": 293, "column": 27 }, "end": { "line": 293, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10272, "end": 10273, "loc": { "start": { "line": 293, "column": 41 }, "end": { "line": 293, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10273, "end": 10274, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 10288, "end": 10291, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10291, "end": 10292, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 16 } } }, { "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": 10293, "end": 10297, "loc": { "start": { "line": 294, "column": 17 }, "end": { "line": 294, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10297, "end": 10298, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10298, "end": 10302, "loc": { "start": { "line": 294, "column": 22 }, "end": { "line": 294, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10302, "end": 10303, "loc": { "start": { "line": 294, "column": 26 }, "end": { "line": 294, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 10303, "end": 10306, "loc": { "start": { "line": 294, "column": 27 }, "end": { "line": 294, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10306, "end": 10307, "loc": { "start": { "line": 294, "column": 30 }, "end": { "line": 294, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "title", "start": 10321, "end": 10326, "loc": { "start": { "line": 295, "column": 12 }, "end": { "line": 295, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10326, "end": 10327, "loc": { "start": { "line": 295, "column": 17 }, "end": { "line": 295, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10328, "end": 10336, "loc": { "start": { "line": 295, "column": 19 }, "end": { "line": 295, "column": 27 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10337, "end": 10338, "loc": { "start": { "line": 295, "column": 28 }, "end": { "line": 295, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 10339, "end": 10340, "loc": { "start": { "line": 295, "column": 30 }, "end": { "line": 295, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10340, "end": 10341, "loc": { "start": { "line": 295, "column": 31 }, "end": { "line": 295, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 10341, "end": 10348, "loc": { "start": { "line": 295, "column": 32 }, "end": { "line": 295, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10348, "end": 10349, "loc": { "start": { "line": 295, "column": 39 }, "end": { "line": 295, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createMarker", "start": 10349, "end": 10361, "loc": { "start": { "line": 295, "column": 40 }, "end": { "line": 295, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10361, "end": 10362, "loc": { "start": { "line": 295, "column": 52 }, "end": { "line": 295, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "titleEdit", "start": 10362, "end": 10371, "loc": { "start": { "line": 295, "column": 53 }, "end": { "line": 295, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10372, "end": 10373, "loc": { "start": { "line": 295, "column": 63 }, "end": { "line": 295, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 10374, "end": 10375, "loc": { "start": { "line": 295, "column": 65 }, "end": { "line": 295, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10375, "end": 10376, "loc": { "start": { "line": 295, "column": 66 }, "end": { "line": 295, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 10376, "end": 10383, "loc": { "start": { "line": 295, "column": 67 }, "end": { "line": 295, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10383, "end": 10384, "loc": { "start": { "line": 295, "column": 74 }, "end": { "line": 295, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createMarker", "start": 10384, "end": 10396, "loc": { "start": { "line": 295, "column": 75 }, "end": { "line": 295, "column": 87 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10396, "end": 10397, "loc": { "start": { "line": 295, "column": 87 }, "end": { "line": 295, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "title", "start": 10397, "end": 10402, "loc": { "start": { "line": 295, "column": 88 }, "end": { "line": 295, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10402, "end": 10403, "loc": { "start": { "line": 295, "column": 93 }, "end": { "line": 295, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desc", "start": 10417, "end": 10421, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10421, "end": 10422, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillInLinkIntoTranslation", "start": 10423, "end": 10448, "loc": { "start": { "line": 296, "column": 18 }, "end": { "line": 296, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10448, "end": 10449, "loc": { "start": { "line": 296, "column": 43 }, "end": { "line": 296, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 10449, "end": 10450, "loc": { "start": { "line": 296, "column": 44 }, "end": { "line": 296, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10450, "end": 10451, "loc": { "start": { "line": 296, "column": 45 }, "end": { "line": 296, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 10451, "end": 10458, "loc": { "start": { "line": 296, "column": 46 }, "end": { "line": 296, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10458, "end": 10459, "loc": { "start": { "line": 296, "column": 53 }, "end": { "line": 296, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createMarker", "start": 10459, "end": 10471, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10471, "end": 10472, "loc": { "start": { "line": 296, "column": 66 }, "end": { "line": 296, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desc", "start": 10472, "end": 10476, "loc": { "start": { "line": 296, "column": 67 }, "end": { "line": 296, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10476, "end": 10477, "loc": { "start": { "line": 296, "column": 71 }, "end": { "line": 296, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "THIRDPARTY_URLS", "start": 10478, "end": 10493, "loc": { "start": { "line": 296, "column": 73 }, "end": { "line": 296, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10493, "end": 10494, "loc": { "start": { "line": 296, "column": 88 }, "end": { "line": 296, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeViewer", "start": 10494, "end": 10505, "loc": { "start": { "line": 296, "column": 89 }, "end": { "line": 296, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10505, "end": 10506, "loc": { "start": { "line": 296, "column": 100 }, "end": { "line": 296, "column": 101 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10506, "end": 10507, "loc": { "start": { "line": 296, "column": 101 }, "end": { "line": 296, "column": 102 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "formElements", "start": 10521, "end": 10533, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10533, "end": 10534, "loc": { "start": { "line": 297, "column": 24 }, "end": { "line": 297, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10535, "end": 10536, "loc": { "start": { "line": 297, "column": 26 }, "end": { "line": 297, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markerNameInput", "start": 10536, "end": 10551, "loc": { "start": { "line": 297, "column": 27 }, "end": { "line": 297, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10551, "end": 10552, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10552, "end": 10553, "loc": { "start": { "line": 297, "column": 43 }, "end": { "line": 297, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10567, "end": 10574, "loc": { "start": { "line": 298, "column": 12 }, "end": { "line": 298, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10574, "end": 10575, "loc": { "start": { "line": 298, "column": 19 }, "end": { "line": 298, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10576, "end": 10584, "loc": { "start": { "line": 298, "column": 21 }, "end": { "line": 298, "column": 29 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10585, "end": 10586, "loc": { "start": { "line": 298, "column": 30 }, "end": { "line": 298, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10587, "end": 10588, "loc": { "start": { "line": 298, "column": 32 }, "end": { "line": 298, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "delete:bad", "start": 10588, "end": 10600, "loc": { "start": { "line": 298, "column": 33 }, "end": { "line": 298, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10600, "end": 10601, "loc": { "start": { "line": 298, "column": 45 }, "end": { "line": 298, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "cancel", "start": 10602, "end": 10610, "loc": { "start": { "line": 298, "column": 47 }, "end": { "line": 298, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10610, "end": 10611, "loc": { "start": { "line": 298, "column": 55 }, "end": { "line": 298, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ok:good", "start": 10612, "end": 10621, "loc": { "start": { "line": 298, "column": 57 }, "end": { "line": 298, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10621, "end": 10622, "loc": { "start": { "line": 298, "column": 66 }, "end": { "line": 298, "column": 67 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10623, "end": 10624, "loc": { "start": { "line": 298, "column": 68 }, "end": { "line": 298, "column": 69 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10625, "end": 10626, "loc": { "start": { "line": 298, "column": 70 }, "end": { "line": 298, "column": 71 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "cancel", "start": 10626, "end": 10634, "loc": { "start": { "line": 298, "column": 71 }, "end": { "line": 298, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10634, "end": 10635, "loc": { "start": { "line": 298, "column": 79 }, "end": { "line": 298, "column": 80 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ok:good", "start": 10636, "end": 10645, "loc": { "start": { "line": 298, "column": 81 }, "end": { "line": 298, "column": 90 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10645, "end": 10646, "loc": { "start": { "line": 298, "column": 90 }, "end": { "line": 298, "column": 91 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10646, "end": 10647, "loc": { "start": { "line": 298, "column": 91 }, "end": { "line": 298, "column": 92 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10657, "end": 10658, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10658, "end": 10659, "loc": { "start": { "line": 299, "column": 9 }, "end": { "line": 299, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10659, "end": 10660, "loc": { "start": { "line": 299, "column": 10 }, "end": { "line": 299, "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": 10670, "end": 10674, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10674, "end": 10675, "loc": { "start": { "line": 300, "column": 12 }, "end": { "line": 300, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10675, "end": 10679, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10679, "end": 10680, "loc": { "start": { "line": 300, "column": 17 }, "end": { "line": 300, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 10680, "end": 10683, "loc": { "start": { "line": 300, "column": 18 }, "end": { "line": 300, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10683, "end": 10684, "loc": { "start": { "line": 300, "column": 21 }, "end": { "line": 300, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parts", "start": 10684, "end": 10689, "loc": { "start": { "line": 300, "column": 22 }, "end": { "line": 300, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10689, "end": 10690, "loc": { "start": { "line": 300, "column": 27 }, "end": { "line": 300, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 10690, "end": 10697, "loc": { "start": { "line": 300, "column": 28 }, "end": { "line": 300, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10697, "end": 10698, "loc": { "start": { "line": 300, "column": 35 }, "end": { "line": 300, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalShowDialog", "start": 10698, "end": 10716, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10716, "end": 10717, "loc": { "start": { "line": 300, "column": 54 }, "end": { "line": 300, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialog", "start": 10717, "end": 10723, "loc": { "start": { "line": 300, "column": 55 }, "end": { "line": 300, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10723, "end": 10724, "loc": { "start": { "line": 300, "column": 61 }, "end": { "line": 300, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10724, "end": 10725, "loc": { "start": { "line": 300, "column": 62 }, "end": { "line": 300, "column": 63 } } }, { "type": "CommentLine", "value": " Edit marker", "start": 10737, "end": 10751, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 22 } } }, { "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": 10761, "end": 10763, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10764, "end": 10765, "loc": { "start": { "line": 303, "column": 11 }, "end": { "line": 303, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10765, "end": 10773, "loc": { "start": { "line": 303, "column": 12 }, "end": { "line": 303, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10773, "end": 10774, "loc": { "start": { "line": 303, "column": 20 }, "end": { "line": 303, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10775, "end": 10776, "loc": { "start": { "line": 303, "column": 22 }, "end": { "line": 303, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialog", "start": 10790, "end": 10796, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10796, "end": 10797, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSignals", "start": 10797, "end": 10810, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 304, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10810, "end": 10811, "loc": { "start": { "line": 304, "column": 32 }, "end": { "line": 304, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ok", "start": 10811, "end": 10813, "loc": { "start": { "line": 304, "column": 33 }, "end": { "line": 304, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10813, "end": 10814, "loc": { "start": { "line": 304, "column": 35 }, "end": { "line": 304, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 10814, "end": 10817, "loc": { "start": { "line": 304, "column": 36 }, "end": { "line": 304, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10817, "end": 10818, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10818, "end": 10819, "loc": { "start": { "line": 304, "column": 40 }, "end": { "line": 304, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10819, "end": 10820, "loc": { "start": { "line": 304, "column": 41 }, "end": { "line": 304, "column": 42 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10821, "end": 10823, "loc": { "start": { "line": 304, "column": 43 }, "end": { "line": 304, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10824, "end": 10825, "loc": { "start": { "line": 304, "column": 46 }, "end": { "line": 304, "column": 47 } } }, { "type": "CommentLine", "value": " Actually rename the waypoint", "start": 10843, "end": 10874, "loc": { "start": { "line": 305, "column": 16 }, "end": { "line": 305, "column": 47 } } }, { "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": 10892, "end": 10896, "loc": { "start": { "line": 306, "column": 16 }, "end": { "line": 306, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10896, "end": 10897, "loc": { "start": { "line": 306, "column": 20 }, "end": { "line": 306, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renameWaypoint", "start": 10897, "end": 10911, "loc": { "start": { "line": 306, "column": 21 }, "end": { "line": 306, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10911, "end": 10912, "loc": { "start": { "line": 306, "column": 35 }, "end": { "line": 306, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 10912, "end": 10920, "loc": { "start": { "line": 306, "column": 36 }, "end": { "line": 306, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10920, "end": 10921, "loc": { "start": { "line": 306, "column": 44 }, "end": { "line": 306, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markerNameInput", "start": 10922, "end": 10937, "loc": { "start": { "line": 306, "column": 46 }, "end": { "line": 306, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10937, "end": 10938, "loc": { "start": { "line": 306, "column": 61 }, "end": { "line": 306, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getValue", "start": 10938, "end": 10946, "loc": { "start": { "line": 306, "column": 62 }, "end": { "line": 306, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10946, "end": 10947, "loc": { "start": { "line": 306, "column": 70 }, "end": { "line": 306, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10947, "end": 10948, "loc": { "start": { "line": 306, "column": 71 }, "end": { "line": 306, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10948, "end": 10949, "loc": { "start": { "line": 306, "column": 72 }, "end": { "line": 306, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10949, "end": 10950, "loc": { "start": { "line": 306, "column": 73 }, "end": { "line": 306, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10964, "end": 10965, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10965, "end": 10966, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 307, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10966, "end": 10967, "loc": { "start": { "line": 307, "column": 14 }, "end": { "line": 307, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialog", "start": 10981, "end": 10987, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10987, "end": 10988, "loc": { "start": { "line": 308, "column": 18 }, "end": { "line": 308, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSignals", "start": 10988, "end": 11001, "loc": { "start": { "line": 308, "column": 19 }, "end": { "line": 308, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11001, "end": 11002, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 33 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 11002, "end": 11008, "loc": { "start": { "line": 308, "column": 33 }, "end": { "line": 308, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11008, "end": 11009, "loc": { "start": { "line": 308, "column": 39 }, "end": { "line": 308, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11009, "end": 11012, "loc": { "start": { "line": 308, "column": 40 }, "end": { "line": 308, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11012, "end": 11013, "loc": { "start": { "line": 308, "column": 43 }, "end": { "line": 308, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11013, "end": 11014, "loc": { "start": { "line": 308, "column": 44 }, "end": { "line": 308, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11014, "end": 11015, "loc": { "start": { "line": 308, "column": 45 }, "end": { "line": 308, "column": 46 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11016, "end": 11018, "loc": { "start": { "line": 308, "column": 47 }, "end": { "line": 308, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11019, "end": 11020, "loc": { "start": { "line": 308, "column": 50 }, "end": { "line": 308, "column": 51 } } }, { "type": "CommentLine", "value": " Actually delete the waypoint", "start": 11038, "end": 11069, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 47 } } }, { "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": 11087, "end": 11091, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11091, "end": 11092, "loc": { "start": { "line": 310, "column": 20 }, "end": { "line": 310, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deleteWaypoint", "start": 11092, "end": 11106, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 310, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11106, "end": 11107, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 11107, "end": 11115, "loc": { "start": { "line": 310, "column": 36 }, "end": { "line": 310, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11115, "end": 11116, "loc": { "start": { "line": 310, "column": 44 }, "end": { "line": 310, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11116, "end": 11117, "loc": { "start": { "line": 310, "column": 45 }, "end": { "line": 310, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11131, "end": 11132, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11132, "end": 11133, "loc": { "start": { "line": 311, "column": 13 }, "end": { "line": 311, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11133, "end": 11134, "loc": { "start": { "line": 311, "column": 14 }, "end": { "line": 311, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11144, "end": 11145, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 11146, "end": 11150, "loc": { "start": { "line": 312, "column": 10 }, "end": { "line": 312, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11151, "end": 11152, "loc": { "start": { "line": 312, "column": 15 }, "end": { "line": 312, "column": 16 } } }, { "type": "CommentLine", "value": " Compute where to create the marker", "start": 11166, "end": 11203, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 49 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 11217, "end": 11222, "loc": { "start": { "line": 314, "column": 12 }, "end": { "line": 314, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 11223, "end": 11229, "loc": { "start": { "line": 314, "column": 18 }, "end": { "line": 314, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11230, "end": 11231, "loc": { "start": { "line": 314, "column": 25 }, "end": { "line": 314, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 11232, "end": 11240, "loc": { "start": { "line": 314, "column": 27 }, "end": { "line": 314, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11241, "end": 11243, "loc": { "start": { "line": 314, "column": 36 }, "end": { "line": 314, "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": 11244, "end": 11248, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11248, "end": 11249, "loc": { "start": { "line": 314, "column": 43 }, "end": { "line": 314, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 11249, "end": 11253, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 314, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11253, "end": 11254, "loc": { "start": { "line": 314, "column": 48 }, "end": { "line": 314, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 11254, "end": 11260, "loc": { "start": { "line": 314, "column": 49 }, "end": { "line": 314, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11260, "end": 11261, "loc": { "start": { "line": 314, "column": 55 }, "end": { "line": 314, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 11261, "end": 11267, "loc": { "start": { "line": 314, "column": 56 }, "end": { "line": 314, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11267, "end": 11268, "loc": { "start": { "line": 314, "column": 62 }, "end": { "line": 314, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialog", "start": 11284, "end": 11290, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11290, "end": 11291, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSignals", "start": 11291, "end": 11304, "loc": { "start": { "line": 316, "column": 19 }, "end": { "line": 316, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11304, "end": 11305, "loc": { "start": { "line": 316, "column": 32 }, "end": { "line": 316, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ok", "start": 11305, "end": 11307, "loc": { "start": { "line": 316, "column": 33 }, "end": { "line": 316, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11307, "end": 11308, "loc": { "start": { "line": 316, "column": 35 }, "end": { "line": 316, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11308, "end": 11311, "loc": { "start": { "line": 316, "column": 36 }, "end": { "line": 316, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11311, "end": 11312, "loc": { "start": { "line": 316, "column": 39 }, "end": { "line": 316, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11312, "end": 11313, "loc": { "start": { "line": 316, "column": 40 }, "end": { "line": 316, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11313, "end": 11314, "loc": { "start": { "line": 316, "column": 41 }, "end": { "line": 316, "column": 42 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11315, "end": 11317, "loc": { "start": { "line": 316, "column": 43 }, "end": { "line": 316, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11318, "end": 11319, "loc": { "start": { "line": 316, "column": 46 }, "end": { "line": 316, "column": 47 } } }, { "type": "CommentLine", "value": " Show info that you can have only N markers in the demo,", "start": 11337, "end": 11395, "loc": { "start": { "line": 317, "column": 16 }, "end": { "line": 317, "column": 74 } } }, { "type": "CommentLine", "value": " actually show this *after* entering the name so you want the", "start": 11413, "end": 11476, "loc": { "start": { "line": 318, "column": 16 }, "end": { "line": 318, "column": 79 } } }, { "type": "CommentLine", "value": " standalone even more (I'm evil :P)", "start": 11494, "end": 11531, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 53 } } }, { "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": 11549, "end": 11551, "loc": { "start": { "line": 320, "column": 16 }, "end": { "line": 320, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11552, "end": 11553, "loc": { "start": { "line": 320, "column": 19 }, "end": { "line": 320, "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": 11553, "end": 11557, "loc": { "start": { "line": 320, "column": 20 }, "end": { "line": 320, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11557, "end": 11558, "loc": { "start": { "line": 320, "column": 24 }, "end": { "line": 320, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 11558, "end": 11567, "loc": { "start": { "line": 320, "column": 25 }, "end": { "line": 320, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11567, "end": 11568, "loc": { "start": { "line": 320, "column": 34 }, "end": { "line": 320, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 11568, "end": 11574, "loc": { "start": { "line": 320, "column": 35 }, "end": { "line": 320, "column": 41 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 11575, "end": 11576, "loc": { "start": { "line": 320, "column": 42 }, "end": { "line": 320, "column": 43 } } }, { "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": 11577, "end": 11581, "loc": { "start": { "line": 320, "column": 44 }, "end": { "line": 320, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11581, "end": 11582, "loc": { "start": { "line": 320, "column": 48 }, "end": { "line": 320, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 11582, "end": 11586, "loc": { "start": { "line": 320, "column": 49 }, "end": { "line": 320, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11586, "end": 11587, "loc": { "start": { "line": 320, "column": 53 }, "end": { "line": 320, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 11587, "end": 11590, "loc": { "start": { "line": 320, "column": 54 }, "end": { "line": 320, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11590, "end": 11591, "loc": { "start": { "line": 320, "column": 57 }, "end": { "line": 320, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restrictionMgr", "start": 11591, "end": 11605, "loc": { "start": { "line": 320, "column": 58 }, "end": { "line": 320, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11605, "end": 11606, "loc": { "start": { "line": 320, "column": 72 }, "end": { "line": 320, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMaximumWaypoints", "start": 11606, "end": 11625, "loc": { "start": { "line": 320, "column": 73 }, "end": { "line": 320, "column": 92 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11625, "end": 11626, "loc": { "start": { "line": 320, "column": 92 }, "end": { "line": 320, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11626, "end": 11627, "loc": { "start": { "line": 320, "column": 93 }, "end": { "line": 320, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11627, "end": 11628, "loc": { "start": { "line": 320, "column": 94 }, "end": { "line": 320, "column": 95 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11629, "end": 11630, "loc": { "start": { "line": 320, "column": 96 }, "end": { "line": 320, "column": 97 } } }, { "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": 11652, "end": 11656, "loc": { "start": { "line": 321, "column": 20 }, "end": { "line": 321, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11656, "end": 11657, "loc": { "start": { "line": 321, "column": 24 }, "end": { "line": 321, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 11657, "end": 11661, "loc": { "start": { "line": 321, "column": 25 }, "end": { "line": 321, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11661, "end": 11662, "loc": { "start": { "line": 321, "column": 29 }, "end": { "line": 321, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 11662, "end": 11665, "loc": { "start": { "line": 321, "column": 30 }, "end": { "line": 321, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11665, "end": 11666, "loc": { "start": { "line": 321, "column": 33 }, "end": { "line": 321, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parts", "start": 11666, "end": 11671, "loc": { "start": { "line": 321, "column": 34 }, "end": { "line": 321, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11671, "end": 11672, "loc": { "start": { "line": 321, "column": 39 }, "end": { "line": 321, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 11672, "end": 11679, "loc": { "start": { "line": 321, "column": 40 }, "end": { "line": 321, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11679, "end": 11680, "loc": { "start": { "line": 321, "column": 47 }, "end": { "line": 321, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "showFeatureRestrictionInfo", "start": 11680, "end": 11706, "loc": { "start": { "line": 321, "column": 48 }, "end": { "line": 321, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11706, "end": 11707, "loc": { "start": { "line": 321, "column": 74 }, "end": { "line": 321, "column": 75 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11733, "end": 11735, "loc": { "start": { "line": 322, "column": 24 }, "end": { "line": 322, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11735, "end": 11736, "loc": { "start": { "line": 322, "column": 26 }, "end": { "line": 322, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 11762, "end": 11763, "loc": { "start": { "line": 323, "column": 24 }, "end": { "line": 323, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11763, "end": 11764, "loc": { "start": { "line": 323, "column": 25 }, "end": { "line": 323, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dialogs", "start": 11764, "end": 11771, "loc": { "start": { "line": 323, "column": 26 }, "end": { "line": 323, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11771, "end": 11772, "loc": { "start": { "line": 323, "column": 33 }, "end": { "line": 323, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markerDemoLimit", "start": 11772, "end": 11787, "loc": { "start": { "line": 323, "column": 34 }, "end": { "line": 323, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11787, "end": 11788, "loc": { "start": { "line": 323, "column": 49 }, "end": { "line": 323, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desc", "start": 11788, "end": 11792, "loc": { "start": { "line": 323, "column": 50 }, "end": { "line": 323, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11814, "end": 11815, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11815, "end": 11816, "loc": { "start": { "line": 324, "column": 21 }, "end": { "line": 324, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 11838, "end": 11844, "loc": { "start": { "line": 325, "column": 20 }, "end": { "line": 325, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11844, "end": 11845, "loc": { "start": { "line": 325, "column": 26 }, "end": { "line": 325, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11863, "end": 11864, "loc": { "start": { "line": 326, "column": 16 }, "end": { "line": 326, "column": 17 } } }, { "type": "CommentLine", "value": " Actually create the waypoint", "start": 11884, "end": 11915, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 47 } } }, { "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": 11933, "end": 11937, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11937, "end": 11938, "loc": { "start": { "line": 329, "column": 20 }, "end": { "line": 329, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addWaypoint", "start": 11938, "end": 11949, "loc": { "start": { "line": 329, "column": 21 }, "end": { "line": 329, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11949, "end": 11950, "loc": { "start": { "line": 329, "column": 32 }, "end": { "line": 329, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markerNameInput", "start": 11950, "end": 11965, "loc": { "start": { "line": 329, "column": 33 }, "end": { "line": 329, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11965, "end": 11966, "loc": { "start": { "line": 329, "column": 48 }, "end": { "line": 329, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getValue", "start": 11966, "end": 11974, "loc": { "start": { "line": 329, "column": 49 }, "end": { "line": 329, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11974, "end": 11975, "loc": { "start": { "line": 329, "column": 57 }, "end": { "line": 329, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11975, "end": 11976, "loc": { "start": { "line": 329, "column": 58 }, "end": { "line": 329, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11976, "end": 11977, "loc": { "start": { "line": 329, "column": 59 }, "end": { "line": 329, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 11978, "end": 11984, "loc": { "start": { "line": 329, "column": 61 }, "end": { "line": 329, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11984, "end": 11985, "loc": { "start": { "line": 329, "column": 67 }, "end": { "line": 329, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11985, "end": 11986, "loc": { "start": { "line": 329, "column": 68 }, "end": { "line": 329, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12000, "end": 12001, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12001, "end": 12002, "loc": { "start": { "line": 330, "column": 13 }, "end": { "line": 330, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12002, "end": 12003, "loc": { "start": { "line": 330, "column": 14 }, "end": { "line": 330, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12013, "end": 12014, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12020, "end": 12021, "loc": { "start": { "line": 332, "column": 4 }, "end": { "line": 332, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds a new waypoint at the given location with the given label\r\n * @param {string} label\r\n * @param {Vector} position\r\n ", "start": 12029, "end": 12175, "loc": { "start": { "line": 334, "column": 4 }, "end": { "line": 338, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addWaypoint", "start": 12181, "end": 12192, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12192, "end": 12193, "loc": { "start": { "line": 339, "column": 15 }, "end": { "line": 339, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 12193, "end": 12198, "loc": { "start": { "line": 339, "column": 16 }, "end": { "line": 339, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12198, "end": 12199, "loc": { "start": { "line": 339, "column": 21 }, "end": { "line": 339, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 12200, "end": 12208, "loc": { "start": { "line": 339, "column": 23 }, "end": { "line": 339, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12208, "end": 12209, "loc": { "start": { "line": 339, "column": 31 }, "end": { "line": 339, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12210, "end": 12211, "loc": { "start": { "line": 339, "column": 33 }, "end": { "line": 339, "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": 12221, "end": 12225, "loc": { "start": { "line": 340, "column": 8 }, "end": { "line": 340, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12225, "end": 12226, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 12226, "end": 12235, "loc": { "start": { "line": 340, "column": 13 }, "end": { "line": 340, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12235, "end": 12236, "loc": { "start": { "line": 340, "column": 22 }, "end": { "line": 340, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 12236, "end": 12240, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12240, "end": 12241, "loc": { "start": { "line": 340, "column": 27 }, "end": { "line": 340, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12241, "end": 12242, "loc": { "start": { "line": 340, "column": 28 }, "end": { "line": 340, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 12256, "end": 12261, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12261, "end": 12262, "loc": { "start": { "line": 341, "column": 17 }, "end": { "line": 341, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 12276, "end": 12282, "loc": { "start": { "line": 342, "column": 12 }, "end": { "line": 342, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12282, "end": 12283, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12284, "end": 12285, "loc": { "start": { "line": 342, "column": 20 }, "end": { "line": 342, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 12286, "end": 12287, "loc": { "start": { "line": 342, "column": 22 }, "end": { "line": 342, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12287, "end": 12288, "loc": { "start": { "line": 342, "column": 23 }, "end": { "line": 342, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 12289, "end": 12297, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12297, "end": 12298, "loc": { "start": { "line": 342, "column": 33 }, "end": { "line": 342, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 12298, "end": 12299, "loc": { "start": { "line": 342, "column": 34 }, "end": { "line": 342, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12299, "end": 12300, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 12301, "end": 12302, "loc": { "start": { "line": 342, "column": 37 }, "end": { "line": 342, "column": 38 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12302, "end": 12303, "loc": { "start": { "line": 342, "column": 38 }, "end": { "line": 342, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 12304, "end": 12312, "loc": { "start": { "line": 342, "column": 40 }, "end": { "line": 342, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12312, "end": 12313, "loc": { "start": { "line": 342, "column": 48 }, "end": { "line": 342, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 12313, "end": 12314, "loc": { "start": { "line": 342, "column": 49 }, "end": { "line": 342, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12315, "end": 12316, "loc": { "start": { "line": 342, "column": 51 }, "end": { "line": 342, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12316, "end": 12317, "loc": { "start": { "line": 342, "column": 52 }, "end": { "line": 342, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 12331, "end": 12340, "loc": { "start": { "line": 343, "column": 12 }, "end": { "line": 343, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12340, "end": 12341, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 22 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12342, "end": 12346, "loc": { "start": { "line": 343, "column": 23 }, "end": { "line": 343, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12346, "end": 12347, "loc": { "start": { "line": 343, "column": 27 }, "end": { "line": 343, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12347, "end": 12351, "loc": { "start": { "line": 343, "column": 28 }, "end": { "line": 343, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12351, "end": 12352, "loc": { "start": { "line": 343, "column": 32 }, "end": { "line": 343, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 12352, "end": 12358, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12358, "end": 12359, "loc": { "start": { "line": 343, "column": 39 }, "end": { "line": 343, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 12359, "end": 12368, "loc": { "start": { "line": 343, "column": 40 }, "end": { "line": 343, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12368, "end": 12369, "loc": { "start": { "line": 343, "column": 49 }, "end": { "line": 343, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12383, "end": 12388, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12388, "end": 12389, "loc": { "start": { "line": 344, "column": 17 }, "end": { "line": 344, "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": 12390, "end": 12394, "loc": { "start": { "line": 344, "column": 19 }, "end": { "line": 344, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12394, "end": 12395, "loc": { "start": { "line": 344, "column": 23 }, "end": { "line": 344, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12395, "end": 12399, "loc": { "start": { "line": 344, "column": 24 }, "end": { "line": 344, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12399, "end": 12400, "loc": { "start": { "line": 344, "column": 28 }, "end": { "line": 344, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 12400, "end": 12412, "loc": { "start": { "line": 344, "column": 29 }, "end": { "line": 344, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12412, "end": 12413, "loc": { "start": { "line": 344, "column": 41 }, "end": { "line": 344, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12423, "end": 12424, "loc": { "start": { "line": 345, "column": 8 }, "end": { "line": 345, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12424, "end": 12425, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12425, "end": 12426, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 345, "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": 12438, "end": 12442, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12442, "end": 12443, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sortWaypoints", "start": 12443, "end": 12456, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12456, "end": 12457, "loc": { "start": { "line": 347, "column": 26 }, "end": { "line": 347, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12457, "end": 12458, "loc": { "start": { "line": 347, "column": 27 }, "end": { "line": 347, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12458, "end": 12459, "loc": { "start": { "line": 347, "column": 28 }, "end": { "line": 347, "column": 29 } } }, { "type": "CommentLine", "value": " Show notification about creation", "start": 12471, "end": 12506, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 43 } } }, { "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": 12516, "end": 12520, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12520, "end": 12521, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12521, "end": 12525, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12525, "end": 12526, "loc": { "start": { "line": 350, "column": 17 }, "end": { "line": 350, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 12526, "end": 12529, "loc": { "start": { "line": 350, "column": 18 }, "end": { "line": 350, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12529, "end": 12530, "loc": { "start": { "line": 350, "column": 21 }, "end": { "line": 350, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 12530, "end": 12537, "loc": { "start": { "line": 350, "column": 22 }, "end": { "line": 350, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12537, "end": 12538, "loc": { "start": { "line": 350, "column": 29 }, "end": { "line": 350, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 12538, "end": 12550, "loc": { "start": { "line": 350, "column": 30 }, "end": { "line": 350, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12550, "end": 12551, "loc": { "start": { "line": 350, "column": 42 }, "end": { "line": 350, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 12551, "end": 12559, "loc": { "start": { "line": 350, "column": 43 }, "end": { "line": 350, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12559, "end": 12560, "loc": { "start": { "line": 350, "column": 51 }, "end": { "line": 350, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 12574, "end": 12575, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12575, "end": 12576, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 12576, "end": 12582, "loc": { "start": { "line": 351, "column": 14 }, "end": { "line": 351, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12582, "end": 12583, "loc": { "start": { "line": 351, "column": 20 }, "end": { "line": 351, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 12583, "end": 12592, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12592, "end": 12593, "loc": { "start": { "line": 351, "column": 30 }, "end": { "line": 351, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "creationSuccessNotification", "start": 12593, "end": 12620, "loc": { "start": { "line": 351, "column": 31 }, "end": { "line": 351, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12620, "end": 12621, "loc": { "start": { "line": 351, "column": 58 }, "end": { "line": 351, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumNotificationType", "start": 12635, "end": 12655, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12655, "end": 12656, "loc": { "start": { "line": 352, "column": 32 }, "end": { "line": 352, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "success", "start": 12656, "end": 12663, "loc": { "start": { "line": 352, "column": 33 }, "end": { "line": 352, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12673, "end": 12674, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12674, "end": 12675, "loc": { "start": { "line": 353, "column": 9 }, "end": { "line": 353, "column": 10 } } }, { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 12687, "end": 12724, "loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "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": 12734, "end": 12738, "loc": { "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12738, "end": 12739, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointList", "start": 12739, "end": 12759, "loc": { "start": { "line": 356, "column": 13 }, "end": { "line": 356, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12759, "end": 12760, "loc": { "start": { "line": 356, "column": 33 }, "end": { "line": 356, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12760, "end": 12761, "loc": { "start": { "line": 356, "column": 34 }, "end": { "line": 356, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12761, "end": 12762, "loc": { "start": { "line": 356, "column": 35 }, "end": { "line": 356, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12768, "end": 12769, "loc": { "start": { "line": 357, "column": 4 }, "end": { "line": 357, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renames a waypoint with the given label\r\n * @param {Waypoint} waypoint\r\n * @param {string} label\r\n ", "start": 12777, "end": 12902, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 363, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renameWaypoint", "start": 12908, "end": 12922, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12922, "end": 12923, "loc": { "start": { "line": 364, "column": 18 }, "end": { "line": 364, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 12923, "end": 12931, "loc": { "start": { "line": 364, "column": 19 }, "end": { "line": 364, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12931, "end": 12932, "loc": { "start": { "line": 364, "column": 27 }, "end": { "line": 364, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 12933, "end": 12938, "loc": { "start": { "line": 364, "column": 29 }, "end": { "line": 364, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12938, "end": 12939, "loc": { "start": { "line": 364, "column": 34 }, "end": { "line": 364, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12940, "end": 12941, "loc": { "start": { "line": 364, "column": 36 }, "end": { "line": 364, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 12951, "end": 12959, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12959, "end": 12960, "loc": { "start": { "line": 365, "column": 16 }, "end": { "line": 365, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 12960, "end": 12965, "loc": { "start": { "line": 365, "column": 17 }, "end": { "line": 365, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12966, "end": 12967, "loc": { "start": { "line": 365, "column": 23 }, "end": { "line": 365, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 12968, "end": 12973, "loc": { "start": { "line": 365, "column": 25 }, "end": { "line": 365, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12973, "end": 12974, "loc": { "start": { "line": 365, "column": 30 }, "end": { "line": 365, "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": 12986, "end": 12990, "loc": { "start": { "line": 367, "column": 8 }, "end": { "line": 367, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12990, "end": 12991, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sortWaypoints", "start": 12991, "end": 13004, "loc": { "start": { "line": 367, "column": 13 }, "end": { "line": 367, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13004, "end": 13005, "loc": { "start": { "line": 367, "column": 26 }, "end": { "line": 367, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13005, "end": 13006, "loc": { "start": { "line": 367, "column": 27 }, "end": { "line": 367, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13006, "end": 13007, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 367, "column": 29 } } }, { "type": "CommentLine", "value": " Show notification about renamed", "start": 13019, "end": 13053, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 42 } } }, { "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": 13063, "end": 13067, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13067, "end": 13068, "loc": { "start": { "line": 370, "column": 12 }, "end": { "line": 370, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13068, "end": 13072, "loc": { "start": { "line": 370, "column": 13 }, "end": { "line": 370, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13072, "end": 13073, "loc": { "start": { "line": 370, "column": 17 }, "end": { "line": 370, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 13073, "end": 13076, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13076, "end": 13077, "loc": { "start": { "line": 370, "column": 21 }, "end": { "line": 370, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 13077, "end": 13084, "loc": { "start": { "line": 370, "column": 22 }, "end": { "line": 370, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13084, "end": 13085, "loc": { "start": { "line": 370, "column": 29 }, "end": { "line": 370, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "notification", "start": 13085, "end": 13097, "loc": { "start": { "line": 370, "column": 30 }, "end": { "line": 370, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13097, "end": 13098, "loc": { "start": { "line": 370, "column": 42 }, "end": { "line": 370, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 13098, "end": 13106, "loc": { "start": { "line": 370, "column": 43 }, "end": { "line": 370, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13106, "end": 13107, "loc": { "start": { "line": 370, "column": 51 }, "end": { "line": 370, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 13121, "end": 13122, "loc": { "start": { "line": 371, "column": 12 }, "end": { "line": 371, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13122, "end": 13123, "loc": { "start": { "line": 371, "column": 13 }, "end": { "line": 371, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 13123, "end": 13129, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13129, "end": 13130, "loc": { "start": { "line": 371, "column": 20 }, "end": { "line": 371, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 13130, "end": 13139, "loc": { "start": { "line": 371, "column": 21 }, "end": { "line": 371, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13139, "end": 13140, "loc": { "start": { "line": 371, "column": 30 }, "end": { "line": 371, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "creationSuccessNotification", "start": 13140, "end": 13167, "loc": { "start": { "line": 371, "column": 31 }, "end": { "line": 371, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13167, "end": 13168, "loc": { "start": { "line": 371, "column": 58 }, "end": { "line": 371, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumNotificationType", "start": 13182, "end": 13202, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13202, "end": 13203, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "success", "start": 13203, "end": 13210, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13220, "end": 13221, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13221, "end": 13222, "loc": { "start": { "line": 373, "column": 9 }, "end": { "line": 373, "column": 10 } } }, { "type": "CommentLine", "value": " Re-render the list and thus add it", "start": 13234, "end": 13271, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "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": 13281, "end": 13285, "loc": { "start": { "line": 376, "column": 8 }, "end": { "line": 376, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13285, "end": 13286, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 376, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointList", "start": 13286, "end": 13306, "loc": { "start": { "line": 376, "column": 13 }, "end": { "line": 376, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13306, "end": 13307, "loc": { "start": { "line": 376, "column": 33 }, "end": { "line": 376, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13307, "end": 13308, "loc": { "start": { "line": 376, "column": 34 }, "end": { "line": 376, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13308, "end": 13309, "loc": { "start": { "line": 376, "column": 35 }, "end": { "line": 376, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13315, "end": 13316, "loc": { "start": { "line": 377, "column": 4 }, "end": { "line": 377, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Called every frame to update stuff\r\n ", "start": 13324, "end": 13379, "loc": { "start": { "line": 379, "column": 4 }, "end": { "line": 381, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 13385, "end": 13391, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13391, "end": 13392, "loc": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13392, "end": 13393, "loc": { "start": { "line": 382, "column": 11 }, "end": { "line": 382, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13394, "end": 13395, "loc": { "start": { "line": 382, "column": 13 }, "end": { "line": 382, "column": 14 } } }, { "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": 13405, "end": 13407, "loc": { "start": { "line": 383, "column": 8 }, "end": { "line": 383, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13408, "end": 13409, "loc": { "start": { "line": 383, "column": 11 }, "end": { "line": 383, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13409, "end": 13413, "loc": { "start": { "line": 383, "column": 12 }, "end": { "line": 383, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13413, "end": 13414, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 13414, "end": 13423, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 383, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13423, "end": 13424, "loc": { "start": { "line": 383, "column": 26 }, "end": { "line": 383, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13425, "end": 13426, "loc": { "start": { "line": 383, "column": 28 }, "end": { "line": 383, "column": 29 } } }, { "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": 13440, "end": 13444, "loc": { "start": { "line": 384, "column": 12 }, "end": { "line": 384, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13444, "end": 13445, "loc": { "start": { "line": 384, "column": 16 }, "end": { "line": 384, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domAttach", "start": 13445, "end": 13454, "loc": { "start": { "line": 384, "column": 17 }, "end": { "line": 384, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13454, "end": 13455, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 13455, "end": 13461, "loc": { "start": { "line": 384, "column": 27 }, "end": { "line": 384, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13461, "end": 13462, "loc": { "start": { "line": 384, "column": 33 }, "end": { "line": 384, "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": 13462, "end": 13466, "loc": { "start": { "line": 384, "column": 34 }, "end": { "line": 384, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13466, "end": 13467, "loc": { "start": { "line": 384, "column": 38 }, "end": { "line": 384, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13467, "end": 13471, "loc": { "start": { "line": 384, "column": 39 }, "end": { "line": 384, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13471, "end": 13472, "loc": { "start": { "line": 384, "column": 43 }, "end": { "line": 384, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 13472, "end": 13478, "loc": { "start": { "line": 384, "column": 44 }, "end": { "line": 384, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13478, "end": 13479, "loc": { "start": { "line": 384, "column": 50 }, "end": { "line": 384, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIsMapOverlayActive", "start": 13479, "end": 13500, "loc": { "start": { "line": 384, "column": 51 }, "end": { "line": 384, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13500, "end": 13501, "loc": { "start": { "line": 384, "column": 72 }, "end": { "line": 384, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13501, "end": 13502, "loc": { "start": { "line": 384, "column": 73 }, "end": { "line": 384, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13502, "end": 13503, "loc": { "start": { "line": 384, "column": 74 }, "end": { "line": 384, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13503, "end": 13504, "loc": { "start": { "line": 384, "column": 75 }, "end": { "line": 384, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13514, "end": 13515, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13521, "end": 13522, "loc": { "start": { "line": 386, "column": 4 }, "end": { "line": 386, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Sort waypoints by name\r\n ", "start": 13530, "end": 13573, "loc": { "start": { "line": 388, "column": 4 }, "end": { "line": 390, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sortWaypoints", "start": 13579, "end": 13592, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13592, "end": 13593, "loc": { "start": { "line": 391, "column": 17 }, "end": { "line": 391, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13593, "end": 13594, "loc": { "start": { "line": 391, "column": 18 }, "end": { "line": 391, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13595, "end": 13596, "loc": { "start": { "line": 391, "column": 20 }, "end": { "line": 391, "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": 13606, "end": 13610, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13610, "end": 13611, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 13611, "end": 13620, "loc": { "start": { "line": 392, "column": 13 }, "end": { "line": 392, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13620, "end": 13621, "loc": { "start": { "line": 392, "column": 22 }, "end": { "line": 392, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sort", "start": 13621, "end": 13625, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13625, "end": 13626, "loc": { "start": { "line": 392, "column": 27 }, "end": { "line": 392, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13626, "end": 13627, "loc": { "start": { "line": 392, "column": 28 }, "end": { "line": 392, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 13627, "end": 13628, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13628, "end": 13629, "loc": { "start": { "line": 392, "column": 30 }, "end": { "line": 392, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 13630, "end": 13631, "loc": { "start": { "line": 392, "column": 32 }, "end": { "line": 392, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13631, "end": 13632, "loc": { "start": { "line": 392, "column": 33 }, "end": { "line": 392, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13633, "end": 13635, "loc": { "start": { "line": 392, "column": 35 }, "end": { "line": 392, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13636, "end": 13637, "loc": { "start": { "line": 392, "column": 38 }, "end": { "line": 392, "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": 13651, "end": 13653, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13654, "end": 13655, "loc": { "start": { "line": 393, "column": 15 }, "end": { "line": 393, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13655, "end": 13656, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 13656, "end": 13657, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13657, "end": 13658, "loc": { "start": { "line": 393, "column": 18 }, "end": { "line": 393, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 13658, "end": 13663, "loc": { "start": { "line": 393, "column": 19 }, "end": { "line": 393, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13663, "end": 13664, "loc": { "start": { "line": 393, "column": 24 }, "end": { "line": 393, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13665, "end": 13666, "loc": { "start": { "line": 393, "column": 26 }, "end": { "line": 393, "column": 27 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 13684, "end": 13690, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 22 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 13691, "end": 13692, "loc": { "start": { "line": 394, "column": 23 }, "end": { "line": 394, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13692, "end": 13693, "loc": { "start": { "line": 394, "column": 24 }, "end": { "line": 394, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13693, "end": 13694, "loc": { "start": { "line": 394, "column": 25 }, "end": { "line": 394, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13708, "end": 13709, "loc": { "start": { "line": 395, "column": 12 }, "end": { "line": 395, "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": 13723, "end": 13725, "loc": { "start": { "line": 396, "column": 12 }, "end": { "line": 396, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13726, "end": 13727, "loc": { "start": { "line": 396, "column": 15 }, "end": { "line": 396, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 13727, "end": 13728, "loc": { "start": { "line": 396, "column": 16 }, "end": { "line": 396, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 13728, "end": 13729, "loc": { "start": { "line": 396, "column": 17 }, "end": { "line": 396, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13729, "end": 13730, "loc": { "start": { "line": 396, "column": 18 }, "end": { "line": 396, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 13730, "end": 13735, "loc": { "start": { "line": 396, "column": 19 }, "end": { "line": 396, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13735, "end": 13736, "loc": { "start": { "line": 396, "column": 24 }, "end": { "line": 396, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13737, "end": 13738, "loc": { "start": { "line": 396, "column": 26 }, "end": { "line": 396, "column": 27 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 13756, "end": 13762, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 397, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13763, "end": 13764, "loc": { "start": { "line": 397, "column": 23 }, "end": { "line": 397, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13764, "end": 13765, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13779, "end": 13780, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 13 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 13794, "end": 13800, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "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": 13801, "end": 13805, "loc": { "start": { "line": 399, "column": 19 }, "end": { "line": 399, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13805, "end": 13806, "loc": { "start": { "line": 399, "column": 23 }, "end": { "line": 399, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointLabel", "start": 13806, "end": 13822, "loc": { "start": { "line": 399, "column": 24 }, "end": { "line": 399, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13822, "end": 13823, "loc": { "start": { "line": 399, "column": 40 }, "end": { "line": 399, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 13823, "end": 13824, "loc": { "start": { "line": 399, "column": 41 }, "end": { "line": 399, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13824, "end": 13825, "loc": { "start": { "line": 399, "column": 42 }, "end": { "line": 399, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13843, "end": 13844, "loc": { "start": { "line": 400, "column": 16 }, "end": { "line": 400, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padEnd", "start": 13844, "end": 13850, "loc": { "start": { "line": 400, "column": 17 }, "end": { "line": 400, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13850, "end": 13851, "loc": { "start": { "line": 400, "column": 23 }, "end": { "line": 400, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_LABEL_LENGTH", "start": 13851, "end": 13867, "loc": { "start": { "line": 400, "column": 24 }, "end": { "line": 400, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13867, "end": 13868, "loc": { "start": { "line": 400, "column": 40 }, "end": { "line": 400, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "0", "start": 13869, "end": 13872, "loc": { "start": { "line": 400, "column": 42 }, "end": { "line": 400, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13872, "end": 13873, "loc": { "start": { "line": 400, "column": 45 }, "end": { "line": 400, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13891, "end": 13892, "loc": { "start": { "line": 401, "column": 16 }, "end": { "line": 401, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localeCompare", "start": 13892, "end": 13905, "loc": { "start": { "line": 401, "column": 17 }, "end": { "line": 401, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13905, "end": 13906, "loc": { "start": { "line": 401, "column": 30 }, "end": { "line": 401, "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": 13906, "end": 13910, "loc": { "start": { "line": 401, "column": 31 }, "end": { "line": 401, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13910, "end": 13911, "loc": { "start": { "line": 401, "column": 35 }, "end": { "line": 401, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointLabel", "start": 13911, "end": 13927, "loc": { "start": { "line": 401, "column": 36 }, "end": { "line": 401, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13927, "end": 13928, "loc": { "start": { "line": 401, "column": 52 }, "end": { "line": 401, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 13928, "end": 13929, "loc": { "start": { "line": 401, "column": 53 }, "end": { "line": 401, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13929, "end": 13930, "loc": { "start": { "line": 401, "column": 54 }, "end": { "line": 401, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13930, "end": 13931, "loc": { "start": { "line": 401, "column": 55 }, "end": { "line": 401, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "padEnd", "start": 13931, "end": 13937, "loc": { "start": { "line": 401, "column": 56 }, "end": { "line": 401, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13937, "end": 13938, "loc": { "start": { "line": 401, "column": 62 }, "end": { "line": 401, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MAX_LABEL_LENGTH", "start": 13938, "end": 13954, "loc": { "start": { "line": 401, "column": 63 }, "end": { "line": 401, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13954, "end": 13955, "loc": { "start": { "line": 401, "column": 79 }, "end": { "line": 401, "column": 80 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "0", "start": 13956, "end": 13959, "loc": { "start": { "line": 401, "column": 81 }, "end": { "line": 401, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13959, "end": 13960, "loc": { "start": { "line": 401, "column": 84 }, "end": { "line": 401, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13960, "end": 13961, "loc": { "start": { "line": 401, "column": 85 }, "end": { "line": 401, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13961, "end": 13962, "loc": { "start": { "line": 401, "column": 86 }, "end": { "line": 401, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13972, "end": 13973, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13973, "end": 13974, "loc": { "start": { "line": 402, "column": 9 }, "end": { "line": 402, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13974, "end": 13975, "loc": { "start": { "line": 402, "column": 10 }, "end": { "line": 402, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13981, "end": 13982, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the label for a given waypoint\r\n * @param {Waypoint} waypoint\r\n * @returns {string}\r\n ", "start": 13990, "end": 14110, "loc": { "start": { "line": 405, "column": 4 }, "end": { "line": 409, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointLabel", "start": 14116, "end": 14132, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14132, "end": 14133, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 14133, "end": 14141, "loc": { "start": { "line": 410, "column": 21 }, "end": { "line": 410, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14141, "end": 14142, "loc": { "start": { "line": 410, "column": 29 }, "end": { "line": 410, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14143, "end": 14144, "loc": { "start": { "line": 410, "column": 31 }, "end": { "line": 410, "column": 32 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 14154, "end": 14160, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 14161, "end": 14169, "loc": { "start": { "line": 411, "column": 15 }, "end": { "line": 411, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14169, "end": 14170, "loc": { "start": { "line": 411, "column": 23 }, "end": { "line": 411, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 14170, "end": 14175, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 14176, "end": 14178, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 14179, "end": 14180, "loc": { "start": { "line": 411, "column": 33 }, "end": { "line": 411, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14180, "end": 14181, "loc": { "start": { "line": 411, "column": 34 }, "end": { "line": 411, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 14181, "end": 14187, "loc": { "start": { "line": 411, "column": 35 }, "end": { "line": 411, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14187, "end": 14188, "loc": { "start": { "line": 411, "column": 41 }, "end": { "line": 411, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 14188, "end": 14197, "loc": { "start": { "line": 411, "column": 42 }, "end": { "line": 411, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14197, "end": 14198, "loc": { "start": { "line": 411, "column": 51 }, "end": { "line": 411, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hub", "start": 14198, "end": 14201, "loc": { "start": { "line": 411, "column": 52 }, "end": { "line": 411, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14201, "end": 14202, "loc": { "start": { "line": 411, "column": 55 }, "end": { "line": 411, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14208, "end": 14209, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if a waypoint is deletable\r\n * @param {Waypoint} waypoint\r\n * @returns {boolean}\r\n ", "start": 14217, "end": 14334, "loc": { "start": { "line": 414, "column": 4 }, "end": { "line": 418, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isWaypointDeletable", "start": 14340, "end": 14359, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14359, "end": 14360, "loc": { "start": { "line": 419, "column": 23 }, "end": { "line": 419, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 14360, "end": 14368, "loc": { "start": { "line": 419, "column": 24 }, "end": { "line": 419, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14368, "end": 14369, "loc": { "start": { "line": 419, "column": 32 }, "end": { "line": 419, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14370, "end": 14371, "loc": { "start": { "line": 419, "column": 34 }, "end": { "line": 419, "column": 35 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 14381, "end": 14387, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 420, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 14388, "end": 14396, "loc": { "start": { "line": 420, "column": 15 }, "end": { "line": 420, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14396, "end": 14397, "loc": { "start": { "line": 420, "column": 23 }, "end": { "line": 420, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 14397, "end": 14402, "loc": { "start": { "line": 420, "column": 24 }, "end": { "line": 420, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 14403, "end": 14406, "loc": { "start": { "line": 420, "column": 30 }, "end": { "line": 420, "column": 33 } } }, { "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": 14407, "end": 14411, "loc": { "start": { "line": 420, "column": 34 }, "end": { "line": 420, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14411, "end": 14412, "loc": { "start": { "line": 420, "column": 38 }, "end": { "line": 420, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14418, "end": 14419, "loc": { "start": { "line": 421, "column": 4 }, "end": { "line": 421, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the screen space bounds of the given waypoint or null\r\n * if it couldn't be determined. Also returns wheter its a shape or not\r\n * @param {Waypoint} waypoint\r\n * @return {{\r\n * screenBounds: Rectangle\r\n * item: BaseItem|null,\r\n * text: string\r\n * }}\r\n ", "start": 14427, "end": 14739, "loc": { "start": { "line": 423, "column": 4 }, "end": { "line": 432, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointScreenParams", "start": 14745, "end": 14768, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14768, "end": 14769, "loc": { "start": { "line": 433, "column": 27 }, "end": { "line": 433, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 14769, "end": 14777, "loc": { "start": { "line": 433, "column": 28 }, "end": { "line": 433, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14777, "end": 14778, "loc": { "start": { "line": 433, "column": 36 }, "end": { "line": 433, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14779, "end": 14780, "loc": { "start": { "line": 433, "column": 38 }, "end": { "line": 433, "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": 14790, "end": 14792, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14793, "end": 14794, "loc": { "start": { "line": 434, "column": 11 }, "end": { "line": 434, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 14794, "end": 14795, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 13 } } }, { "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": 14795, "end": 14799, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14799, "end": 14800, "loc": { "start": { "line": 434, "column": 17 }, "end": { "line": 434, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14800, "end": 14804, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14804, "end": 14805, "loc": { "start": { "line": 434, "column": 22 }, "end": { "line": 434, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 14805, "end": 14811, "loc": { "start": { "line": 434, "column": 23 }, "end": { "line": 434, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14811, "end": 14812, "loc": { "start": { "line": 434, "column": 29 }, "end": { "line": 434, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIsMapOverlayActive", "start": 14812, "end": 14833, "loc": { "start": { "line": 434, "column": 30 }, "end": { "line": 434, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14833, "end": 14834, "loc": { "start": { "line": 434, "column": 51 }, "end": { "line": 434, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14834, "end": 14835, "loc": { "start": { "line": 434, "column": 52 }, "end": { "line": 434, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14835, "end": 14836, "loc": { "start": { "line": 434, "column": 53 }, "end": { "line": 434, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14837, "end": 14838, "loc": { "start": { "line": 434, "column": 55 }, "end": { "line": 434, "column": 56 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 14852, "end": 14858, "loc": { "start": { "line": 435, "column": 12 }, "end": { "line": 435, "column": 18 } } }, { "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": 14859, "end": 14863, "loc": { "start": { "line": 435, "column": 19 }, "end": { "line": 435, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14863, "end": 14864, "loc": { "start": { "line": 435, "column": 23 }, "end": { "line": 435, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14874, "end": 14875, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 9 } } }, { "type": "CommentLine", "value": " Find parameters", "start": 14887, "end": 14905, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "column": 26 } } }, { "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": 14915, "end": 14920, "loc": { "start": { "line": 439, "column": 8 }, "end": { "line": 439, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 14921, "end": 14926, "loc": { "start": { "line": 439, "column": 14 }, "end": { "line": 439, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14927, "end": 14928, "loc": { "start": { "line": 439, "column": 20 }, "end": { "line": 439, "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": 14929, "end": 14933, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14933, "end": 14934, "loc": { "start": { "line": 439, "column": 26 }, "end": { "line": 439, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointUiScale", "start": 14934, "end": 14952, "loc": { "start": { "line": 439, "column": 27 }, "end": { "line": 439, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14952, "end": 14953, "loc": { "start": { "line": 439, "column": 45 }, "end": { "line": 439, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14953, "end": 14954, "loc": { "start": { "line": 439, "column": 46 }, "end": { "line": 439, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14954, "end": 14955, "loc": { "start": { "line": 439, "column": 47 }, "end": { "line": 439, "column": 48 } } }, { "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": 14965, "end": 14970, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenPos", "start": 14971, "end": 14980, "loc": { "start": { "line": 440, "column": 14 }, "end": { "line": 440, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14981, "end": 14982, "loc": { "start": { "line": 440, "column": 24 }, "end": { "line": 440, "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": 14983, "end": 14987, "loc": { "start": { "line": 440, "column": 26 }, "end": { "line": 440, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14987, "end": 14988, "loc": { "start": { "line": 440, "column": 30 }, "end": { "line": 440, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14988, "end": 14992, "loc": { "start": { "line": 440, "column": 31 }, "end": { "line": 440, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14992, "end": 14993, "loc": { "start": { "line": 440, "column": 35 }, "end": { "line": 440, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 14993, "end": 14999, "loc": { "start": { "line": 440, "column": 36 }, "end": { "line": 440, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14999, "end": 15000, "loc": { "start": { "line": 440, "column": 42 }, "end": { "line": 440, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldToScreen", "start": 15000, "end": 15013, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 440, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15013, "end": 15014, "loc": { "start": { "line": 440, "column": 56 }, "end": { "line": 440, "column": 57 } } }, { "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": 15014, "end": 15017, "loc": { "start": { "line": 440, "column": 57 }, "end": { "line": 440, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 15018, "end": 15024, "loc": { "start": { "line": 440, "column": 61 }, "end": { "line": 440, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15024, "end": 15025, "loc": { "start": { "line": 440, "column": 67 }, "end": { "line": 440, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 15025, "end": 15033, "loc": { "start": { "line": 440, "column": 68 }, "end": { "line": 440, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15033, "end": 15034, "loc": { "start": { "line": 440, "column": 76 }, "end": { "line": 440, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 15034, "end": 15040, "loc": { "start": { "line": 440, "column": 77 }, "end": { "line": 440, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15040, "end": 15041, "loc": { "start": { "line": 440, "column": 83 }, "end": { "line": 440, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 15041, "end": 15042, "loc": { "start": { "line": 440, "column": 84 }, "end": { "line": 440, "column": 85 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15042, "end": 15043, "loc": { "start": { "line": 440, "column": 85 }, "end": { "line": 440, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 15044, "end": 15052, "loc": { "start": { "line": 440, "column": 87 }, "end": { "line": 440, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15052, "end": 15053, "loc": { "start": { "line": 440, "column": 95 }, "end": { "line": 440, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 15053, "end": 15059, "loc": { "start": { "line": 440, "column": 96 }, "end": { "line": 440, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15059, "end": 15060, "loc": { "start": { "line": 440, "column": 102 }, "end": { "line": 440, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 15060, "end": 15061, "loc": { "start": { "line": 440, "column": 103 }, "end": { "line": 440, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15061, "end": 15062, "loc": { "start": { "line": 440, "column": 104 }, "end": { "line": 440, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15062, "end": 15063, "loc": { "start": { "line": 440, "column": 105 }, "end": { "line": 440, "column": 106 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15063, "end": 15064, "loc": { "start": { "line": 440, "column": 106 }, "end": { "line": 440, "column": 107 } } }, { "type": "CommentLine", "value": " Distinguish between text and item waypoints -> Figure out parameters", "start": 15076, "end": 15147, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 79 } } }, { "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": 15157, "end": 15162, "loc": { "start": { "line": 443, "column": 8 }, "end": { "line": 443, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalLabel", "start": 15163, "end": 15176, "loc": { "start": { "line": 443, "column": 14 }, "end": { "line": 443, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15177, "end": 15178, "loc": { "start": { "line": 443, "column": 28 }, "end": { "line": 443, "column": 29 } } }, { "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": 15179, "end": 15183, "loc": { "start": { "line": 443, "column": 30 }, "end": { "line": 443, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15183, "end": 15184, "loc": { "start": { "line": 443, "column": 34 }, "end": { "line": 443, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointLabel", "start": 15184, "end": 15200, "loc": { "start": { "line": 443, "column": 35 }, "end": { "line": 443, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15200, "end": 15201, "loc": { "start": { "line": 443, "column": 51 }, "end": { "line": 443, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 15201, "end": 15209, "loc": { "start": { "line": 443, "column": 52 }, "end": { "line": 443, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15209, "end": 15210, "loc": { "start": { "line": 443, "column": 60 }, "end": { "line": 443, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15210, "end": 15211, "loc": { "start": { "line": 443, "column": 61 }, "end": { "line": 443, "column": 62 } } }, { "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": 15221, "end": 15224, "loc": { "start": { "line": 444, "column": 8 }, "end": { "line": 444, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 15225, "end": 15229, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15229, "end": 15230, "loc": { "start": { "line": 444, "column": 16 }, "end": { "line": 444, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15231, "end": 15235, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15235, "end": 15236, "loc": { "start": { "line": 444, "column": 22 }, "end": { "line": 444, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textWidth", "start": 15237, "end": 15246, "loc": { "start": { "line": 444, "column": 24 }, "end": { "line": 444, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15246, "end": 15247, "loc": { "start": { "line": 444, "column": 33 }, "end": { "line": 444, "column": 34 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15259, "end": 15261, "loc": { "start": { "line": 446, "column": 8 }, "end": { "line": 446, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15262, "end": 15263, "loc": { "start": { "line": 446, "column": 11 }, "end": { "line": 446, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 15263, "end": 15278, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15278, "end": 15279, "loc": { "start": { "line": 446, "column": 27 }, "end": { "line": 446, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isValidShortKey", "start": 15279, "end": 15294, "loc": { "start": { "line": 446, "column": 28 }, "end": { "line": 446, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15294, "end": 15295, "loc": { "start": { "line": 446, "column": 43 }, "end": { "line": 446, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalLabel", "start": 15295, "end": 15308, "loc": { "start": { "line": 446, "column": 44 }, "end": { "line": 446, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15308, "end": 15309, "loc": { "start": { "line": 446, "column": 57 }, "end": { "line": 446, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15309, "end": 15310, "loc": { "start": { "line": 446, "column": 58 }, "end": { "line": 446, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15311, "end": 15312, "loc": { "start": { "line": 446, "column": 60 }, "end": { "line": 446, "column": 61 } } }, { "type": "CommentLine", "value": " If the label is actually a key, render the shape icon", "start": 15326, "end": 15382, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15396, "end": 15400, "loc": { "start": { "line": 448, "column": 12 }, "end": { "line": 448, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15401, "end": 15402, "loc": { "start": { "line": 448, "column": 17 }, "end": { "line": 448, "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": 15403, "end": 15407, "loc": { "start": { "line": 448, "column": 19 }, "end": { "line": 448, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15407, "end": 15408, "loc": { "start": { "line": 448, "column": 23 }, "end": { "line": 448, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 15408, "end": 15412, "loc": { "start": { "line": 448, "column": 24 }, "end": { "line": 448, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15412, "end": 15413, "loc": { "start": { "line": 448, "column": 28 }, "end": { "line": 448, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 15413, "end": 15431, "loc": { "start": { "line": 448, "column": 29 }, "end": { "line": 448, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15431, "end": 15432, "loc": { "start": { "line": 448, "column": 47 }, "end": { "line": 448, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromShortKey", "start": 15432, "end": 15456, "loc": { "start": { "line": 448, "column": 48 }, "end": { "line": 448, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15456, "end": 15457, "loc": { "start": { "line": 448, "column": 72 }, "end": { "line": 448, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalLabel", "start": 15457, "end": 15470, "loc": { "start": { "line": 448, "column": 73 }, "end": { "line": 448, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15470, "end": 15471, "loc": { "start": { "line": 448, "column": 86 }, "end": { "line": 448, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15471, "end": 15472, "loc": { "start": { "line": 448, "column": 87 }, "end": { "line": 448, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textWidth", "start": 15486, "end": 15495, "loc": { "start": { "line": 449, "column": 12 }, "end": { "line": 449, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15496, "end": 15497, "loc": { "start": { "line": 449, "column": 22 }, "end": { "line": 449, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 40, "start": 15498, "end": 15500, "loc": { "start": { "line": 449, "column": 24 }, "end": { "line": 449, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15500, "end": 15501, "loc": { "start": { "line": 449, "column": 26 }, "end": { "line": 449, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15511, "end": 15512, "loc": { "start": { "line": 450, "column": 8 }, "end": { "line": 450, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 15513, "end": 15517, "loc": { "start": { "line": 450, "column": 10 }, "end": { "line": 450, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15518, "end": 15519, "loc": { "start": { "line": 450, "column": 15 }, "end": { "line": 450, "column": 16 } } }, { "type": "CommentLine", "value": " Otherwise render a regular waypoint", "start": 15533, "end": 15571, "loc": { "start": { "line": 451, "column": 12 }, "end": { "line": 451, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 15585, "end": 15589, "loc": { "start": { "line": 452, "column": 12 }, "end": { "line": 452, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15590, "end": 15591, "loc": { "start": { "line": 452, "column": 17 }, "end": { "line": 452, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalLabel", "start": 15592, "end": 15605, "loc": { "start": { "line": 452, "column": 19 }, "end": { "line": 452, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15605, "end": 15606, "loc": { "start": { "line": 452, "column": 32 }, "end": { "line": 452, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textWidth", "start": 15620, "end": 15629, "loc": { "start": { "line": 453, "column": 12 }, "end": { "line": 453, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15630, "end": 15631, "loc": { "start": { "line": 453, "column": 22 }, "end": { "line": 453, "column": 23 } } }, { "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": 15632, "end": 15636, "loc": { "start": { "line": 453, "column": 24 }, "end": { "line": 453, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15636, "end": 15637, "loc": { "start": { "line": 453, "column": 28 }, "end": { "line": 453, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTextWidth", "start": 15637, "end": 15649, "loc": { "start": { "line": 453, "column": 29 }, "end": { "line": 453, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15649, "end": 15650, "loc": { "start": { "line": 453, "column": 41 }, "end": { "line": 453, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 15650, "end": 15654, "loc": { "start": { "line": 453, "column": 42 }, "end": { "line": 453, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15654, "end": 15655, "loc": { "start": { "line": 453, "column": 46 }, "end": { "line": 453, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15655, "end": 15656, "loc": { "start": { "line": 453, "column": 47 }, "end": { "line": 453, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15666, "end": 15667, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 9 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 15679, "end": 15685, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15686, "end": 15687, "loc": { "start": { "line": 456, "column": 15 }, "end": { "line": 456, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenBounds", "start": 15701, "end": 15713, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15713, "end": 15714, "loc": { "start": { "line": 457, "column": 24 }, "end": { "line": 457, "column": 25 } } }, { "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": 15715, "end": 15718, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 457, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Rectangle", "start": 15719, "end": 15728, "loc": { "start": { "line": 457, "column": 30 }, "end": { "line": 457, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15728, "end": 15729, "loc": { "start": { "line": 457, "column": 39 }, "end": { "line": 457, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenPos", "start": 15747, "end": 15756, "loc": { "start": { "line": 458, "column": 16 }, "end": { "line": 458, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15756, "end": 15757, "loc": { "start": { "line": 458, "column": 25 }, "end": { "line": 458, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 15757, "end": 15758, "loc": { "start": { "line": 458, "column": 26 }, "end": { "line": 458, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 15759, "end": 15760, "loc": { "start": { "line": 458, "column": 28 }, "end": { "line": 458, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 15761, "end": 15762, "loc": { "start": { "line": 458, "column": 30 }, "end": { "line": 458, "column": 31 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15763, "end": 15764, "loc": { "start": { "line": 458, "column": 32 }, "end": { "line": 458, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15765, "end": 15770, "loc": { "start": { "line": 458, "column": 34 }, "end": { "line": 458, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15770, "end": 15771, "loc": { "start": { "line": 458, "column": 39 }, "end": { "line": 458, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenPos", "start": 15789, "end": 15798, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15798, "end": 15799, "loc": { "start": { "line": 459, "column": 25 }, "end": { "line": 459, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 15799, "end": 15800, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 15801, "end": 15802, "loc": { "start": { "line": 459, "column": 28 }, "end": { "line": 459, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 12, "start": 15803, "end": 15805, "loc": { "start": { "line": 459, "column": 30 }, "end": { "line": 459, "column": 32 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15806, "end": 15807, "loc": { "start": { "line": 459, "column": 33 }, "end": { "line": 459, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15808, "end": 15813, "loc": { "start": { "line": 459, "column": 35 }, "end": { "line": 459, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15813, "end": 15814, "loc": { "start": { "line": 459, "column": 40 }, "end": { "line": 459, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 15, "start": 15832, "end": 15834, "loc": { "start": { "line": 460, "column": 16 }, "end": { "line": 460, "column": 18 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15835, "end": 15836, "loc": { "start": { "line": 460, "column": 19 }, "end": { "line": 460, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15837, "end": 15842, "loc": { "start": { "line": 460, "column": 21 }, "end": { "line": 460, "column": 26 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15843, "end": 15844, "loc": { "start": { "line": 460, "column": 27 }, "end": { "line": 460, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textWidth", "start": 15845, "end": 15854, "loc": { "start": { "line": 460, "column": 29 }, "end": { "line": 460, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15854, "end": 15855, "loc": { "start": { "line": 460, "column": 38 }, "end": { "line": 460, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 15, "start": 15873, "end": 15875, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 18 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15876, "end": 15877, "loc": { "start": { "line": 461, "column": 19 }, "end": { "line": 461, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15878, "end": 15883, "loc": { "start": { "line": 461, "column": 21 }, "end": { "line": 461, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15897, "end": 15898, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15898, "end": 15899, "loc": { "start": { "line": 462, "column": 13 }, "end": { "line": 462, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 15913, "end": 15917, "loc": { "start": { "line": 463, "column": 12 }, "end": { "line": 463, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15917, "end": 15918, "loc": { "start": { "line": 463, "column": 16 }, "end": { "line": 463, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 15932, "end": 15936, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15936, "end": 15937, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15947, "end": 15948, "loc": { "start": { "line": 465, "column": 8 }, "end": { "line": 465, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15948, "end": 15949, "loc": { "start": { "line": 465, "column": 9 }, "end": { "line": 465, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15955, "end": 15956, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 466, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds the currently intersected waypoint on the map overview under\r\n * the cursor.\r\n *\r\n * @returns {Waypoint | null}\r\n ", "start": 15964, "end": 16114, "loc": { "start": { "line": 468, "column": 4 }, "end": { "line": 473, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findCurrentIntersectedWaypoint", "start": 16120, "end": 16150, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 474, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16150, "end": 16151, "loc": { "start": { "line": 474, "column": 34 }, "end": { "line": 474, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16151, "end": 16152, "loc": { "start": { "line": 474, "column": 35 }, "end": { "line": 474, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16153, "end": 16154, "loc": { "start": { "line": 474, "column": 37 }, "end": { "line": 474, "column": 38 } } }, { "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": 16164, "end": 16169, "loc": { "start": { "line": 475, "column": 8 }, "end": { "line": 475, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 16170, "end": 16178, "loc": { "start": { "line": 475, "column": 14 }, "end": { "line": 475, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16179, "end": 16180, "loc": { "start": { "line": 475, "column": 23 }, "end": { "line": 475, "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": 16181, "end": 16185, "loc": { "start": { "line": 475, "column": 25 }, "end": { "line": 475, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16185, "end": 16186, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16186, "end": 16190, "loc": { "start": { "line": 475, "column": 30 }, "end": { "line": 475, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16190, "end": 16191, "loc": { "start": { "line": 475, "column": 34 }, "end": { "line": 475, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 16191, "end": 16194, "loc": { "start": { "line": 475, "column": 35 }, "end": { "line": 475, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16194, "end": 16195, "loc": { "start": { "line": 475, "column": 38 }, "end": { "line": 475, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 16195, "end": 16208, "loc": { "start": { "line": 475, "column": 39 }, "end": { "line": 475, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16208, "end": 16209, "loc": { "start": { "line": 475, "column": 52 }, "end": { "line": 475, "column": 53 } } }, { "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": 16219, "end": 16221, "loc": { "start": { "line": 476, "column": 8 }, "end": { "line": 476, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16222, "end": 16223, "loc": { "start": { "line": 476, "column": 11 }, "end": { "line": 476, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 16223, "end": 16224, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 16224, "end": 16232, "loc": { "start": { "line": 476, "column": 13 }, "end": { "line": 476, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16232, "end": 16233, "loc": { "start": { "line": 476, "column": 21 }, "end": { "line": 476, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16234, "end": 16235, "loc": { "start": { "line": 476, "column": 23 }, "end": { "line": 476, "column": 24 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 16249, "end": 16255, "loc": { "start": { "line": 477, "column": 12 }, "end": { "line": 477, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16255, "end": 16256, "loc": { "start": { "line": 477, "column": 18 }, "end": { "line": 477, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16266, "end": 16267, "loc": { "start": { "line": 478, "column": 8 }, "end": { "line": 478, "column": 9 } } }, { "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": 16279, "end": 16282, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16283, "end": 16284, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "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": 16284, "end": 16287, "loc": { "start": { "line": 480, "column": 13 }, "end": { "line": 480, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 16288, "end": 16289, "loc": { "start": { "line": 480, "column": 17 }, "end": { "line": 480, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16290, "end": 16291, "loc": { "start": { "line": 480, "column": 19 }, "end": { "line": 480, "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": 16292, "end": 16293, "loc": { "start": { "line": 480, "column": 21 }, "end": { "line": 480, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16293, "end": 16294, "loc": { "start": { "line": 480, "column": 22 }, "end": { "line": 480, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 16295, "end": 16296, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 16297, "end": 16298, "loc": { "start": { "line": 480, "column": 26 }, "end": { "line": 480, "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": 16299, "end": 16303, "loc": { "start": { "line": 480, "column": 28 }, "end": { "line": 480, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16303, "end": 16304, "loc": { "start": { "line": 480, "column": 32 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 16304, "end": 16313, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16313, "end": 16314, "loc": { "start": { "line": 480, "column": 42 }, "end": { "line": 480, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16314, "end": 16320, "loc": { "start": { "line": 480, "column": 43 }, "end": { "line": 480, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16320, "end": 16321, "loc": { "start": { "line": 480, "column": 49 }, "end": { "line": 480, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 16322, "end": 16324, "loc": { "start": { "line": 480, "column": 51 }, "end": { "line": 480, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 16324, "end": 16325, "loc": { "start": { "line": 480, "column": 53 }, "end": { "line": 480, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16325, "end": 16326, "loc": { "start": { "line": 480, "column": 54 }, "end": { "line": 480, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16327, "end": 16328, "loc": { "start": { "line": 480, "column": 56 }, "end": { "line": 480, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16342, "end": 16347, "loc": { "start": { "line": 481, "column": 12 }, "end": { "line": 481, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16348, "end": 16356, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16357, "end": 16358, "loc": { "start": { "line": 481, "column": 27 }, "end": { "line": 481, "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": 16359, "end": 16363, "loc": { "start": { "line": 481, "column": 29 }, "end": { "line": 481, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16363, "end": 16364, "loc": { "start": { "line": 481, "column": 33 }, "end": { "line": 481, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 16364, "end": 16373, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16373, "end": 16374, "loc": { "start": { "line": 481, "column": 43 }, "end": { "line": 481, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 16374, "end": 16375, "loc": { "start": { "line": 481, "column": 44 }, "end": { "line": 481, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16375, "end": 16376, "loc": { "start": { "line": 481, "column": 45 }, "end": { "line": 481, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16376, "end": 16377, "loc": { "start": { "line": 481, "column": 46 }, "end": { "line": 481, "column": 47 } } }, { "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": 16391, "end": 16396, "loc": { "start": { "line": 482, "column": 12 }, "end": { "line": 482, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 16397, "end": 16403, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16404, "end": 16405, "loc": { "start": { "line": 482, "column": 25 }, "end": { "line": 482, "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": 16406, "end": 16410, "loc": { "start": { "line": 482, "column": 27 }, "end": { "line": 482, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16410, "end": 16411, "loc": { "start": { "line": 482, "column": 31 }, "end": { "line": 482, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointScreenParams", "start": 16411, "end": 16434, "loc": { "start": { "line": 482, "column": 32 }, "end": { "line": 482, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16434, "end": 16435, "loc": { "start": { "line": 482, "column": 55 }, "end": { "line": 482, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16435, "end": 16443, "loc": { "start": { "line": 482, "column": 56 }, "end": { "line": 482, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16443, "end": 16444, "loc": { "start": { "line": 482, "column": 64 }, "end": { "line": 482, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16444, "end": 16445, "loc": { "start": { "line": 482, "column": 65 }, "end": { "line": 482, "column": 66 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16459, "end": 16461, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 483, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16462, "end": 16463, "loc": { "start": { "line": 483, "column": 15 }, "end": { "line": 483, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 16463, "end": 16469, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16470, "end": 16472, "loc": { "start": { "line": 483, "column": 23 }, "end": { "line": 483, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "params", "start": 16473, "end": 16479, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16479, "end": 16480, "loc": { "start": { "line": 483, "column": 32 }, "end": { "line": 483, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenBounds", "start": 16480, "end": 16492, "loc": { "start": { "line": 483, "column": 33 }, "end": { "line": 483, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16492, "end": 16493, "loc": { "start": { "line": 483, "column": 45 }, "end": { "line": 483, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsPoint", "start": 16493, "end": 16506, "loc": { "start": { "line": 483, "column": 46 }, "end": { "line": 483, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16506, "end": 16507, "loc": { "start": { "line": 483, "column": 59 }, "end": { "line": 483, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 16507, "end": 16515, "loc": { "start": { "line": 483, "column": 60 }, "end": { "line": 483, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16515, "end": 16516, "loc": { "start": { "line": 483, "column": 68 }, "end": { "line": 483, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 16516, "end": 16517, "loc": { "start": { "line": 483, "column": 69 }, "end": { "line": 483, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16517, "end": 16518, "loc": { "start": { "line": 483, "column": 70 }, "end": { "line": 483, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 16519, "end": 16527, "loc": { "start": { "line": 483, "column": 72 }, "end": { "line": 483, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16527, "end": 16528, "loc": { "start": { "line": 483, "column": 80 }, "end": { "line": 483, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 16528, "end": 16529, "loc": { "start": { "line": 483, "column": 81 }, "end": { "line": 483, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16529, "end": 16530, "loc": { "start": { "line": 483, "column": 82 }, "end": { "line": 483, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16530, "end": 16531, "loc": { "start": { "line": 483, "column": 83 }, "end": { "line": 483, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16532, "end": 16533, "loc": { "start": { "line": 483, "column": 85 }, "end": { "line": 483, "column": 86 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 16551, "end": 16557, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16558, "end": 16566, "loc": { "start": { "line": 484, "column": 23 }, "end": { "line": 484, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16566, "end": 16567, "loc": { "start": { "line": 484, "column": 31 }, "end": { "line": 484, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16581, "end": 16582, "loc": { "start": { "line": 485, "column": 12 }, "end": { "line": 485, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16592, "end": 16593, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 486, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16599, "end": 16600, "loc": { "start": { "line": 487, "column": 4 }, "end": { "line": 487, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Mouse-Down handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ", "start": 16608, "end": 16715, "loc": { "start": { "line": 489, "column": 4 }, "end": { "line": 493, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseDown", "start": 16721, "end": 16732, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16732, "end": 16733, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 16733, "end": 16736, "loc": { "start": { "line": 494, "column": 16 }, "end": { "line": 494, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16736, "end": 16737, "loc": { "start": { "line": 494, "column": 19 }, "end": { "line": 494, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16738, "end": 16744, "loc": { "start": { "line": 494, "column": 21 }, "end": { "line": 494, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16744, "end": 16745, "loc": { "start": { "line": 494, "column": 27 }, "end": { "line": 494, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16746, "end": 16747, "loc": { "start": { "line": 494, "column": 29 }, "end": { "line": 494, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16757, "end": 16762, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16763, "end": 16771, "loc": { "start": { "line": 495, "column": 14 }, "end": { "line": 495, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16772, "end": 16773, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "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": 16774, "end": 16778, "loc": { "start": { "line": 495, "column": 25 }, "end": { "line": 495, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16778, "end": 16779, "loc": { "start": { "line": 495, "column": 29 }, "end": { "line": 495, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findCurrentIntersectedWaypoint", "start": 16779, "end": 16809, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16809, "end": 16810, "loc": { "start": { "line": 495, "column": 60 }, "end": { "line": 495, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16810, "end": 16811, "loc": { "start": { "line": 495, "column": 61 }, "end": { "line": 495, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16811, "end": 16812, "loc": { "start": { "line": 495, "column": 62 }, "end": { "line": 495, "column": 63 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16822, "end": 16824, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16825, "end": 16826, "loc": { "start": { "line": 496, "column": 11 }, "end": { "line": 496, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16826, "end": 16834, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16834, "end": 16835, "loc": { "start": { "line": 496, "column": 20 }, "end": { "line": 496, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16836, "end": 16837, "loc": { "start": { "line": 496, "column": 22 }, "end": { "line": 496, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16851, "end": 16853, "loc": { "start": { "line": 497, "column": 12 }, "end": { "line": 497, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16854, "end": 16855, "loc": { "start": { "line": 497, "column": 15 }, "end": { "line": 497, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16855, "end": 16861, "loc": { "start": { "line": 497, "column": 16 }, "end": { "line": 497, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 16862, "end": 16865, "loc": { "start": { "line": 497, "column": 23 }, "end": { "line": 497, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 16866, "end": 16881, "loc": { "start": { "line": 497, "column": 27 }, "end": { "line": 497, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16881, "end": 16882, "loc": { "start": { "line": 497, "column": 42 }, "end": { "line": 497, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 16882, "end": 16886, "loc": { "start": { "line": 497, "column": 43 }, "end": { "line": 497, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16886, "end": 16887, "loc": { "start": { "line": 497, "column": 47 }, "end": { "line": 497, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16888, "end": 16889, "loc": { "start": { "line": 497, "column": 49 }, "end": { "line": 497, "column": 50 } } }, { "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": 16907, "end": 16911, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16911, "end": 16912, "loc": { "start": { "line": 498, "column": 20 }, "end": { "line": 498, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16912, "end": 16916, "loc": { "start": { "line": 498, "column": 21 }, "end": { "line": 498, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16916, "end": 16917, "loc": { "start": { "line": 498, "column": 25 }, "end": { "line": 498, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 16917, "end": 16927, "loc": { "start": { "line": 498, "column": 26 }, "end": { "line": 498, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16927, "end": 16928, "loc": { "start": { "line": 498, "column": 36 }, "end": { "line": 498, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiClick", "start": 16928, "end": 16939, "loc": { "start": { "line": 498, "column": 37 }, "end": { "line": 498, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16939, "end": 16940, "loc": { "start": { "line": 498, "column": 48 }, "end": { "line": 498, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16940, "end": 16941, "loc": { "start": { "line": 498, "column": 49 }, "end": { "line": 498, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16941, "end": 16942, "loc": { "start": { "line": 498, "column": 50 }, "end": { "line": 498, "column": 51 } } }, { "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": 16960, "end": 16964, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16964, "end": 16965, "loc": { "start": { "line": 499, "column": 20 }, "end": { "line": 499, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveToWaypoint", "start": 16965, "end": 16979, "loc": { "start": { "line": 499, "column": 21 }, "end": { "line": 499, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16979, "end": 16980, "loc": { "start": { "line": 499, "column": 35 }, "end": { "line": 499, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 16980, "end": 16988, "loc": { "start": { "line": 499, "column": 36 }, "end": { "line": 499, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16988, "end": 16989, "loc": { "start": { "line": 499, "column": 44 }, "end": { "line": 499, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16989, "end": 16990, "loc": { "start": { "line": 499, "column": 45 }, "end": { "line": 499, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17004, "end": 17005, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17006, "end": 17010, "loc": { "start": { "line": 500, "column": 14 }, "end": { "line": 500, "column": 18 } } }, { "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": 17011, "end": 17013, "loc": { "start": { "line": 500, "column": 19 }, "end": { "line": 500, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17014, "end": 17015, "loc": { "start": { "line": 500, "column": 22 }, "end": { "line": 500, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17015, "end": 17021, "loc": { "start": { "line": 500, "column": 23 }, "end": { "line": 500, "column": 29 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17022, "end": 17025, "loc": { "start": { "line": 500, "column": 30 }, "end": { "line": 500, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 17026, "end": 17041, "loc": { "start": { "line": 500, "column": 34 }, "end": { "line": 500, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17041, "end": 17042, "loc": { "start": { "line": 500, "column": 49 }, "end": { "line": 500, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 17042, "end": 17047, "loc": { "start": { "line": 500, "column": 50 }, "end": { "line": 500, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17047, "end": 17048, "loc": { "start": { "line": 500, "column": 55 }, "end": { "line": 500, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17049, "end": 17050, "loc": { "start": { "line": 500, "column": 57 }, "end": { "line": 500, "column": 58 } } }, { "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": 17068, "end": 17070, "loc": { "start": { "line": 501, "column": 16 }, "end": { "line": 501, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17071, "end": 17072, "loc": { "start": { "line": 501, "column": 19 }, "end": { "line": 501, "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": 17072, "end": 17076, "loc": { "start": { "line": 501, "column": 20 }, "end": { "line": 501, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17076, "end": 17077, "loc": { "start": { "line": 501, "column": 24 }, "end": { "line": 501, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isWaypointDeletable", "start": 17077, "end": 17096, "loc": { "start": { "line": 501, "column": 25 }, "end": { "line": 501, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17096, "end": 17097, "loc": { "start": { "line": 501, "column": 44 }, "end": { "line": 501, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 17097, "end": 17105, "loc": { "start": { "line": 501, "column": 45 }, "end": { "line": 501, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17105, "end": 17106, "loc": { "start": { "line": 501, "column": 53 }, "end": { "line": 501, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17106, "end": 17107, "loc": { "start": { "line": 501, "column": 54 }, "end": { "line": 501, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17108, "end": 17109, "loc": { "start": { "line": 501, "column": 56 }, "end": { "line": 501, "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": 17131, "end": 17135, "loc": { "start": { "line": 502, "column": 20 }, "end": { "line": 502, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17135, "end": 17136, "loc": { "start": { "line": 502, "column": 24 }, "end": { "line": 502, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17136, "end": 17140, "loc": { "start": { "line": 502, "column": 25 }, "end": { "line": 502, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17140, "end": 17141, "loc": { "start": { "line": 502, "column": 29 }, "end": { "line": 502, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 17141, "end": 17151, "loc": { "start": { "line": 502, "column": 30 }, "end": { "line": 502, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17151, "end": 17152, "loc": { "start": { "line": 502, "column": 40 }, "end": { "line": 502, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiClick", "start": 17152, "end": 17163, "loc": { "start": { "line": 502, "column": 41 }, "end": { "line": 502, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17163, "end": 17164, "loc": { "start": { "line": 502, "column": 52 }, "end": { "line": 502, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17164, "end": 17165, "loc": { "start": { "line": 502, "column": 53 }, "end": { "line": 502, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17165, "end": 17166, "loc": { "start": { "line": 502, "column": 54 }, "end": { "line": 502, "column": 55 } } }, { "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": 17188, "end": 17192, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17192, "end": 17193, "loc": { "start": { "line": 503, "column": 24 }, "end": { "line": 503, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestSaveMarker", "start": 17193, "end": 17210, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17210, "end": 17211, "loc": { "start": { "line": 503, "column": 42 }, "end": { "line": 503, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17211, "end": 17212, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 17213, "end": 17221, "loc": { "start": { "line": 503, "column": 45 }, "end": { "line": 503, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17222, "end": 17223, "loc": { "start": { "line": 503, "column": 54 }, "end": { "line": 503, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17223, "end": 17224, "loc": { "start": { "line": 503, "column": 55 }, "end": { "line": 503, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17224, "end": 17225, "loc": { "start": { "line": 503, "column": 56 }, "end": { "line": 503, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17243, "end": 17244, "loc": { "start": { "line": 504, "column": 16 }, "end": { "line": 504, "column": 17 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17245, "end": 17249, "loc": { "start": { "line": 504, "column": 18 }, "end": { "line": 504, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17250, "end": 17251, "loc": { "start": { "line": 504, "column": 23 }, "end": { "line": 504, "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": 17273, "end": 17277, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17277, "end": 17278, "loc": { "start": { "line": 505, "column": 24 }, "end": { "line": 505, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17278, "end": 17282, "loc": { "start": { "line": 505, "column": 25 }, "end": { "line": 505, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17282, "end": 17283, "loc": { "start": { "line": 505, "column": 29 }, "end": { "line": 505, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 17283, "end": 17293, "loc": { "start": { "line": 505, "column": 30 }, "end": { "line": 505, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17293, "end": 17294, "loc": { "start": { "line": 505, "column": 40 }, "end": { "line": 505, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiError", "start": 17294, "end": 17305, "loc": { "start": { "line": 505, "column": 41 }, "end": { "line": 505, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17305, "end": 17306, "loc": { "start": { "line": 505, "column": 52 }, "end": { "line": 505, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17306, "end": 17307, "loc": { "start": { "line": 505, "column": 53 }, "end": { "line": 505, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17307, "end": 17308, "loc": { "start": { "line": 505, "column": 54 }, "end": { "line": 505, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17326, "end": 17327, "loc": { "start": { "line": 506, "column": 16 }, "end": { "line": 506, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17341, "end": 17342, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 13 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 17358, "end": 17364, "loc": { "start": { "line": 509, "column": 12 }, "end": { "line": 509, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 17365, "end": 17381, "loc": { "start": { "line": 509, "column": 19 }, "end": { "line": 509, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17381, "end": 17382, "loc": { "start": { "line": 509, "column": 35 }, "end": { "line": 509, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17392, "end": 17393, "loc": { "start": { "line": 510, "column": 8 }, "end": { "line": 510, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17394, "end": 17398, "loc": { "start": { "line": 510, "column": 10 }, "end": { "line": 510, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17399, "end": 17400, "loc": { "start": { "line": 510, "column": 15 }, "end": { "line": 510, "column": 16 } } }, { "type": "CommentLine", "value": " Allow right click to create a marker", "start": 17414, "end": 17453, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 51 } } }, { "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": 17467, "end": 17469, "loc": { "start": { "line": 512, "column": 12 }, "end": { "line": 512, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17470, "end": 17471, "loc": { "start": { "line": 512, "column": 15 }, "end": { "line": 512, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17471, "end": 17477, "loc": { "start": { "line": 512, "column": 16 }, "end": { "line": 512, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17478, "end": 17481, "loc": { "start": { "line": 512, "column": 23 }, "end": { "line": 512, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 17482, "end": 17497, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17497, "end": 17498, "loc": { "start": { "line": 512, "column": 42 }, "end": { "line": 512, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 17498, "end": 17503, "loc": { "start": { "line": 512, "column": 43 }, "end": { "line": 512, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17503, "end": 17504, "loc": { "start": { "line": 512, "column": 48 }, "end": { "line": 512, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17505, "end": 17506, "loc": { "start": { "line": 512, "column": 50 }, "end": { "line": 512, "column": 51 } } }, { "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": 17524, "end": 17526, "loc": { "start": { "line": 513, "column": 16 }, "end": { "line": 513, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17527, "end": 17528, "loc": { "start": { "line": 513, "column": 19 }, "end": { "line": 513, "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": 17528, "end": 17532, "loc": { "start": { "line": 513, "column": 20 }, "end": { "line": 513, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17532, "end": 17533, "loc": { "start": { "line": 513, "column": 24 }, "end": { "line": 513, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17533, "end": 17537, "loc": { "start": { "line": 513, "column": 25 }, "end": { "line": 513, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17537, "end": 17538, "loc": { "start": { "line": 513, "column": 29 }, "end": { "line": 513, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 17538, "end": 17544, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17544, "end": 17545, "loc": { "start": { "line": 513, "column": 36 }, "end": { "line": 513, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIsMapOverlayActive", "start": 17545, "end": 17566, "loc": { "start": { "line": 513, "column": 37 }, "end": { "line": 513, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17566, "end": 17567, "loc": { "start": { "line": 513, "column": 58 }, "end": { "line": 513, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17567, "end": 17568, "loc": { "start": { "line": 513, "column": 59 }, "end": { "line": 513, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17568, "end": 17569, "loc": { "start": { "line": 513, "column": 60 }, "end": { "line": 513, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17570, "end": 17571, "loc": { "start": { "line": 513, "column": 62 }, "end": { "line": 513, "column": 63 } } }, { "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": 17593, "end": 17598, "loc": { "start": { "line": 514, "column": 20 }, "end": { "line": 514, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 17599, "end": 17607, "loc": { "start": { "line": 514, "column": 26 }, "end": { "line": 514, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17608, "end": 17609, "loc": { "start": { "line": 514, "column": 35 }, "end": { "line": 514, "column": 36 } } }, { "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": 17610, "end": 17614, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17614, "end": 17615, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17615, "end": 17619, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17619, "end": 17620, "loc": { "start": { "line": 514, "column": 46 }, "end": { "line": 514, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 17620, "end": 17626, "loc": { "start": { "line": 514, "column": 47 }, "end": { "line": 514, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17626, "end": 17627, "loc": { "start": { "line": 514, "column": 53 }, "end": { "line": 514, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenToWorld", "start": 17627, "end": 17640, "loc": { "start": { "line": 514, "column": 54 }, "end": { "line": 514, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17640, "end": 17641, "loc": { "start": { "line": 514, "column": 67 }, "end": { "line": 514, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 17641, "end": 17644, "loc": { "start": { "line": 514, "column": 68 }, "end": { "line": 514, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17644, "end": 17645, "loc": { "start": { "line": 514, "column": 71 }, "end": { "line": 514, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17645, "end": 17646, "loc": { "start": { "line": 514, "column": 72 }, "end": { "line": 514, "column": 73 } } }, { "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": 17668, "end": 17672, "loc": { "start": { "line": 515, "column": 20 }, "end": { "line": 515, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17672, "end": 17673, "loc": { "start": { "line": 515, "column": 24 }, "end": { "line": 515, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "requestSaveMarker", "start": 17673, "end": 17690, "loc": { "start": { "line": 515, "column": 25 }, "end": { "line": 515, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17690, "end": 17691, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17691, "end": 17692, "loc": { "start": { "line": 515, "column": 43 }, "end": { "line": 515, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 17693, "end": 17701, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17702, "end": 17703, "loc": { "start": { "line": 515, "column": 54 }, "end": { "line": 515, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17703, "end": 17704, "loc": { "start": { "line": 515, "column": 55 }, "end": { "line": 515, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17704, "end": 17705, "loc": { "start": { "line": 515, "column": 56 }, "end": { "line": 515, "column": 57 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 17727, "end": 17733, "loc": { "start": { "line": 516, "column": 20 }, "end": { "line": 516, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 17734, "end": 17750, "loc": { "start": { "line": 516, "column": 27 }, "end": { "line": 516, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17750, "end": 17751, "loc": { "start": { "line": 516, "column": 43 }, "end": { "line": 516, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17769, "end": 17770, "loc": { "start": { "line": 517, "column": 16 }, "end": { "line": 517, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17784, "end": 17785, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17795, "end": 17796, "loc": { "start": { "line": 519, "column": 8 }, "end": { "line": 519, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17802, "end": 17803, "loc": { "start": { "line": 520, "column": 4 }, "end": { "line": 520, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Rerenders the compass\r\n ", "start": 17811, "end": 17853, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointsCompass", "start": 17859, "end": 17883, "loc": { "start": { "line": 525, "column": 4 }, "end": { "line": 525, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17883, "end": 17884, "loc": { "start": { "line": 525, "column": 28 }, "end": { "line": 525, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17884, "end": 17885, "loc": { "start": { "line": 525, "column": 29 }, "end": { "line": 525, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17886, "end": 17887, "loc": { "start": { "line": 525, "column": 31 }, "end": { "line": 525, "column": 32 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 17897, "end": 17902, "loc": { "start": { "line": 526, "column": 8 }, "end": { "line": 526, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 17903, "end": 17907, "loc": { "start": { "line": 526, "column": 14 }, "end": { "line": 526, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17908, "end": 17909, "loc": { "start": { "line": 526, "column": 19 }, "end": { "line": 526, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 48, "start": 17910, "end": 17912, "loc": { "start": { "line": 526, "column": 21 }, "end": { "line": 526, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17912, "end": 17913, "loc": { "start": { "line": 526, "column": 23 }, "end": { "line": 526, "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": 17923, "end": 17928, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indicatorSize", "start": 17929, "end": 17942, "loc": { "start": { "line": 527, "column": 14 }, "end": { "line": 527, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17943, "end": 17944, "loc": { "start": { "line": 527, "column": 28 }, "end": { "line": 527, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 30, "start": 17945, "end": 17947, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17947, "end": 17948, "loc": { "start": { "line": 527, "column": 32 }, "end": { "line": 527, "column": 33 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 17958, "end": 17963, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraPos", "start": 17964, "end": 17973, "loc": { "start": { "line": 528, "column": 14 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17974, "end": 17975, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "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": 17976, "end": 17980, "loc": { "start": { "line": 528, "column": 26 }, "end": { "line": 528, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17980, "end": 17981, "loc": { "start": { "line": 528, "column": 30 }, "end": { "line": 528, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 17981, "end": 17985, "loc": { "start": { "line": 528, "column": 31 }, "end": { "line": 528, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17985, "end": 17986, "loc": { "start": { "line": 528, "column": 35 }, "end": { "line": 528, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 17986, "end": 17992, "loc": { "start": { "line": 528, "column": 36 }, "end": { "line": 528, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17992, "end": 17993, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 17993, "end": 17999, "loc": { "start": { "line": 528, "column": 43 }, "end": { "line": 528, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17999, "end": 18000, "loc": { "start": { "line": 528, "column": 49 }, "end": { "line": 528, "column": 50 } } }, { "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": 18012, "end": 18017, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18018, "end": 18025, "loc": { "start": { "line": 530, "column": 14 }, "end": { "line": 530, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18026, "end": 18027, "loc": { "start": { "line": 530, "column": 22 }, "end": { "line": 530, "column": 23 } } }, { "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": 18028, "end": 18032, "loc": { "start": { "line": 530, "column": 24 }, "end": { "line": 530, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18032, "end": 18033, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "compassBuffer", "start": 18033, "end": 18046, "loc": { "start": { "line": 530, "column": 29 }, "end": { "line": 530, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18046, "end": 18047, "loc": { "start": { "line": 530, "column": 42 }, "end": { "line": 530, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18047, "end": 18054, "loc": { "start": { "line": 530, "column": 43 }, "end": { "line": 530, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18054, "end": 18055, "loc": { "start": { "line": 530, "column": 50 }, "end": { "line": 530, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18065, "end": 18072, "loc": { "start": { "line": 531, "column": 8 }, "end": { "line": 531, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18072, "end": 18073, "loc": { "start": { "line": 531, "column": 15 }, "end": { "line": 531, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearRect", "start": 18073, "end": 18082, "loc": { "start": { "line": 531, "column": 16 }, "end": { "line": 531, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18082, "end": 18083, "loc": { "start": { "line": 531, "column": 25 }, "end": { "line": 531, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18083, "end": 18084, "loc": { "start": { "line": 531, "column": 26 }, "end": { "line": 531, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18084, "end": 18085, "loc": { "start": { "line": 531, "column": 27 }, "end": { "line": 531, "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": 18086, "end": 18087, "loc": { "start": { "line": 531, "column": 29 }, "end": { "line": 531, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18087, "end": 18088, "loc": { "start": { "line": 531, "column": 30 }, "end": { "line": 531, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18089, "end": 18093, "loc": { "start": { "line": 531, "column": 32 }, "end": { "line": 531, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18093, "end": 18094, "loc": { "start": { "line": 531, "column": 36 }, "end": { "line": 531, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18095, "end": 18099, "loc": { "start": { "line": 531, "column": 38 }, "end": { "line": 531, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18099, "end": 18100, "loc": { "start": { "line": 531, "column": 42 }, "end": { "line": 531, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18100, "end": 18101, "loc": { "start": { "line": 531, "column": 43 }, "end": { "line": 531, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 18113, "end": 18118, "loc": { "start": { "line": 533, "column": 8 }, "end": { "line": 533, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToHub", "start": 18119, "end": 18132, "loc": { "start": { "line": 533, "column": 14 }, "end": { "line": 533, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18133, "end": 18134, "loc": { "start": { "line": 533, "column": 28 }, "end": { "line": 533, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraPos", "start": 18135, "end": 18144, "loc": { "start": { "line": 533, "column": 30 }, "end": { "line": 533, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18144, "end": 18145, "loc": { "start": { "line": 533, "column": 39 }, "end": { "line": 533, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18145, "end": 18151, "loc": { "start": { "line": 533, "column": 40 }, "end": { "line": 533, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18151, "end": 18152, "loc": { "start": { "line": 533, "column": 46 }, "end": { "line": 533, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18152, "end": 18153, "loc": { "start": { "line": 533, "column": 47 }, "end": { "line": 533, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18153, "end": 18154, "loc": { "start": { "line": 533, "column": 48 }, "end": { "line": 533, "column": 49 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 18164, "end": 18169, "loc": { "start": { "line": 534, "column": 8 }, "end": { "line": 534, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "compassVisible", "start": 18170, "end": 18184, "loc": { "start": { "line": 534, "column": 14 }, "end": { "line": 534, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18185, "end": 18186, "loc": { "start": { "line": 534, "column": 29 }, "end": { "line": 534, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToHub", "start": 18187, "end": 18200, "loc": { "start": { "line": 534, "column": 31 }, "end": { "line": 534, "column": 44 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 18201, "end": 18202, "loc": { "start": { "line": 534, "column": 45 }, "end": { "line": 534, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18203, "end": 18204, "loc": { "start": { "line": 534, "column": 47 }, "end": { "line": 534, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 18204, "end": 18206, "loc": { "start": { "line": 534, "column": 48 }, "end": { "line": 534, "column": 50 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 18207, "end": 18208, "loc": { "start": { "line": 534, "column": 51 }, "end": { "line": 534, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 18209, "end": 18221, "loc": { "start": { "line": 534, "column": 53 }, "end": { "line": 534, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18221, "end": 18222, "loc": { "start": { "line": 534, "column": 65 }, "end": { "line": 534, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 18222, "end": 18230, "loc": { "start": { "line": 534, "column": 66 }, "end": { "line": 534, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18230, "end": 18231, "loc": { "start": { "line": 534, "column": 74 }, "end": { "line": 534, "column": 75 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18232, "end": 18233, "loc": { "start": { "line": 534, "column": 76 }, "end": { "line": 534, "column": 77 } } }, { "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": 18234, "end": 18238, "loc": { "start": { "line": 534, "column": 78 }, "end": { "line": 534, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18238, "end": 18239, "loc": { "start": { "line": 534, "column": 82 }, "end": { "line": 534, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 18239, "end": 18243, "loc": { "start": { "line": 534, "column": 83 }, "end": { "line": 534, "column": 87 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18243, "end": 18244, "loc": { "start": { "line": 534, "column": 87 }, "end": { "line": 534, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 18244, "end": 18250, "loc": { "start": { "line": 534, "column": 88 }, "end": { "line": 534, "column": 94 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18250, "end": 18251, "loc": { "start": { "line": 534, "column": 94 }, "end": { "line": 534, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 18251, "end": 18260, "loc": { "start": { "line": 534, "column": 95 }, "end": { "line": 534, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18260, "end": 18261, "loc": { "start": { "line": 534, "column": 104 }, "end": { "line": 534, "column": 105 } } }, { "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": 18271, "end": 18276, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetCompassAlpha", "start": 18277, "end": 18295, "loc": { "start": { "line": 535, "column": 14 }, "end": { "line": 535, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18296, "end": 18297, "loc": { "start": { "line": 535, "column": 33 }, "end": { "line": 535, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "compassVisible", "start": 18298, "end": 18312, "loc": { "start": { "line": 535, "column": 35 }, "end": { "line": 535, "column": 49 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18313, "end": 18314, "loc": { "start": { "line": 535, "column": 50 }, "end": { "line": 535, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18315, "end": 18316, "loc": { "start": { "line": 535, "column": 52 }, "end": { "line": 535, "column": 53 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18317, "end": 18318, "loc": { "start": { "line": 535, "column": 54 }, "end": { "line": 535, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18319, "end": 18320, "loc": { "start": { "line": 535, "column": 56 }, "end": { "line": 535, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18320, "end": 18321, "loc": { "start": { "line": 535, "column": 57 }, "end": { "line": 535, "column": 58 } } }, { "type": "CommentLine", "value": " Fade the compas in / out", "start": 18333, "end": 18360, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 537, "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": 18370, "end": 18374, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18374, "end": 18375, "loc": { "start": { "line": 538, "column": 12 }, "end": { "line": 538, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 18375, "end": 18396, "loc": { "start": { "line": 538, "column": 13 }, "end": { "line": 538, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18397, "end": 18398, "loc": { "start": { "line": 538, "column": 35 }, "end": { "line": 538, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lerp", "start": 18399, "end": 18403, "loc": { "start": { "line": 538, "column": 37 }, "end": { "line": 538, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18403, "end": 18404, "loc": { "start": { "line": 538, "column": 41 }, "end": { "line": 538, "column": 42 } } }, { "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": 18404, "end": 18408, "loc": { "start": { "line": 538, "column": 42 }, "end": { "line": 538, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18408, "end": 18409, "loc": { "start": { "line": 538, "column": 46 }, "end": { "line": 538, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 18409, "end": 18430, "loc": { "start": { "line": 538, "column": 47 }, "end": { "line": 538, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18430, "end": 18431, "loc": { "start": { "line": 538, "column": 68 }, "end": { "line": 538, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetCompassAlpha", "start": 18432, "end": 18450, "loc": { "start": { "line": 538, "column": 70 }, "end": { "line": 538, "column": 88 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18450, "end": 18451, "loc": { "start": { "line": 538, "column": 88 }, "end": { "line": 538, "column": 89 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.08, "start": 18452, "end": 18456, "loc": { "start": { "line": 538, "column": 90 }, "end": { "line": 538, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18456, "end": 18457, "loc": { "start": { "line": 538, "column": 94 }, "end": { "line": 538, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18457, "end": 18458, "loc": { "start": { "line": 538, "column": 95 }, "end": { "line": 538, "column": 96 } } }, { "type": "CommentLine", "value": " Render the compass", "start": 18470, "end": 18491, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18501, "end": 18503, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18504, "end": 18505, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18505, "end": 18509, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18509, "end": 18510, "loc": { "start": { "line": 541, "column": 16 }, "end": { "line": 541, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 18510, "end": 18531, "loc": { "start": { "line": 541, "column": 17 }, "end": { "line": 541, "column": 38 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 18532, "end": 18533, "loc": { "start": { "line": 541, "column": 39 }, "end": { "line": 541, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 18534, "end": 18538, "loc": { "start": { "line": 541, "column": 41 }, "end": { "line": 541, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18538, "end": 18539, "loc": { "start": { "line": 541, "column": 45 }, "end": { "line": 541, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18540, "end": 18541, "loc": { "start": { "line": 541, "column": 47 }, "end": { "line": 541, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18555, "end": 18562, "loc": { "start": { "line": 542, "column": 12 }, "end": { "line": 542, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18562, "end": 18563, "loc": { "start": { "line": 542, "column": 19 }, "end": { "line": 542, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 18563, "end": 18574, "loc": { "start": { "line": 542, "column": 20 }, "end": { "line": 542, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18575, "end": 18576, "loc": { "start": { "line": 542, "column": 32 }, "end": { "line": 542, "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": 18577, "end": 18581, "loc": { "start": { "line": 542, "column": 34 }, "end": { "line": 542, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18581, "end": 18582, "loc": { "start": { "line": 542, "column": 38 }, "end": { "line": 542, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 18582, "end": 18603, "loc": { "start": { "line": 542, "column": 39 }, "end": { "line": 542, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18603, "end": 18604, "loc": { "start": { "line": 542, "column": 60 }, "end": { "line": 542, "column": 61 } } }, { "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": 18618, "end": 18623, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "angle", "start": 18624, "end": 18629, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18630, "end": 18631, "loc": { "start": { "line": 543, "column": 24 }, "end": { "line": 543, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraPos", "start": 18632, "end": 18641, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18641, "end": 18642, "loc": { "start": { "line": 543, "column": 35 }, "end": { "line": 543, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "angle", "start": 18642, "end": 18647, "loc": { "start": { "line": 543, "column": 36 }, "end": { "line": 543, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18647, "end": 18648, "loc": { "start": { "line": 543, "column": 41 }, "end": { "line": 543, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18648, "end": 18649, "loc": { "start": { "line": 543, "column": 42 }, "end": { "line": 543, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 18650, "end": 18651, "loc": { "start": { "line": 543, "column": 44 }, "end": { "line": 543, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 18652, "end": 18656, "loc": { "start": { "line": 543, "column": 46 }, "end": { "line": 543, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18656, "end": 18657, "loc": { "start": { "line": 543, "column": 50 }, "end": { "line": 543, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "radians", "start": 18657, "end": 18664, "loc": { "start": { "line": 543, "column": 51 }, "end": { "line": 543, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18664, "end": 18665, "loc": { "start": { "line": 543, "column": 58 }, "end": { "line": 543, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 45, "start": 18665, "end": 18667, "loc": { "start": { "line": 543, "column": 59 }, "end": { "line": 543, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18667, "end": 18668, "loc": { "start": { "line": 543, "column": 61 }, "end": { "line": 543, "column": 62 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 18669, "end": 18670, "loc": { "start": { "line": 543, "column": 63 }, "end": { "line": 543, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 18671, "end": 18675, "loc": { "start": { "line": 543, "column": 65 }, "end": { "line": 543, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18675, "end": 18676, "loc": { "start": { "line": 543, "column": 69 }, "end": { "line": 543, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PI", "start": 18676, "end": 18678, "loc": { "start": { "line": 543, "column": 70 }, "end": { "line": 543, "column": 72 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18679, "end": 18680, "loc": { "start": { "line": 543, "column": 73 }, "end": { "line": 543, "column": 74 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18681, "end": 18682, "loc": { "start": { "line": 543, "column": 75 }, "end": { "line": 543, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18682, "end": 18683, "loc": { "start": { "line": 543, "column": 76 }, "end": { "line": 543, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18697, "end": 18704, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18704, "end": 18705, "loc": { "start": { "line": 544, "column": 19 }, "end": { "line": 544, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 18705, "end": 18714, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18714, "end": 18715, "loc": { "start": { "line": 544, "column": 29 }, "end": { "line": 544, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18715, "end": 18719, "loc": { "start": { "line": 544, "column": 30 }, "end": { "line": 544, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18720, "end": 18721, "loc": { "start": { "line": 544, "column": 35 }, "end": { "line": 544, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18722, "end": 18723, "loc": { "start": { "line": 544, "column": 37 }, "end": { "line": 544, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18723, "end": 18724, "loc": { "start": { "line": 544, "column": 38 }, "end": { "line": 544, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18725, "end": 18729, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 44 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18730, "end": 18731, "loc": { "start": { "line": 544, "column": 45 }, "end": { "line": 544, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18732, "end": 18733, "loc": { "start": { "line": 544, "column": 47 }, "end": { "line": 544, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18733, "end": 18734, "loc": { "start": { "line": 544, "column": 48 }, "end": { "line": 544, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18734, "end": 18735, "loc": { "start": { "line": 544, "column": 49 }, "end": { "line": 544, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18749, "end": 18756, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18756, "end": 18757, "loc": { "start": { "line": 545, "column": 19 }, "end": { "line": 545, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotate", "start": 18757, "end": 18763, "loc": { "start": { "line": 545, "column": 20 }, "end": { "line": 545, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18763, "end": 18764, "loc": { "start": { "line": 545, "column": 26 }, "end": { "line": 545, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "angle", "start": 18764, "end": 18769, "loc": { "start": { "line": 545, "column": 27 }, "end": { "line": 545, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18769, "end": 18770, "loc": { "start": { "line": 545, "column": 32 }, "end": { "line": 545, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18770, "end": 18771, "loc": { "start": { "line": 545, "column": 33 }, "end": { "line": 545, "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": 18785, "end": 18789, "loc": { "start": { "line": 546, "column": 12 }, "end": { "line": 546, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18789, "end": 18790, "loc": { "start": { "line": 546, "column": 16 }, "end": { "line": 546, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "directionIndicatorSprite", "start": 18790, "end": 18814, "loc": { "start": { "line": 546, "column": 17 }, "end": { "line": 546, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18814, "end": 18815, "loc": { "start": { "line": 546, "column": 41 }, "end": { "line": 546, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawCentered", "start": 18815, "end": 18827, "loc": { "start": { "line": 546, "column": 42 }, "end": { "line": 546, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18827, "end": 18828, "loc": { "start": { "line": 546, "column": 54 }, "end": { "line": 546, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18828, "end": 18835, "loc": { "start": { "line": 546, "column": 55 }, "end": { "line": 546, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18835, "end": 18836, "loc": { "start": { "line": 546, "column": 62 }, "end": { "line": 546, "column": 63 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18837, "end": 18838, "loc": { "start": { "line": 546, "column": 64 }, "end": { "line": 546, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18838, "end": 18839, "loc": { "start": { "line": 546, "column": 65 }, "end": { "line": 546, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18840, "end": 18841, "loc": { "start": { "line": 546, "column": 67 }, "end": { "line": 546, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18841, "end": 18842, "loc": { "start": { "line": 546, "column": 68 }, "end": { "line": 546, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indicatorSize", "start": 18843, "end": 18856, "loc": { "start": { "line": 546, "column": 70 }, "end": { "line": 546, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18856, "end": 18857, "loc": { "start": { "line": 546, "column": 83 }, "end": { "line": 546, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18857, "end": 18858, "loc": { "start": { "line": 546, "column": 84 }, "end": { "line": 546, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18872, "end": 18879, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18879, "end": 18880, "loc": { "start": { "line": 547, "column": 19 }, "end": { "line": 547, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotate", "start": 18880, "end": 18886, "loc": { "start": { "line": 547, "column": 20 }, "end": { "line": 547, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18886, "end": 18887, "loc": { "start": { "line": 547, "column": 26 }, "end": { "line": 547, "column": 27 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 18887, "end": 18888, "loc": { "start": { "line": 547, "column": 27 }, "end": { "line": 547, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "angle", "start": 18888, "end": 18893, "loc": { "start": { "line": 547, "column": 28 }, "end": { "line": 547, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18893, "end": 18894, "loc": { "start": { "line": 547, "column": 33 }, "end": { "line": 547, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18894, "end": 18895, "loc": { "start": { "line": 547, "column": 34 }, "end": { "line": 547, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18909, "end": 18916, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18916, "end": 18917, "loc": { "start": { "line": 548, "column": 19 }, "end": { "line": 548, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translate", "start": 18917, "end": 18926, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18926, "end": 18927, "loc": { "start": { "line": 548, "column": 29 }, "end": { "line": 548, "column": 30 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 18927, "end": 18928, "loc": { "start": { "line": 548, "column": 30 }, "end": { "line": 548, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18928, "end": 18932, "loc": { "start": { "line": 548, "column": 31 }, "end": { "line": 548, "column": 35 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18933, "end": 18934, "loc": { "start": { "line": 548, "column": 36 }, "end": { "line": 548, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18935, "end": 18936, "loc": { "start": { "line": 548, "column": 38 }, "end": { "line": 548, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18936, "end": 18937, "loc": { "start": { "line": 548, "column": 39 }, "end": { "line": 548, "column": 40 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 18938, "end": 18939, "loc": { "start": { "line": 548, "column": 41 }, "end": { "line": 548, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 18939, "end": 18943, "loc": { "start": { "line": 548, "column": 42 }, "end": { "line": 548, "column": 46 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 18944, "end": 18945, "loc": { "start": { "line": 548, "column": 47 }, "end": { "line": 548, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18946, "end": 18947, "loc": { "start": { "line": 548, "column": 49 }, "end": { "line": 548, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18947, "end": 18948, "loc": { "start": { "line": 548, "column": 50 }, "end": { "line": 548, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18948, "end": 18949, "loc": { "start": { "line": 548, "column": 51 }, "end": { "line": 548, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 18963, "end": 18970, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18970, "end": 18971, "loc": { "start": { "line": 549, "column": 19 }, "end": { "line": 549, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 18971, "end": 18982, "loc": { "start": { "line": 549, "column": 20 }, "end": { "line": 549, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18983, "end": 18984, "loc": { "start": { "line": 549, "column": 32 }, "end": { "line": 549, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18985, "end": 18986, "loc": { "start": { "line": 549, "column": 34 }, "end": { "line": 549, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18986, "end": 18987, "loc": { "start": { "line": 549, "column": 35 }, "end": { "line": 549, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18997, "end": 18998, "loc": { "start": { "line": 550, "column": 8 }, "end": { "line": 550, "column": 9 } } }, { "type": "CommentLine", "value": " Render the regualr icon", "start": 19010, "end": 19036, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 34 } } }, { "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": 19046, "end": 19051, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iconOpacity", "start": 19052, "end": 19063, "loc": { "start": { "line": 553, "column": 14 }, "end": { "line": 553, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19064, "end": 19065, "loc": { "start": { "line": 553, "column": 26 }, "end": { "line": 553, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19066, "end": 19067, "loc": { "start": { "line": 553, "column": 28 }, "end": { "line": 553, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 19068, "end": 19069, "loc": { "start": { "line": 553, "column": 30 }, "end": { "line": 553, "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": 19070, "end": 19074, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19074, "end": 19075, "loc": { "start": { "line": 553, "column": 36 }, "end": { "line": 553, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentCompassOpacity", "start": 19075, "end": 19096, "loc": { "start": { "line": 553, "column": 37 }, "end": { "line": 553, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19096, "end": 19097, "loc": { "start": { "line": 553, "column": 58 }, "end": { "line": 553, "column": 59 } } }, { "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": 19107, "end": 19109, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19110, "end": 19111, "loc": { "start": { "line": 554, "column": 11 }, "end": { "line": 554, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iconOpacity", "start": 19111, "end": 19122, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 23 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 19123, "end": 19124, "loc": { "start": { "line": 554, "column": 24 }, "end": { "line": 554, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 19125, "end": 19129, "loc": { "start": { "line": 554, "column": 26 }, "end": { "line": 554, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19129, "end": 19130, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19131, "end": 19132, "loc": { "start": { "line": 554, "column": 32 }, "end": { "line": 554, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 19146, "end": 19153, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19153, "end": 19154, "loc": { "start": { "line": 555, "column": 19 }, "end": { "line": 555, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 19154, "end": 19165, "loc": { "start": { "line": 555, "column": 20 }, "end": { "line": 555, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19166, "end": 19167, "loc": { "start": { "line": 555, "column": 32 }, "end": { "line": 555, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iconOpacity", "start": 19168, "end": 19179, "loc": { "start": { "line": 555, "column": 34 }, "end": { "line": 555, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19179, "end": 19180, "loc": { "start": { "line": 555, "column": 45 }, "end": { "line": 555, "column": 46 } } }, { "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": 19194, "end": 19198, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19198, "end": 19199, "loc": { "start": { "line": 556, "column": 16 }, "end": { "line": 556, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointSprites", "start": 19199, "end": 19214, "loc": { "start": { "line": 556, "column": 17 }, "end": { "line": 556, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19214, "end": 19215, "loc": { "start": { "line": 556, "column": 32 }, "end": { "line": 556, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regular", "start": 19215, "end": 19222, "loc": { "start": { "line": 556, "column": 33 }, "end": { "line": 556, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19222, "end": 19223, "loc": { "start": { "line": 556, "column": 40 }, "end": { "line": 556, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawCentered", "start": 19223, "end": 19235, "loc": { "start": { "line": 556, "column": 41 }, "end": { "line": 556, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19235, "end": 19236, "loc": { "start": { "line": 556, "column": 53 }, "end": { "line": 556, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 19236, "end": 19243, "loc": { "start": { "line": 556, "column": 54 }, "end": { "line": 556, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19243, "end": 19244, "loc": { "start": { "line": 556, "column": 61 }, "end": { "line": 556, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 19245, "end": 19249, "loc": { "start": { "line": 556, "column": 63 }, "end": { "line": 556, "column": 67 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19250, "end": 19251, "loc": { "start": { "line": 556, "column": 68 }, "end": { "line": 556, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 19252, "end": 19253, "loc": { "start": { "line": 556, "column": 70 }, "end": { "line": 556, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19253, "end": 19254, "loc": { "start": { "line": 556, "column": 71 }, "end": { "line": 556, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 19255, "end": 19259, "loc": { "start": { "line": 556, "column": 73 }, "end": { "line": 556, "column": 77 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19260, "end": 19261, "loc": { "start": { "line": 556, "column": 78 }, "end": { "line": 556, "column": 79 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 19262, "end": 19263, "loc": { "start": { "line": 556, "column": 80 }, "end": { "line": 556, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19263, "end": 19264, "loc": { "start": { "line": 556, "column": 81 }, "end": { "line": 556, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 19265, "end": 19269, "loc": { "start": { "line": 556, "column": 83 }, "end": { "line": 556, "column": 87 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 19270, "end": 19271, "loc": { "start": { "line": 556, "column": 88 }, "end": { "line": 556, "column": 89 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.7, "start": 19272, "end": 19275, "loc": { "start": { "line": 556, "column": 90 }, "end": { "line": 556, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19275, "end": 19276, "loc": { "start": { "line": 556, "column": 93 }, "end": { "line": 556, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19276, "end": 19277, "loc": { "start": { "line": 556, "column": 94 }, "end": { "line": 556, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 19291, "end": 19298, "loc": { "start": { "line": 557, "column": 12 }, "end": { "line": 557, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19298, "end": 19299, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 19299, "end": 19310, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19311, "end": 19312, "loc": { "start": { "line": 557, "column": 32 }, "end": { "line": 557, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19313, "end": 19314, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19314, "end": 19315, "loc": { "start": { "line": 557, "column": 35 }, "end": { "line": 557, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19325, "end": 19326, "loc": { "start": { "line": 558, "column": 8 }, "end": { "line": 558, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19332, "end": 19333, "loc": { "start": { "line": 559, "column": 4 }, "end": { "line": 559, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the waypoints on the map\r\n * @param {DrawParameters} parameters\r\n ", "start": 19341, "end": 19435, "loc": { "start": { "line": 561, "column": 4 }, "end": { "line": 564, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawOverlays", "start": 19441, "end": 19453, "loc": { "start": { "line": 565, "column": 4 }, "end": { "line": 565, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19453, "end": 19454, "loc": { "start": { "line": 565, "column": 16 }, "end": { "line": 565, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 19454, "end": 19464, "loc": { "start": { "line": 565, "column": 17 }, "end": { "line": 565, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19464, "end": 19465, "loc": { "start": { "line": 565, "column": 27 }, "end": { "line": 565, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19466, "end": 19467, "loc": { "start": { "line": 565, "column": 29 }, "end": { "line": 565, "column": 30 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19477, "end": 19482, "loc": { "start": { "line": 566, "column": 8 }, "end": { "line": 566, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 19483, "end": 19491, "loc": { "start": { "line": 566, "column": 14 }, "end": { "line": 566, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19492, "end": 19493, "loc": { "start": { "line": 566, "column": 23 }, "end": { "line": 566, "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": 19494, "end": 19498, "loc": { "start": { "line": 566, "column": 25 }, "end": { "line": 566, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19498, "end": 19499, "loc": { "start": { "line": 566, "column": 29 }, "end": { "line": 566, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19499, "end": 19503, "loc": { "start": { "line": 566, "column": 30 }, "end": { "line": 566, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19503, "end": 19504, "loc": { "start": { "line": 566, "column": 34 }, "end": { "line": 566, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 19504, "end": 19507, "loc": { "start": { "line": 566, "column": 35 }, "end": { "line": 566, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19507, "end": 19508, "loc": { "start": { "line": 566, "column": 38 }, "end": { "line": 566, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 19508, "end": 19521, "loc": { "start": { "line": 566, "column": 39 }, "end": { "line": 566, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19521, "end": 19522, "loc": { "start": { "line": 566, "column": 52 }, "end": { "line": 566, "column": 53 } } }, { "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": 19532, "end": 19537, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredOpacity", "start": 19538, "end": 19552, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19553, "end": 19554, "loc": { "start": { "line": 567, "column": 29 }, "end": { "line": 567, "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": 19555, "end": 19559, "loc": { "start": { "line": 567, "column": 31 }, "end": { "line": 567, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19559, "end": 19560, "loc": { "start": { "line": 567, "column": 35 }, "end": { "line": 567, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19560, "end": 19564, "loc": { "start": { "line": 567, "column": 36 }, "end": { "line": 567, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19564, "end": 19565, "loc": { "start": { "line": 567, "column": 40 }, "end": { "line": 567, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 19565, "end": 19571, "loc": { "start": { "line": 567, "column": 41 }, "end": { "line": 567, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19571, "end": 19572, "loc": { "start": { "line": 567, "column": 47 }, "end": { "line": 567, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIsMapOverlayActive", "start": 19572, "end": 19593, "loc": { "start": { "line": 567, "column": 48 }, "end": { "line": 567, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19593, "end": 19594, "loc": { "start": { "line": 567, "column": 69 }, "end": { "line": 567, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19594, "end": 19595, "loc": { "start": { "line": 567, "column": 70 }, "end": { "line": 567, "column": 71 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19596, "end": 19597, "loc": { "start": { "line": 567, "column": 72 }, "end": { "line": 567, "column": 73 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19598, "end": 19599, "loc": { "start": { "line": 567, "column": 74 }, "end": { "line": 567, "column": 75 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19600, "end": 19601, "loc": { "start": { "line": 567, "column": 76 }, "end": { "line": 567, "column": 77 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19602, "end": 19603, "loc": { "start": { "line": 567, "column": 78 }, "end": { "line": 567, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19603, "end": 19604, "loc": { "start": { "line": 567, "column": 79 }, "end": { "line": 567, "column": 80 } } }, { "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": 19614, "end": 19618, "loc": { "start": { "line": 568, "column": 8 }, "end": { "line": 568, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19618, "end": 19619, "loc": { "start": { "line": 568, "column": 12 }, "end": { "line": 568, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentMarkerOpacity", "start": 19619, "end": 19639, "loc": { "start": { "line": 568, "column": 13 }, "end": { "line": 568, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19640, "end": 19641, "loc": { "start": { "line": 568, "column": 34 }, "end": { "line": 568, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lerp", "start": 19642, "end": 19646, "loc": { "start": { "line": 568, "column": 36 }, "end": { "line": 568, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19646, "end": 19647, "loc": { "start": { "line": 568, "column": 40 }, "end": { "line": 568, "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": 19647, "end": 19651, "loc": { "start": { "line": 568, "column": 41 }, "end": { "line": 568, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19651, "end": 19652, "loc": { "start": { "line": 568, "column": 45 }, "end": { "line": 568, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentMarkerOpacity", "start": 19652, "end": 19672, "loc": { "start": { "line": 568, "column": 46 }, "end": { "line": 568, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19672, "end": 19673, "loc": { "start": { "line": 568, "column": 66 }, "end": { "line": 568, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredOpacity", "start": 19674, "end": 19688, "loc": { "start": { "line": 568, "column": 68 }, "end": { "line": 568, "column": 82 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19688, "end": 19689, "loc": { "start": { "line": 568, "column": 82 }, "end": { "line": 568, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.08, "start": 19690, "end": 19694, "loc": { "start": { "line": 568, "column": 84 }, "end": { "line": 568, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19694, "end": 19695, "loc": { "start": { "line": 568, "column": 88 }, "end": { "line": 568, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19695, "end": 19696, "loc": { "start": { "line": 568, "column": 89 }, "end": { "line": 568, "column": 90 } } }, { "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": 19708, "end": 19712, "loc": { "start": { "line": 570, "column": 8 }, "end": { "line": 570, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19712, "end": 19713, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rerenderWaypointsCompass", "start": 19713, "end": 19737, "loc": { "start": { "line": 570, "column": 13 }, "end": { "line": 570, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19737, "end": 19738, "loc": { "start": { "line": 570, "column": 37 }, "end": { "line": 570, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19738, "end": 19739, "loc": { "start": { "line": 570, "column": 38 }, "end": { "line": 570, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19739, "end": 19740, "loc": { "start": { "line": 570, "column": 39 }, "end": { "line": 570, "column": 40 } } }, { "type": "CommentLine", "value": " Don't render with low opacity", "start": 19752, "end": 19784, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19794, "end": 19796, "loc": { "start": { "line": 573, "column": 8 }, "end": { "line": 573, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19797, "end": 19798, "loc": { "start": { "line": 573, "column": 11 }, "end": { "line": 573, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19798, "end": 19802, "loc": { "start": { "line": 573, "column": 12 }, "end": { "line": 573, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19802, "end": 19803, "loc": { "start": { "line": 573, "column": 16 }, "end": { "line": 573, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentMarkerOpacity", "start": 19803, "end": 19823, "loc": { "start": { "line": 573, "column": 17 }, "end": { "line": 573, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 19824, "end": 19825, "loc": { "start": { "line": 573, "column": 38 }, "end": { "line": 573, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.01, "start": 19826, "end": 19830, "loc": { "start": { "line": 573, "column": 40 }, "end": { "line": 573, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19830, "end": 19831, "loc": { "start": { "line": 573, "column": 44 }, "end": { "line": 573, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19832, "end": 19833, "loc": { "start": { "line": 573, "column": 46 }, "end": { "line": 573, "column": 47 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 19847, "end": 19853, "loc": { "start": { "line": 574, "column": 12 }, "end": { "line": 574, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19853, "end": 19854, "loc": { "start": { "line": 574, "column": 18 }, "end": { "line": 574, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19864, "end": 19865, "loc": { "start": { "line": 575, "column": 8 }, "end": { "line": 575, "column": 9 } } }, { "type": "CommentLine", "value": " Determine rendering scale", "start": 19877, "end": 19905, "loc": { "start": { "line": 577, "column": 8 }, "end": { "line": 577, "column": 36 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19915, "end": 19920, "loc": { "start": { "line": 578, "column": 8 }, "end": { "line": 578, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 19921, "end": 19926, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19927, "end": 19928, "loc": { "start": { "line": 578, "column": 20 }, "end": { "line": 578, "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": 19929, "end": 19933, "loc": { "start": { "line": 578, "column": 22 }, "end": { "line": 578, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19933, "end": 19934, "loc": { "start": { "line": 578, "column": 26 }, "end": { "line": 578, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointUiScale", "start": 19934, "end": 19952, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19952, "end": 19953, "loc": { "start": { "line": 578, "column": 45 }, "end": { "line": 578, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19953, "end": 19954, "loc": { "start": { "line": 578, "column": 46 }, "end": { "line": 578, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19954, "end": 19955, "loc": { "start": { "line": 578, "column": 47 }, "end": { "line": 578, "column": 48 } } }, { "type": "CommentLine", "value": " Set the font size", "start": 19967, "end": 19987, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 28 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19997, "end": 20002, "loc": { "start": { "line": 581, "column": 8 }, "end": { "line": 581, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textSize", "start": 20003, "end": 20011, "loc": { "start": { "line": 581, "column": 14 }, "end": { "line": 581, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20012, "end": 20013, "loc": { "start": { "line": 581, "column": 23 }, "end": { "line": 581, "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": 20014, "end": 20018, "loc": { "start": { "line": 581, "column": 25 }, "end": { "line": 581, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20018, "end": 20019, "loc": { "start": { "line": 581, "column": 29 }, "end": { "line": 581, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTextScale", "start": 20019, "end": 20031, "loc": { "start": { "line": 581, "column": 30 }, "end": { "line": 581, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20031, "end": 20032, "loc": { "start": { "line": 581, "column": 42 }, "end": { "line": 581, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20032, "end": 20033, "loc": { "start": { "line": 581, "column": 43 }, "end": { "line": 581, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20033, "end": 20034, "loc": { "start": { "line": 581, "column": 44 }, "end": { "line": 581, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 20044, "end": 20054, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20054, "end": 20055, "loc": { "start": { "line": 582, "column": 18 }, "end": { "line": 582, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 20055, "end": 20062, "loc": { "start": { "line": 582, "column": 19 }, "end": { "line": 582, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20062, "end": 20063, "loc": { "start": { "line": 582, "column": 26 }, "end": { "line": 582, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "font", "start": 20063, "end": 20067, "loc": { "start": { "line": 582, "column": 27 }, "end": { "line": 582, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20068, "end": 20069, "loc": { "start": { "line": 582, "column": 32 }, "end": { "line": 582, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "bold ", "start": 20070, "end": 20077, "loc": { "start": { "line": 582, "column": 34 }, "end": { "line": 582, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20078, "end": 20079, "loc": { "start": { "line": 582, "column": 42 }, "end": { "line": 582, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textSize", "start": 20080, "end": 20088, "loc": { "start": { "line": 582, "column": 44 }, "end": { "line": 582, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20089, "end": 20090, "loc": { "start": { "line": 582, "column": 53 }, "end": { "line": 582, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "px GameFont", "start": 20091, "end": 20104, "loc": { "start": { "line": 582, "column": 55 }, "end": { "line": 582, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20104, "end": 20105, "loc": { "start": { "line": 582, "column": 68 }, "end": { "line": 582, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 20115, "end": 20125, "loc": { "start": { "line": 583, "column": 8 }, "end": { "line": 583, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20125, "end": 20126, "loc": { "start": { "line": 583, "column": 18 }, "end": { "line": 583, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 20126, "end": 20133, "loc": { "start": { "line": 583, "column": 19 }, "end": { "line": 583, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20133, "end": 20134, "loc": { "start": { "line": 583, "column": 26 }, "end": { "line": 583, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textBaseline", "start": 20134, "end": 20146, "loc": { "start": { "line": 583, "column": 27 }, "end": { "line": 583, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20147, "end": 20148, "loc": { "start": { "line": 583, "column": 40 }, "end": { "line": 583, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "middle", "start": 20149, "end": 20157, "loc": { "start": { "line": 583, "column": 42 }, "end": { "line": 583, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20157, "end": 20158, "loc": { "start": { "line": 583, "column": 50 }, "end": { "line": 583, "column": 51 } } }, { "type": "CommentLine", "value": " Loop over all waypoints", "start": 20170, "end": 20196, "loc": { "start": { "line": 585, "column": 8 }, "end": { "line": 585, "column": 34 } } }, { "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": 20206, "end": 20209, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20210, "end": 20211, "loc": { "start": { "line": 586, "column": 12 }, "end": { "line": 586, "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": 20211, "end": 20214, "loc": { "start": { "line": 586, "column": 13 }, "end": { "line": 586, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20215, "end": 20216, "loc": { "start": { "line": 586, "column": 17 }, "end": { "line": 586, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20217, "end": 20218, "loc": { "start": { "line": 586, "column": 19 }, "end": { "line": 586, "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": 20219, "end": 20220, "loc": { "start": { "line": 586, "column": 21 }, "end": { "line": 586, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20220, "end": 20221, "loc": { "start": { "line": 586, "column": 22 }, "end": { "line": 586, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20222, "end": 20223, "loc": { "start": { "line": 586, "column": 24 }, "end": { "line": 586, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 20224, "end": 20225, "loc": { "start": { "line": 586, "column": 26 }, "end": { "line": 586, "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": 20226, "end": 20230, "loc": { "start": { "line": 586, "column": 28 }, "end": { "line": 586, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20230, "end": 20231, "loc": { "start": { "line": 586, "column": 32 }, "end": { "line": 586, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 20231, "end": 20240, "loc": { "start": { "line": 586, "column": 33 }, "end": { "line": 586, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20240, "end": 20241, "loc": { "start": { "line": 586, "column": 42 }, "end": { "line": 586, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 20241, "end": 20247, "loc": { "start": { "line": 586, "column": 43 }, "end": { "line": 586, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20247, "end": 20248, "loc": { "start": { "line": 586, "column": 49 }, "end": { "line": 586, "column": 50 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 20249, "end": 20251, "loc": { "start": { "line": 586, "column": 51 }, "end": { "line": 586, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20251, "end": 20252, "loc": { "start": { "line": 586, "column": 53 }, "end": { "line": 586, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20252, "end": 20253, "loc": { "start": { "line": 586, "column": 54 }, "end": { "line": 586, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20254, "end": 20255, "loc": { "start": { "line": 586, "column": 56 }, "end": { "line": 586, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 20269, "end": 20274, "loc": { "start": { "line": 587, "column": 12 }, "end": { "line": 587, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 20275, "end": 20283, "loc": { "start": { "line": 587, "column": 18 }, "end": { "line": 587, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20284, "end": 20285, "loc": { "start": { "line": 587, "column": 27 }, "end": { "line": 587, "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": 20286, "end": 20290, "loc": { "start": { "line": 587, "column": 29 }, "end": { "line": 587, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20290, "end": 20291, "loc": { "start": { "line": 587, "column": 33 }, "end": { "line": 587, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoints", "start": 20291, "end": 20300, "loc": { "start": { "line": 587, "column": 34 }, "end": { "line": 587, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20300, "end": 20301, "loc": { "start": { "line": 587, "column": 43 }, "end": { "line": 587, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 20301, "end": 20302, "loc": { "start": { "line": 587, "column": 44 }, "end": { "line": 587, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20302, "end": 20303, "loc": { "start": { "line": 587, "column": 45 }, "end": { "line": 587, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20303, "end": 20304, "loc": { "start": { "line": 587, "column": 46 }, "end": { "line": 587, "column": 47 } } }, { "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": 20320, "end": 20325, "loc": { "start": { "line": 589, "column": 12 }, "end": { "line": 589, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 20326, "end": 20338, "loc": { "start": { "line": 589, "column": 18 }, "end": { "line": 589, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20339, "end": 20340, "loc": { "start": { "line": 589, "column": 31 }, "end": { "line": 589, "column": 32 } } }, { "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": 20341, "end": 20345, "loc": { "start": { "line": 589, "column": 33 }, "end": { "line": 589, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20345, "end": 20346, "loc": { "start": { "line": 589, "column": 37 }, "end": { "line": 589, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointScreenParams", "start": 20346, "end": 20369, "loc": { "start": { "line": 589, "column": 38 }, "end": { "line": 589, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20369, "end": 20370, "loc": { "start": { "line": 589, "column": 61 }, "end": { "line": 589, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 20370, "end": 20378, "loc": { "start": { "line": 589, "column": 62 }, "end": { "line": 589, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20378, "end": 20379, "loc": { "start": { "line": 589, "column": 70 }, "end": { "line": 589, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20379, "end": 20380, "loc": { "start": { "line": 589, "column": 71 }, "end": { "line": 589, "column": 72 } } }, { "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": 20394, "end": 20396, "loc": { "start": { "line": 590, "column": 12 }, "end": { "line": 590, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20397, "end": 20398, "loc": { "start": { "line": 590, "column": 15 }, "end": { "line": 590, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 20398, "end": 20399, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 20399, "end": 20411, "loc": { "start": { "line": 590, "column": 17 }, "end": { "line": 590, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20411, "end": 20412, "loc": { "start": { "line": 590, "column": 29 }, "end": { "line": 590, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20413, "end": 20414, "loc": { "start": { "line": 590, "column": 31 }, "end": { "line": 590, "column": 32 } } }, { "type": "CommentLine", "value": " Not relevant", "start": 20432, "end": 20447, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 31 } } }, { "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": 20465, "end": 20473, "loc": { "start": { "line": 592, "column": 16 }, "end": { "line": 592, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20473, "end": 20474, "loc": { "start": { "line": 592, "column": 24 }, "end": { "line": 592, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20488, "end": 20489, "loc": { "start": { "line": 593, "column": 12 }, "end": { "line": 593, "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": 20505, "end": 20507, "loc": { "start": { "line": 595, "column": 12 }, "end": { "line": 595, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20508, "end": 20509, "loc": { "start": { "line": 595, "column": 15 }, "end": { "line": 595, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 20509, "end": 20510, "loc": { "start": { "line": 595, "column": 16 }, "end": { "line": 595, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 20510, "end": 20520, "loc": { "start": { "line": 595, "column": 17 }, "end": { "line": 595, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20520, "end": 20521, "loc": { "start": { "line": 595, "column": 27 }, "end": { "line": 595, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibleRect", "start": 20521, "end": 20532, "loc": { "start": { "line": 595, "column": 28 }, "end": { "line": 595, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20532, "end": 20533, "loc": { "start": { "line": 595, "column": 39 }, "end": { "line": 595, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsRect", "start": 20533, "end": 20545, "loc": { "start": { "line": 595, "column": 40 }, "end": { "line": 595, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20545, "end": 20546, "loc": { "start": { "line": 595, "column": 52 }, "end": { "line": 595, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 20546, "end": 20558, "loc": { "start": { "line": 595, "column": 53 }, "end": { "line": 595, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20558, "end": 20559, "loc": { "start": { "line": 595, "column": 65 }, "end": { "line": 595, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenBounds", "start": 20559, "end": 20571, "loc": { "start": { "line": 595, "column": 66 }, "end": { "line": 595, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20571, "end": 20572, "loc": { "start": { "line": 595, "column": 78 }, "end": { "line": 595, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20572, "end": 20573, "loc": { "start": { "line": 595, "column": 79 }, "end": { "line": 595, "column": 80 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20574, "end": 20575, "loc": { "start": { "line": 595, "column": 81 }, "end": { "line": 595, "column": 82 } } }, { "type": "CommentLine", "value": " Out of screen", "start": 20593, "end": 20609, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 32 } } }, { "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": 20627, "end": 20635, "loc": { "start": { "line": 597, "column": 16 }, "end": { "line": 597, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20635, "end": 20636, "loc": { "start": { "line": 597, "column": 24 }, "end": { "line": 597, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20650, "end": 20651, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 13 } } }, { "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": 20667, "end": 20672, "loc": { "start": { "line": 600, "column": 12 }, "end": { "line": 600, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 20673, "end": 20679, "loc": { "start": { "line": 600, "column": 18 }, "end": { "line": 600, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20680, "end": 20681, "loc": { "start": { "line": 600, "column": 25 }, "end": { "line": 600, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 20682, "end": 20694, "loc": { "start": { "line": 600, "column": 27 }, "end": { "line": 600, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20694, "end": 20695, "loc": { "start": { "line": 600, "column": 39 }, "end": { "line": 600, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenBounds", "start": 20695, "end": 20707, "loc": { "start": { "line": 600, "column": 40 }, "end": { "line": 600, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20707, "end": 20708, "loc": { "start": { "line": 600, "column": 52 }, "end": { "line": 600, "column": 53 } } }, { "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": 20722, "end": 20727, "loc": { "start": { "line": 601, "column": 12 }, "end": { "line": 601, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentPaddingX", "start": 20728, "end": 20743, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20744, "end": 20745, "loc": { "start": { "line": 601, "column": 34 }, "end": { "line": 601, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 20746, "end": 20747, "loc": { "start": { "line": 601, "column": 36 }, "end": { "line": 601, "column": 37 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 20748, "end": 20749, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 20750, "end": 20755, "loc": { "start": { "line": 601, "column": 40 }, "end": { "line": 601, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20755, "end": 20756, "loc": { "start": { "line": 601, "column": 45 }, "end": { "line": 601, "column": 46 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 20770, "end": 20775, "loc": { "start": { "line": 602, "column": 12 }, "end": { "line": 602, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSelected", "start": 20776, "end": 20786, "loc": { "start": { "line": 602, "column": 18 }, "end": { "line": 602, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20787, "end": 20788, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 20789, "end": 20797, "loc": { "start": { "line": 602, "column": 31 }, "end": { "line": 602, "column": 39 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20798, "end": 20800, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 20801, "end": 20807, "loc": { "start": { "line": 602, "column": 43 }, "end": { "line": 602, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20807, "end": 20808, "loc": { "start": { "line": 602, "column": 49 }, "end": { "line": 602, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsPoint", "start": 20808, "end": 20821, "loc": { "start": { "line": 602, "column": 50 }, "end": { "line": 602, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20821, "end": 20822, "loc": { "start": { "line": 602, "column": 63 }, "end": { "line": 602, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 20822, "end": 20830, "loc": { "start": { "line": 602, "column": 64 }, "end": { "line": 602, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20830, "end": 20831, "loc": { "start": { "line": 602, "column": 72 }, "end": { "line": 602, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 20831, "end": 20832, "loc": { "start": { "line": 602, "column": 73 }, "end": { "line": 602, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20832, "end": 20833, "loc": { "start": { "line": 602, "column": 74 }, "end": { "line": 602, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 20834, "end": 20842, "loc": { "start": { "line": 602, "column": 76 }, "end": { "line": 602, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20842, "end": 20843, "loc": { "start": { "line": 602, "column": 84 }, "end": { "line": 602, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 20843, "end": 20844, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20844, "end": 20845, "loc": { "start": { "line": 602, "column": 86 }, "end": { "line": 602, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20845, "end": 20846, "loc": { "start": { "line": 602, "column": 87 }, "end": { "line": 602, "column": 88 } } }, { "type": "CommentLine", "value": " Render the background rectangle", "start": 20862, "end": 20896, "loc": { "start": { "line": 604, "column": 12 }, "end": { "line": 604, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 20910, "end": 20920, "loc": { "start": { "line": 605, "column": 12 }, "end": { "line": 605, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20920, "end": 20921, "loc": { "start": { "line": 605, "column": 22 }, "end": { "line": 605, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 20921, "end": 20928, "loc": { "start": { "line": 605, "column": 23 }, "end": { "line": 605, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20928, "end": 20929, "loc": { "start": { "line": 605, "column": 30 }, "end": { "line": 605, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 20929, "end": 20940, "loc": { "start": { "line": 605, "column": 31 }, "end": { "line": 605, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20941, "end": 20942, "loc": { "start": { "line": 605, "column": 43 }, "end": { "line": 605, "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": 20943, "end": 20947, "loc": { "start": { "line": 605, "column": 45 }, "end": { "line": 605, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20947, "end": 20948, "loc": { "start": { "line": 605, "column": 49 }, "end": { "line": 605, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentMarkerOpacity", "start": 20948, "end": 20968, "loc": { "start": { "line": 605, "column": 50 }, "end": { "line": 605, "column": 70 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 20969, "end": 20970, "loc": { "start": { "line": 605, "column": 71 }, "end": { "line": 605, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20971, "end": 20972, "loc": { "start": { "line": 605, "column": 73 }, "end": { "line": 605, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isSelected", "start": 20972, "end": 20982, "loc": { "start": { "line": 605, "column": 74 }, "end": { "line": 605, "column": 84 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20983, "end": 20984, "loc": { "start": { "line": 605, "column": 85 }, "end": { "line": 605, "column": 86 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 20985, "end": 20986, "loc": { "start": { "line": 605, "column": 87 }, "end": { "line": 605, "column": 88 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20987, "end": 20988, "loc": { "start": { "line": 605, "column": 89 }, "end": { "line": 605, "column": 90 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.7, "start": 20989, "end": 20992, "loc": { "start": { "line": 605, "column": 91 }, "end": { "line": 605, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20992, "end": 20993, "loc": { "start": { "line": 605, "column": 94 }, "end": { "line": 605, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20993, "end": 20994, "loc": { "start": { "line": 605, "column": 95 }, "end": { "line": 605, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21008, "end": 21018, "loc": { "start": { "line": 606, "column": 12 }, "end": { "line": 606, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21018, "end": 21019, "loc": { "start": { "line": 606, "column": 22 }, "end": { "line": 606, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21019, "end": 21026, "loc": { "start": { "line": 606, "column": 23 }, "end": { "line": 606, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21026, "end": 21027, "loc": { "start": { "line": 606, "column": 30 }, "end": { "line": 606, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 21027, "end": 21036, "loc": { "start": { "line": 606, "column": 31 }, "end": { "line": 606, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21037, "end": 21038, "loc": { "start": { "line": 606, "column": 41 }, "end": { "line": 606, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "rgba(255, 255, 255, 0.7)", "start": 21039, "end": 21065, "loc": { "start": { "line": 606, "column": 43 }, "end": { "line": 606, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21065, "end": 21066, "loc": { "start": { "line": 606, "column": 69 }, "end": { "line": 606, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21080, "end": 21090, "loc": { "start": { "line": 607, "column": 12 }, "end": { "line": 607, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21090, "end": 21091, "loc": { "start": { "line": 607, "column": 22 }, "end": { "line": 607, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21091, "end": 21098, "loc": { "start": { "line": 607, "column": 23 }, "end": { "line": 607, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21098, "end": 21099, "loc": { "start": { "line": 607, "column": 30 }, "end": { "line": 607, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 21099, "end": 21107, "loc": { "start": { "line": 607, "column": 31 }, "end": { "line": 607, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21107, "end": 21108, "loc": { "start": { "line": 607, "column": 39 }, "end": { "line": 607, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21108, "end": 21114, "loc": { "start": { "line": 607, "column": 40 }, "end": { "line": 607, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21114, "end": 21115, "loc": { "start": { "line": 607, "column": 46 }, "end": { "line": 607, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 21115, "end": 21116, "loc": { "start": { "line": 607, "column": 47 }, "end": { "line": 607, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21116, "end": 21117, "loc": { "start": { "line": 607, "column": 48 }, "end": { "line": 607, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21118, "end": 21124, "loc": { "start": { "line": 607, "column": 50 }, "end": { "line": 607, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21124, "end": 21125, "loc": { "start": { "line": 607, "column": 56 }, "end": { "line": 607, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 21125, "end": 21126, "loc": { "start": { "line": 607, "column": 57 }, "end": { "line": 607, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21126, "end": 21127, "loc": { "start": { "line": 607, "column": 58 }, "end": { "line": 607, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21128, "end": 21134, "loc": { "start": { "line": 607, "column": 60 }, "end": { "line": 607, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21134, "end": 21135, "loc": { "start": { "line": 607, "column": 66 }, "end": { "line": 607, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 21135, "end": 21136, "loc": { "start": { "line": 607, "column": 67 }, "end": { "line": 607, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21136, "end": 21137, "loc": { "start": { "line": 607, "column": 68 }, "end": { "line": 607, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21138, "end": 21144, "loc": { "start": { "line": 607, "column": 70 }, "end": { "line": 607, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21144, "end": 21145, "loc": { "start": { "line": 607, "column": 76 }, "end": { "line": 607, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 21145, "end": 21146, "loc": { "start": { "line": 607, "column": 77 }, "end": { "line": 607, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21146, "end": 21147, "loc": { "start": { "line": 607, "column": 78 }, "end": { "line": 607, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21147, "end": 21148, "loc": { "start": { "line": 607, "column": 79 }, "end": { "line": 607, "column": 80 } } }, { "type": "CommentLine", "value": " Render the text", "start": 21164, "end": 21182, "loc": { "start": { "line": 609, "column": 12 }, "end": { "line": 609, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 21196, "end": 21198, "loc": { "start": { "line": 610, "column": 12 }, "end": { "line": 610, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21199, "end": 21200, "loc": { "start": { "line": 610, "column": 15 }, "end": { "line": 610, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 21200, "end": 21212, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21212, "end": 21213, "loc": { "start": { "line": 610, "column": 28 }, "end": { "line": 610, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 21213, "end": 21217, "loc": { "start": { "line": 610, "column": 29 }, "end": { "line": 610, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21217, "end": 21218, "loc": { "start": { "line": 610, "column": 33 }, "end": { "line": 610, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21219, "end": 21220, "loc": { "start": { "line": 610, "column": 35 }, "end": { "line": 610, "column": 36 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21238, "end": 21243, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 21244, "end": 21250, "loc": { "start": { "line": 611, "column": 22 }, "end": { "line": 611, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21251, "end": 21252, "loc": { "start": { "line": 611, "column": 29 }, "end": { "line": 611, "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": 21253, "end": 21257, "loc": { "start": { "line": 611, "column": 31 }, "end": { "line": 611, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21257, "end": 21258, "loc": { "start": { "line": 611, "column": 35 }, "end": { "line": 611, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getWaypointCanvas", "start": 21258, "end": 21275, "loc": { "start": { "line": 611, "column": 36 }, "end": { "line": 611, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21275, "end": 21276, "loc": { "start": { "line": 611, "column": 53 }, "end": { "line": 611, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 21276, "end": 21284, "loc": { "start": { "line": 611, "column": 54 }, "end": { "line": 611, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21284, "end": 21285, "loc": { "start": { "line": 611, "column": 62 }, "end": { "line": 611, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21285, "end": 21286, "loc": { "start": { "line": 611, "column": 63 }, "end": { "line": 611, "column": 64 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21304, "end": 21309, "loc": { "start": { "line": 612, "column": 16 }, "end": { "line": 612, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSize", "start": 21310, "end": 21318, "loc": { "start": { "line": 612, "column": 22 }, "end": { "line": 612, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21319, "end": 21320, "loc": { "start": { "line": 612, "column": 31 }, "end": { "line": 612, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 14, "start": 21321, "end": 21323, "loc": { "start": { "line": 612, "column": 33 }, "end": { "line": 612, "column": 35 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 21324, "end": 21325, "loc": { "start": { "line": 612, "column": 36 }, "end": { "line": 612, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 21326, "end": 21331, "loc": { "start": { "line": 612, "column": 38 }, "end": { "line": 612, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21331, "end": 21332, "loc": { "start": { "line": 612, "column": 43 }, "end": { "line": 612, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21350, "end": 21360, "loc": { "start": { "line": 613, "column": 16 }, "end": { "line": 613, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21360, "end": 21361, "loc": { "start": { "line": 613, "column": 26 }, "end": { "line": 613, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21361, "end": 21368, "loc": { "start": { "line": 613, "column": 27 }, "end": { "line": 613, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21368, "end": 21369, "loc": { "start": { "line": 613, "column": 34 }, "end": { "line": 613, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawImage", "start": 21369, "end": 21378, "loc": { "start": { "line": 613, "column": 35 }, "end": { "line": 613, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21378, "end": 21379, "loc": { "start": { "line": 613, "column": 44 }, "end": { "line": 613, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 21401, "end": 21407, "loc": { "start": { "line": 614, "column": 20 }, "end": { "line": 614, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21407, "end": 21408, "loc": { "start": { "line": 614, "column": 26 }, "end": { "line": 614, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21430, "end": 21436, "loc": { "start": { "line": 615, "column": 20 }, "end": { "line": 615, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21436, "end": 21437, "loc": { "start": { "line": 615, "column": 26 }, "end": { "line": 615, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 21437, "end": 21438, "loc": { "start": { "line": 615, "column": 27 }, "end": { "line": 615, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21439, "end": 21440, "loc": { "start": { "line": 615, "column": 29 }, "end": { "line": 615, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentPaddingX", "start": 21441, "end": 21456, "loc": { "start": { "line": 615, "column": 31 }, "end": { "line": 615, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21457, "end": 21458, "loc": { "start": { "line": 615, "column": 47 }, "end": { "line": 615, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 21459, "end": 21460, "loc": { "start": { "line": 615, "column": 49 }, "end": { "line": 615, "column": 50 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 21461, "end": 21462, "loc": { "start": { "line": 615, "column": 51 }, "end": { "line": 615, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 21463, "end": 21468, "loc": { "start": { "line": 615, "column": 53 }, "end": { "line": 615, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21468, "end": 21469, "loc": { "start": { "line": 615, "column": 58 }, "end": { "line": 615, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21491, "end": 21497, "loc": { "start": { "line": 616, "column": 20 }, "end": { "line": 616, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21497, "end": 21498, "loc": { "start": { "line": 616, "column": 26 }, "end": { "line": 616, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 21498, "end": 21499, "loc": { "start": { "line": 616, "column": 27 }, "end": { "line": 616, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21500, "end": 21501, "loc": { "start": { "line": 616, "column": 29 }, "end": { "line": 616, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21502, "end": 21508, "loc": { "start": { "line": 616, "column": 31 }, "end": { "line": 616, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21508, "end": 21509, "loc": { "start": { "line": 616, "column": 37 }, "end": { "line": 616, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 21509, "end": 21510, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 39 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 21511, "end": 21512, "loc": { "start": { "line": 616, "column": 40 }, "end": { "line": 616, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 21513, "end": 21514, "loc": { "start": { "line": 616, "column": 42 }, "end": { "line": 616, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 21515, "end": 21516, "loc": { "start": { "line": 616, "column": 44 }, "end": { "line": 616, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSize", "start": 21517, "end": 21525, "loc": { "start": { "line": 616, "column": 46 }, "end": { "line": 616, "column": 54 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 21526, "end": 21527, "loc": { "start": { "line": 616, "column": 55 }, "end": { "line": 616, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 21528, "end": 21529, "loc": { "start": { "line": 616, "column": 57 }, "end": { "line": 616, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21529, "end": 21530, "loc": { "start": { "line": 616, "column": 58 }, "end": { "line": 616, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSize", "start": 21552, "end": 21560, "loc": { "start": { "line": 617, "column": 20 }, "end": { "line": 617, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21560, "end": 21561, "loc": { "start": { "line": 617, "column": 28 }, "end": { "line": 617, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemSize", "start": 21583, "end": 21591, "loc": { "start": { "line": 618, "column": 20 }, "end": { "line": 618, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21609, "end": 21610, "loc": { "start": { "line": 619, "column": 16 }, "end": { "line": 619, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21610, "end": 21611, "loc": { "start": { "line": 619, "column": 17 }, "end": { "line": 619, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21625, "end": 21626, "loc": { "start": { "line": 620, "column": 12 }, "end": { "line": 620, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 21627, "end": 21631, "loc": { "start": { "line": 620, "column": 14 }, "end": { "line": 620, "column": 18 } } }, { "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": 21632, "end": 21634, "loc": { "start": { "line": 620, "column": 19 }, "end": { "line": 620, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21635, "end": 21636, "loc": { "start": { "line": 620, "column": 22 }, "end": { "line": 620, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 21636, "end": 21648, "loc": { "start": { "line": 620, "column": 23 }, "end": { "line": 620, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21648, "end": 21649, "loc": { "start": { "line": 620, "column": 35 }, "end": { "line": 620, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 21649, "end": 21653, "loc": { "start": { "line": 620, "column": 36 }, "end": { "line": 620, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21653, "end": 21654, "loc": { "start": { "line": 620, "column": 40 }, "end": { "line": 620, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21655, "end": 21656, "loc": { "start": { "line": 620, "column": 42 }, "end": { "line": 620, "column": 43 } } }, { "type": "CommentLine", "value": " Render the text", "start": 21674, "end": 21692, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21710, "end": 21720, "loc": { "start": { "line": 622, "column": 16 }, "end": { "line": 622, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21720, "end": 21721, "loc": { "start": { "line": 622, "column": 26 }, "end": { "line": 622, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21721, "end": 21728, "loc": { "start": { "line": 622, "column": 27 }, "end": { "line": 622, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21728, "end": 21729, "loc": { "start": { "line": 622, "column": 34 }, "end": { "line": 622, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 21729, "end": 21738, "loc": { "start": { "line": 622, "column": 35 }, "end": { "line": 622, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21739, "end": 21740, "loc": { "start": { "line": 622, "column": 45 }, "end": { "line": 622, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#000", "start": 21741, "end": 21747, "loc": { "start": { "line": 622, "column": 47 }, "end": { "line": 622, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21747, "end": 21748, "loc": { "start": { "line": 622, "column": 53 }, "end": { "line": 622, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21766, "end": 21776, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21776, "end": 21777, "loc": { "start": { "line": 623, "column": 26 }, "end": { "line": 623, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21777, "end": 21784, "loc": { "start": { "line": 623, "column": 27 }, "end": { "line": 623, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21784, "end": 21785, "loc": { "start": { "line": 623, "column": 34 }, "end": { "line": 623, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textBaseline", "start": 21785, "end": 21797, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21798, "end": 21799, "loc": { "start": { "line": 623, "column": 48 }, "end": { "line": 623, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "middle", "start": 21800, "end": 21808, "loc": { "start": { "line": 623, "column": 50 }, "end": { "line": 623, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21808, "end": 21809, "loc": { "start": { "line": 623, "column": 58 }, "end": { "line": 623, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 21827, "end": 21837, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21837, "end": 21838, "loc": { "start": { "line": 624, "column": 26 }, "end": { "line": 624, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 21838, "end": 21845, "loc": { "start": { "line": 624, "column": 27 }, "end": { "line": 624, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21845, "end": 21846, "loc": { "start": { "line": 624, "column": 34 }, "end": { "line": 624, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillText", "start": 21846, "end": 21854, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21854, "end": 21855, "loc": { "start": { "line": 624, "column": 43 }, "end": { "line": 624, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointData", "start": 21877, "end": 21889, "loc": { "start": { "line": 625, "column": 20 }, "end": { "line": 625, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21889, "end": 21890, "loc": { "start": { "line": 625, "column": 32 }, "end": { "line": 625, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "text", "start": 21890, "end": 21894, "loc": { "start": { "line": 625, "column": 33 }, "end": { "line": 625, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21894, "end": 21895, "loc": { "start": { "line": 625, "column": 37 }, "end": { "line": 625, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21917, "end": 21923, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21923, "end": 21924, "loc": { "start": { "line": 626, "column": 26 }, "end": { "line": 626, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 21924, "end": 21925, "loc": { "start": { "line": 626, "column": 27 }, "end": { "line": 626, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21926, "end": 21927, "loc": { "start": { "line": 626, "column": 29 }, "end": { "line": 626, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentPaddingX", "start": 21928, "end": 21943, "loc": { "start": { "line": 626, "column": 31 }, "end": { "line": 626, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21944, "end": 21945, "loc": { "start": { "line": 626, "column": 47 }, "end": { "line": 626, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 21946, "end": 21947, "loc": { "start": { "line": 626, "column": 49 }, "end": { "line": 626, "column": 50 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 21948, "end": 21949, "loc": { "start": { "line": 626, "column": 51 }, "end": { "line": 626, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 21950, "end": 21955, "loc": { "start": { "line": 626, "column": 53 }, "end": { "line": 626, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21955, "end": 21956, "loc": { "start": { "line": 626, "column": 58 }, "end": { "line": 626, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21978, "end": 21984, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21984, "end": 21985, "loc": { "start": { "line": 627, "column": 26 }, "end": { "line": 627, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 21985, "end": 21986, "loc": { "start": { "line": 627, "column": 27 }, "end": { "line": 627, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 21987, "end": 21988, "loc": { "start": { "line": 627, "column": 29 }, "end": { "line": 627, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 21989, "end": 21995, "loc": { "start": { "line": 627, "column": 31 }, "end": { "line": 627, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21995, "end": 21996, "loc": { "start": { "line": 627, "column": 37 }, "end": { "line": 627, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 21996, "end": 21997, "loc": { "start": { "line": 627, "column": 38 }, "end": { "line": 627, "column": 39 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 21998, "end": 21999, "loc": { "start": { "line": 627, "column": 40 }, "end": { "line": 627, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 22000, "end": 22001, "loc": { "start": { "line": 627, "column": 42 }, "end": { "line": 627, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22019, "end": 22020, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22020, "end": 22021, "loc": { "start": { "line": 628, "column": 17 }, "end": { "line": 628, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 22039, "end": 22049, "loc": { "start": { "line": 629, "column": 16 }, "end": { "line": 629, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22049, "end": 22050, "loc": { "start": { "line": 629, "column": 26 }, "end": { "line": 629, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 22050, "end": 22057, "loc": { "start": { "line": 629, "column": 27 }, "end": { "line": 629, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22057, "end": 22058, "loc": { "start": { "line": 629, "column": 34 }, "end": { "line": 629, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textBaseline", "start": 22058, "end": 22070, "loc": { "start": { "line": 629, "column": 35 }, "end": { "line": 629, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22071, "end": 22072, "loc": { "start": { "line": 629, "column": 48 }, "end": { "line": 629, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "alphabetic", "start": 22073, "end": 22085, "loc": { "start": { "line": 629, "column": 50 }, "end": { "line": 629, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22085, "end": 22086, "loc": { "start": { "line": 629, "column": 62 }, "end": { "line": 629, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22100, "end": 22101, "loc": { "start": { "line": 630, "column": 12 }, "end": { "line": 630, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 22102, "end": 22106, "loc": { "start": { "line": 630, "column": 14 }, "end": { "line": 630, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22107, "end": 22108, "loc": { "start": { "line": 630, "column": 19 }, "end": { "line": 630, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assertAlways", "start": 22126, "end": 22138, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 631, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22138, "end": 22139, "loc": { "start": { "line": 631, "column": 28 }, "end": { "line": 631, "column": 29 } } }, { "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": 22139, "end": 22144, "loc": { "start": { "line": 631, "column": 29 }, "end": { "line": 631, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22144, "end": 22145, "loc": { "start": { "line": 631, "column": 34 }, "end": { "line": 631, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Waypoint has no item and text", "start": 22146, "end": 22177, "loc": { "start": { "line": 631, "column": 36 }, "end": { "line": 631, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22177, "end": 22178, "loc": { "start": { "line": 631, "column": 67 }, "end": { "line": 631, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22178, "end": 22179, "loc": { "start": { "line": 631, "column": 68 }, "end": { "line": 631, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22193, "end": 22194, "loc": { "start": { "line": 632, "column": 12 }, "end": { "line": 632, "column": 13 } } }, { "type": "CommentLine", "value": " Render the small icon on the left", "start": 22210, "end": 22246, "loc": { "start": { "line": 634, "column": 12 }, "end": { "line": 634, "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": 22260, "end": 22264, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22264, "end": 22265, "loc": { "start": { "line": 635, "column": 16 }, "end": { "line": 635, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypointSprites", "start": 22265, "end": 22280, "loc": { "start": { "line": 635, "column": 17 }, "end": { "line": 635, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22280, "end": 22281, "loc": { "start": { "line": 635, "column": 32 }, "end": { "line": 635, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waypoint", "start": 22281, "end": 22289, "loc": { "start": { "line": 635, "column": 33 }, "end": { "line": 635, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22289, "end": 22290, "loc": { "start": { "line": 635, "column": 41 }, "end": { "line": 635, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 22290, "end": 22295, "loc": { "start": { "line": 635, "column": 42 }, "end": { "line": 635, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22295, "end": 22296, "loc": { "start": { "line": 635, "column": 47 }, "end": { "line": 635, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22296, "end": 22297, "loc": { "start": { "line": 635, "column": 48 }, "end": { "line": 635, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawCentered", "start": 22297, "end": 22309, "loc": { "start": { "line": 635, "column": 49 }, "end": { "line": 635, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22309, "end": 22310, "loc": { "start": { "line": 635, "column": 61 }, "end": { "line": 635, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 22328, "end": 22338, "loc": { "start": { "line": 636, "column": 16 }, "end": { "line": 636, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22338, "end": 22339, "loc": { "start": { "line": 636, "column": 26 }, "end": { "line": 636, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 22339, "end": 22346, "loc": { "start": { "line": 636, "column": 27 }, "end": { "line": 636, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22346, "end": 22347, "loc": { "start": { "line": 636, "column": 34 }, "end": { "line": 636, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 22365, "end": 22371, "loc": { "start": { "line": 637, "column": 16 }, "end": { "line": 637, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22371, "end": 22372, "loc": { "start": { "line": 637, "column": 22 }, "end": { "line": 637, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 22372, "end": 22373, "loc": { "start": { "line": 637, "column": 23 }, "end": { "line": 637, "column": 24 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 22374, "end": 22375, "loc": { "start": { "line": 637, "column": 25 }, "end": { "line": 637, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contentPaddingX", "start": 22376, "end": 22391, "loc": { "start": { "line": 637, "column": 27 }, "end": { "line": 637, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22391, "end": 22392, "loc": { "start": { "line": 637, "column": 42 }, "end": { "line": 637, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 22410, "end": 22416, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22416, "end": 22417, "loc": { "start": { "line": 638, "column": 22 }, "end": { "line": 638, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 22417, "end": 22418, "loc": { "start": { "line": 638, "column": 23 }, "end": { "line": 638, "column": 24 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 22419, "end": 22420, "loc": { "start": { "line": 638, "column": 25 }, "end": { "line": 638, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 22421, "end": 22427, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22427, "end": 22428, "loc": { "start": { "line": 638, "column": 33 }, "end": { "line": 638, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 22428, "end": 22429, "loc": { "start": { "line": 638, "column": 34 }, "end": { "line": 638, "column": 35 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 22430, "end": 22431, "loc": { "start": { "line": 638, "column": 36 }, "end": { "line": 638, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 22432, "end": 22433, "loc": { "start": { "line": 638, "column": 38 }, "end": { "line": 638, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22433, "end": 22434, "loc": { "start": { "line": 638, "column": 39 }, "end": { "line": 638, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 22452, "end": 22458, "loc": { "start": { "line": 639, "column": 16 }, "end": { "line": 639, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22458, "end": 22459, "loc": { "start": { "line": 639, "column": 22 }, "end": { "line": 639, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 22459, "end": 22460, "loc": { "start": { "line": 639, "column": 23 }, "end": { "line": 639, "column": 24 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 22461, "end": 22462, "loc": { "start": { "line": 639, "column": 25 }, "end": { "line": 639, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.6, "start": 22463, "end": 22466, "loc": { "start": { "line": 639, "column": 27 }, "end": { "line": 639, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22480, "end": 22481, "loc": { "start": { "line": 640, "column": 12 }, "end": { "line": 640, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22481, "end": 22482, "loc": { "start": { "line": 640, "column": 13 }, "end": { "line": 640, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22492, "end": 22493, "loc": { "start": { "line": 641, "column": 8 }, "end": { "line": 641, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 22505, "end": 22515, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22515, "end": 22516, "loc": { "start": { "line": 643, "column": 18 }, "end": { "line": 643, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 22516, "end": 22523, "loc": { "start": { "line": 643, "column": 19 }, "end": { "line": 643, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22523, "end": 22524, "loc": { "start": { "line": 643, "column": 26 }, "end": { "line": 643, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textBaseline", "start": 22524, "end": 22536, "loc": { "start": { "line": 643, "column": 27 }, "end": { "line": 643, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22537, "end": 22538, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "alphabetic", "start": 22539, "end": 22551, "loc": { "start": { "line": 643, "column": 42 }, "end": { "line": 643, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22551, "end": 22552, "loc": { "start": { "line": 643, "column": 54 }, "end": { "line": 643, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 22562, "end": 22572, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22572, "end": 22573, "loc": { "start": { "line": 644, "column": 18 }, "end": { "line": 644, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 22573, "end": 22580, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22580, "end": 22581, "loc": { "start": { "line": 644, "column": 26 }, "end": { "line": 644, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 22581, "end": 22592, "loc": { "start": { "line": 644, "column": 27 }, "end": { "line": 644, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22593, "end": 22594, "loc": { "start": { "line": 644, "column": 39 }, "end": { "line": 644, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 22595, "end": 22596, "loc": { "start": { "line": 644, "column": 41 }, "end": { "line": 644, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22596, "end": 22597, "loc": { "start": { "line": 644, "column": 42 }, "end": { "line": 644, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22603, "end": 22604, "loc": { "start": { "line": 645, "column": 4 }, "end": { "line": 645, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22606, "end": 22607, "loc": { "start": { "line": 646, "column": 0 }, "end": { "line": 646, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22607, "end": 22607, "loc": { "start": { "line": 646, "column": 1 }, "end": { "line": 646, "column": 1 } } } ] }