{ "type": "File", "start": 0, "end": 33902, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1012, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 33902, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1012, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 62, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } }, "imported": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" }, "local": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" } } ], "source": { "type": "StringLiteral", "start": 37, "end": 61, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 61 } }, "extra": { "rawValue": "../core/click_detector", "raw": "\"../core/click_detector\"" }, "value": "../core/click_detector" } }, { "type": "ImportDeclaration", "start": 64, "end": 125, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 73, "end": 85, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 73, "end": 85, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 73, "end": 85, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } }, { "type": "ImportSpecifier", "start": 87, "end": 100, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 36 } }, "imported": { "type": "Identifier", "start": 87, "end": 100, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 36 }, "identifierName": "SUPPORT_TOUCH" }, "name": "SUPPORT_TOUCH" }, "local": { "type": "Identifier", "start": 87, "end": 100, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 36 }, "identifierName": "SUPPORT_TOUCH" }, "name": "SUPPORT_TOUCH" } } ], "source": { "type": "StringLiteral", "start": 108, "end": 124, "loc": { "start": { "line": 2, "column": 44 }, "end": { "line": 2, "column": 60 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 127, "end": 174, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 136, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 136, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 136, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 156, "end": 173, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 176, "end": 222, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 185, "end": 194, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } }, "imported": { "type": "Identifier", "start": 185, "end": 194, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "local": { "type": "Identifier", "start": 185, "end": 194, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" } } ], "source": { "type": "StringLiteral", "start": 202, "end": 221, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 45 } }, "extra": { "rawValue": "../core/rectangle", "raw": "\"../core/rectangle\"" }, "value": "../core/rectangle" } }, { "type": "ImportDeclaration", "start": 224, "end": 282, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 233, "end": 239, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } }, "imported": { "type": "Identifier", "start": 233, "end": 239, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Signal" }, "name": "Signal" }, "local": { "type": "Identifier", "start": 233, "end": 239, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Signal" }, "name": "Signal" } }, { "type": "ImportSpecifier", "start": 241, "end": 257, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 33 } }, "imported": { "type": "Identifier", "start": 241, "end": 257, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 33 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" }, "local": { "type": "Identifier", "start": 241, "end": 257, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 33 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } } ], "source": { "type": "StringLiteral", "start": 265, "end": 281, "loc": { "start": { "line": 5, "column": 41 }, "end": { "line": 5, "column": 57 } }, "extra": { "rawValue": "../core/signal", "raw": "\"../core/signal\"" }, "value": "../core/signal" } }, { "type": "ImportDeclaration", "start": 284, "end": 322, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 38 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 293, "end": 298, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 14 } }, "imported": { "type": "Identifier", "start": 293, "end": 298, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" }, "local": { "type": "Identifier", "start": 293, "end": 298, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" } } ], "source": { "type": "StringLiteral", "start": 306, "end": 321, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 37 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 324, "end": 375, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 333, "end": 342, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 18 } }, "imported": { "type": "Identifier", "start": 333, "end": 342, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 18 }, "identifierName": "mixVector" }, "name": "mixVector" }, "local": { "type": "Identifier", "start": 333, "end": 342, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 18 }, "identifierName": "mixVector" }, "name": "mixVector" } }, { "type": "ImportSpecifier", "start": 344, "end": 350, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 26 } }, "imported": { "type": "Identifier", "start": 344, "end": 350, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 26 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 344, "end": 350, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 26 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 358, "end": 374, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 50 } }, "extra": { "rawValue": "../core/vector", "raw": "\"../core/vector\"" }, "value": "../core/vector" } }, { "type": "ImportDeclaration", "start": 377, "end": 452, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 75 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 386, "end": 409, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 } }, "imported": { "type": "Identifier", "start": 386, "end": 409, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" }, "local": { "type": "Identifier", "start": 386, "end": 409, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" } }, { "type": "ImportSpecifier", "start": 411, "end": 416, "loc": { "start": { "line": 8, "column": 34 }, "end": { "line": 8, "column": 39 } }, "imported": { "type": "Identifier", "start": 411, "end": 416, "loc": { "start": { "line": 8, "column": 34 }, "end": { "line": 8, "column": 39 }, "identifierName": "types" }, "name": "types" }, "local": { "type": "Identifier", "start": 411, "end": 416, "loc": { "start": { "line": 8, "column": 34 }, "end": { "line": 8, "column": 39 }, "identifierName": "types" }, "name": "types" } } ], "source": { "type": "StringLiteral", "start": 424, "end": 451, "loc": { "start": { "line": 8, "column": 47 }, "end": { "line": 8, "column": 74 } }, "extra": { "rawValue": "../savegame/serialization", "raw": "\"../savegame/serialization\"" }, "value": "../savegame/serialization" } }, { "type": "ImportDeclaration", "start": 454, "end": 504, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 463, "end": 474, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 } }, "imported": { "type": "Identifier", "start": 463, "end": 474, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "local": { "type": "Identifier", "start": 463, "end": 474, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" } } ], "source": { "type": "StringLiteral", "start": 482, "end": 503, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 49 } }, "extra": { "rawValue": "./key_action_mapper", "raw": "\"./key_action_mapper\"" }, "value": "./key_action_mapper" } }, { "type": "ImportDeclaration", "start": 506, "end": 540, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 515, "end": 523, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 } }, "imported": { "type": "Identifier", "start": 515, "end": 523, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" }, "local": { "type": "Identifier", "start": 515, "end": 523, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" } } ], "source": { "type": "StringLiteral", "start": 531, "end": 539, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 33 } }, "extra": { "rawValue": "./root", "raw": "\"./root\"" }, "value": "./root" } }, { "type": "VariableDeclaration", "start": 544, "end": 582, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 550, "end": 581, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 37 } }, "id": { "type": "Identifier", "start": 550, "end": 556, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 559, "end": 581, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 37 } }, "callee": { "type": "Identifier", "start": 559, "end": 571, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 572, "end": 580, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 36 } }, "extra": { "rawValue": "camera", "raw": "\"camera\"" }, "value": "camera" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 586, "end": 627, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 41 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 593, "end": 627, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 599, "end": 626, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 40 } }, "id": { "type": "Identifier", "start": 599, "end": 617, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 31 }, "identifierName": "USER_INTERACT_MOVE" }, "name": "USER_INTERACT_MOVE" }, "init": { "type": "StringLiteral", "start": 620, "end": 626, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 40 } }, "extra": { "rawValue": "move", "raw": "\"move\"" }, "value": "move" } } ], "kind": "const", "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 629, "end": 670, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 41 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 636, "end": 670, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 642, "end": 669, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 40 } }, "id": { "type": "Identifier", "start": 642, "end": 660, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 31 }, "identifierName": "USER_INTERACT_ZOOM" }, "name": "USER_INTERACT_ZOOM" }, "init": { "type": "StringLiteral", "start": 663, "end": 669, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "column": 40 } }, "extra": { "rawValue": "zoom", "raw": "\"zoom\"" }, "value": "zoom" } } ], "kind": "const", "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 672, "end": 721, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 49 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 679, "end": 721, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 685, "end": 720, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 48 } }, "id": { "type": "Identifier", "start": 685, "end": 707, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 35 }, "identifierName": "USER_INTERACT_TOUCHEND" }, "name": "USER_INTERACT_TOUCHEND" }, "init": { "type": "StringLiteral", "start": 710, "end": 720, "loc": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 48 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" } } ], "kind": "const", "leadingComments": [], "trailingComments": [] } }, { "type": "VariableDeclaration", "start": 725, "end": 755, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 731, "end": 754, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 29 } }, "id": { "type": "Identifier", "start": 731, "end": 748, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 23 }, "identifierName": "velocitySmoothing" }, "name": "velocitySmoothing" }, "init": { "type": "NumericLiteral", "start": 751, "end": 754, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 29 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 757, "end": 783, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 763, "end": 782, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 25 } }, "id": { "type": "Identifier", "start": 763, "end": 775, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 18 }, "identifierName": "velocityFade" }, "name": "velocityFade" }, "init": { "type": "NumericLiteral", "start": 778, "end": 782, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 25 } }, "extra": { "rawValue": 0.98, "raw": "0.98" }, "value": 0.98 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 785, "end": 814, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 791, "end": 813, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 28 } }, "id": { "type": "Identifier", "start": 791, "end": 807, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 22 }, "identifierName": "velocityStrength" }, "name": "velocityStrength" }, "init": { "type": "NumericLiteral", "start": 810, "end": 813, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 28 } }, "extra": { "rawValue": 0.4, "raw": "0.4" }, "value": 0.4 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 816, "end": 839, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 822, "end": 838, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 22 } }, "id": { "type": "Identifier", "start": 822, "end": 833, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 17 }, "identifierName": "velocityMax" }, "name": "velocityMax" }, "init": { "type": "NumericLiteral", "start": 836, "end": 838, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 22 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 841, "end": 879, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 847, "end": 878, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 37 } }, "id": { "type": "Identifier", "start": 847, "end": 873, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 32 }, "identifierName": "ticksBeforeErasingVelocity" }, "name": "ticksBeforeErasingVelocity" }, "init": { "type": "NumericLiteral", "start": 876, "end": 878, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 37 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } } ], "kind": "const", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @enum {string}\r\n ", "start": 883, "end": 910, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 912, "end": 1011, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 31, "column": 2 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 919, "end": 1011, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 31, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", "start": 925, "end": 1010, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 31, "column": 1 } }, "id": { "type": "Identifier", "start": 925, "end": 940, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 28 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 943, "end": 1010, "loc": { "start": { "line": 27, "column": 31 }, "end": { "line": 31, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 950, "end": 962, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 16 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 950, "end": 954, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 }, "identifierName": "left" }, "name": "left" }, "value": { "type": "StringLiteral", "start": 956, "end": 962, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 16 } }, "extra": { "rawValue": "left", "raw": "\"left\"" }, "value": "left" } }, { "type": "ObjectProperty", "start": 969, "end": 985, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 969, "end": 975, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 }, "identifierName": "middle" }, "name": "middle" }, "value": { "type": "StringLiteral", "start": 977, "end": 985, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 20 } }, "extra": { "rawValue": "middle", "raw": "\"middle\"" }, "value": "middle" } }, { "type": "ObjectProperty", "start": 992, "end": 1006, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 992, "end": 997, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 9 }, "identifierName": "right" }, "name": "right" }, "value": { "type": "StringLiteral", "start": 999, "end": 1006, "loc": { "start": { "line": 30, "column": 11 }, "end": { "line": 30, "column": 18 } }, "extra": { "rawValue": "right", "raw": "\"right\"" }, "value": "right" } } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @enum {string}\r\n ", "start": 883, "end": 910, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @enum {string}\r\n ", "start": 883, "end": 910, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1015, "end": 33900, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 1011, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 1022, "end": 33900, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 1011, "column": 1 } }, "id": { "type": "Identifier", "start": 1028, "end": 1034, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 19 }, "identifierName": "Camera" }, "name": "Camera" }, "superClass": { "type": "Identifier", "start": 1043, "end": 1066, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 51 }, "identifierName": "BasicSerializableObject" }, "name": "BasicSerializableObject" }, "body": { "type": "ClassBody", "start": 1067, "end": 33900, "loc": { "start": { "line": 33, "column": 52 }, "end": { "line": 1011, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1074, "end": 3226, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 102, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1074, "end": 1085, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1086, "end": 1090, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 1092, "end": 3226, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 102, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1103, "end": 1111, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 16 } }, "expression": { "type": "CallExpression", "start": 1103, "end": 1110, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 15 } }, "callee": { "type": "Super", "start": 1103, "end": 1108, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 13 } } }, "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {GameRoot} ", "start": 1123, "end": 1146, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 1156, "end": 1173, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1156, "end": 1172, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1156, "end": 1165, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 17 } }, "object": { "type": "ThisExpression", "start": 1156, "end": 1160, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1161, "end": 1165, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 1168, "end": 1172, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 24 }, "identifierName": "root" }, "name": "root" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {GameRoot} ", "start": 1123, "end": 1146, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Zoom level, 2 means double size", "start": 1185, "end": 1219, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 42 } } }, { "type": "CommentLine", "value": " Find optimal initial zoom", "start": 1231, "end": 1259, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1271, "end": 1311, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1271, "end": 1310, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1271, "end": 1285, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 22 } }, "object": { "type": "ThisExpression", "start": 1271, "end": 1275, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1276, "end": 1285, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 22 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1288, "end": 1310, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 1288, "end": 1308, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 45 } }, "object": { "type": "ThisExpression", "start": 1288, "end": 1292, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 29 } } }, "property": { "type": "Identifier", "start": 1293, "end": 1308, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 44, "column": 45 }, "identifierName": "findInitialZoom" }, "name": "findInitialZoom" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Zoom level, 2 means double size", "start": 1185, "end": 1219, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 42 } } }, { "type": "CommentLine", "value": " Find optimal initial zoom", "start": 1231, "end": 1259, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1321, "end": 1343, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 30 } }, "expression": { "type": "CallExpression", "start": 1321, "end": 1342, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 1321, "end": 1340, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1321, "end": 1325, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 12 } } }, "property": { "type": "Identifier", "start": 1326, "end": 1340, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1355, "end": 1376, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 1386, "end": 1417, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1386, "end": 1416, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1386, "end": 1397, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 19 } }, "object": { "type": "ThisExpression", "start": 1386, "end": 1390, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1391, "end": 1397, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 19 }, "identifierName": "center" }, "name": "center" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 1400, "end": 1416, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 38 } }, "callee": { "type": "Identifier", "start": 1404, "end": 1410, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 32 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 1411, "end": 1412, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 1414, "end": 1415, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1355, "end": 1376, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Input handling", "start": 1429, "end": 1446, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 25 } } } ] }, { "type": "ExpressionStatement", "start": 1456, "end": 1485, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 1456, "end": 1484, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1456, "end": 1476, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1456, "end": 1460, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1461, "end": 1476, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 28 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 1479, "end": 1484, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 36 } }, "value": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Input handling", "start": 1429, "end": 1446, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 25 } } } ] }, { "type": "ExpressionStatement", "start": 1495, "end": 1526, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1495, "end": 1525, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1495, "end": 1518, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1495, "end": 1499, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, "property": { "type": "Identifier", "start": 1500, "end": 1518, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 31 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1521, "end": 1525, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 38 } } } } }, { "type": "ExpressionStatement", "start": 1536, "end": 1575, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 1536, "end": 1574, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1536, "end": 1567, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 39 } }, "object": { "type": "ThisExpression", "start": 1536, "end": 1540, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } } }, "property": { "type": "Identifier", "start": 1541, "end": 1567, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 39 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1570, "end": 1574, "loc": { "start": { "line": 53, "column": 42 }, "end": { "line": 53, "column": 46 } } } } }, { "type": "ExpressionStatement", "start": 1585, "end": 1619, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 1585, "end": 1618, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1585, "end": 1611, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1585, "end": 1589, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 12 } } }, "property": { "type": "Identifier", "start": 1590, "end": 1611, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 34 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1614, "end": 1618, "loc": { "start": { "line": 54, "column": 37 }, "end": { "line": 54, "column": 41 } } } } }, { "type": "ExpressionStatement", "start": 1629, "end": 1663, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 1629, "end": 1662, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1629, "end": 1656, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 35 } }, "object": { "type": "ThisExpression", "start": 1629, "end": 1633, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 12 } } }, "property": { "type": "Identifier", "start": 1634, "end": 1656, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 35 }, "identifierName": "cameraUpdateTimeBucket" }, "name": "cameraUpdateTimeBucket" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1659, "end": 1662, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 1673, "end": 1709, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 1673, "end": 1708, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1673, "end": 1700, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 35 } }, "object": { "type": "ThisExpression", "start": 1673, "end": 1677, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 12 } } }, "property": { "type": "Identifier", "start": 1678, "end": 1700, "loc": { "start": { "line": 56, "column": 13 }, "end": { "line": 56, "column": 35 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1703, "end": 1708, "loc": { "start": { "line": 56, "column": 38 }, "end": { "line": 56, "column": 43 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 1719, "end": 1750, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1719, "end": 1749, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1719, "end": 1741, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1719, "end": 1723, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, "property": { "type": "Identifier", "start": 1724, "end": 1741, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 30 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1744, "end": 1749, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 38 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 1760, "end": 1791, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1760, "end": 1790, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1760, "end": 1783, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1760, "end": 1764, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 12 } } }, "property": { "type": "Identifier", "start": 1765, "end": 1783, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 31 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "right": { "type": "NullLiteral", "start": 1786, "end": 1790, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 38 } } } } }, { "type": "ExpressionStatement", "start": 1803, "end": 1837, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 1803, "end": 1836, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1803, "end": 1821, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 26 } }, "object": { "type": "ThisExpression", "start": 1803, "end": 1807, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } } }, "property": { "type": "Identifier", "start": 1808, "end": 1821, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 26 }, "identifierName": "keyboardForce" }, "name": "keyboardForce" }, "computed": false }, "right": { "type": "NewExpression", "start": 1824, "end": 1836, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 41 } }, "callee": { "type": "Identifier", "start": 1828, "end": 1834, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 39 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [] } }, "trailingComments": [ { "type": "CommentLine", "value": " Signal which gets emitted once the user changed something", "start": 1849, "end": 1909, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 1919, "end": 1955, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 1919, "end": 1954, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1919, "end": 1939, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1919, "end": 1923, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1924, "end": 1939, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 28 }, "identifierName": "userInteraction" }, "name": "userInteraction" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 1942, "end": 1954, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 43 } }, "callee": { "type": "Identifier", "start": 1946, "end": 1952, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 41 }, "identifierName": "Signal" }, "name": "Signal" }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Signal which gets emitted once the user changed something", "start": 1849, "end": 1909, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 68 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1967, "end": 1988, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 1998, "end": 2035, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 1998, "end": 2034, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1998, "end": 2015, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1998, "end": 2002, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2003, "end": 2015, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 25 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2018, "end": 2034, "loc": { "start": { "line": 66, "column": 28 }, "end": { "line": 66, "column": 44 } }, "callee": { "type": "Identifier", "start": 2022, "end": 2028, "loc": { "start": { "line": 66, "column": 32 }, "end": { "line": 66, "column": 38 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 2029, "end": 2030, "loc": { "start": { "line": 66, "column": 39 }, "end": { "line": 66, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2032, "end": 2033, "loc": { "start": { "line": 66, "column": 42 }, "end": { "line": 66, "column": 43 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1967, "end": 1988, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 29 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2047, "end": 2068, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 2078, "end": 2113, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 2078, "end": 2112, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2078, "end": 2093, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2078, "end": 2082, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2083, "end": 2093, "loc": { "start": { "line": 69, "column": 13 }, "end": { "line": 69, "column": 23 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2096, "end": 2112, "loc": { "start": { "line": 69, "column": 26 }, "end": { "line": 69, "column": 42 } }, "callee": { "type": "Identifier", "start": 2100, "end": 2106, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 36 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 2107, "end": 2108, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2110, "end": 2111, "loc": { "start": { "line": 69, "column": 40 }, "end": { "line": 69, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2047, "end": 2068, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set desired pan (camera movement)", "start": 2125, "end": 2161, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2171, "end": 2192, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 2202, "end": 2237, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 2202, "end": 2236, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2202, "end": 2217, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 23 } }, "object": { "type": "ThisExpression", "start": 2202, "end": 2206, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2207, "end": 2217, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 23 }, "identifierName": "desiredPan" }, "name": "desiredPan" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2220, "end": 2236, "loc": { "start": { "line": 73, "column": 26 }, "end": { "line": 73, "column": 42 } }, "callee": { "type": "Identifier", "start": 2224, "end": 2230, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 36 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 2231, "end": 2232, "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2234, "end": 2235, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Set desired pan (camera movement)", "start": 2125, "end": 2161, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2171, "end": 2192, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set desired camera center", "start": 2249, "end": 2277, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2287, "end": 2308, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 2318, "end": 2344, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 2318, "end": 2343, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2318, "end": 2336, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2318, "end": 2322, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2323, "end": 2336, "loc": { "start": { "line": 77, "column": 13 }, "end": { "line": 77, "column": 26 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 2339, "end": 2343, "loc": { "start": { "line": 77, "column": 29 }, "end": { "line": 77, "column": 33 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Set desired camera center", "start": 2249, "end": 2277, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2287, "end": 2308, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Set desired camera zoom", "start": 2356, "end": 2382, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 34 } } }, { "type": "CommentBlock", "value": "* @type {number} ", "start": 2392, "end": 2413, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 2423, "end": 2447, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 2423, "end": 2446, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2423, "end": 2439, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 24 } }, "object": { "type": "ThisExpression", "start": 2423, "end": 2427, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2428, "end": 2439, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 24 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 2442, "end": 2446, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 31 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Set desired camera zoom", "start": 2356, "end": 2382, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 34 } } }, { "type": "CommentBlock", "value": "* @type {number} ", "start": 2392, "end": 2413, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 29 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2459, "end": 2480, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 2490, "end": 2536, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 2490, "end": 2535, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2490, "end": 2516, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 34 } }, "object": { "type": "ThisExpression", "start": 2490, "end": 2494, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2495, "end": 2516, "loc": { "start": { "line": 84, "column": 13 }, "end": { "line": 84, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2519, "end": 2535, "loc": { "start": { "line": 84, "column": 37 }, "end": { "line": 84, "column": 53 } }, "callee": { "type": "Identifier", "start": 2523, "end": 2529, "loc": { "start": { "line": 84, "column": 41 }, "end": { "line": 84, "column": 47 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 2530, "end": 2531, "loc": { "start": { "line": 84, "column": 48 }, "end": { "line": 84, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2533, "end": 2534, "loc": { "start": { "line": 84, "column": 51 }, "end": { "line": 84, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2459, "end": 2480, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 29 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Handlers", "start": 2548, "end": 2559, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 19 } } } ] }, { "type": "ExpressionStatement", "start": 2569, "end": 2660, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 99 } }, "expression": { "type": "AssignmentExpression", "start": 2569, "end": 2659, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2569, "end": 2588, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2569, "end": 2573, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2574, "end": 2588, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 27 }, "identifierName": "downPreHandler" }, "name": "downPreHandler" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2646, "end": 2658, "loc": { "start": { "line": 87, "column": 85 }, "end": { "line": 87, "column": 97 } }, "callee": { "type": "Identifier", "start": 2650, "end": 2656, "loc": { "start": { "line": 87, "column": 89 }, "end": { "line": 87, "column": 95 }, "identifierName": "Signal" }, "name": "Signal" }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector, enumMouseButton]>} ", "start": 2591, "end": 2644, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 83 } } } ], "extra": { "parenthesized": true, "parenStart": 2645 } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Handlers", "start": 2548, "end": 2559, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 19 } } } ] }, { "type": "ExpressionStatement", "start": 2670, "end": 2744, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 2670, "end": 2743, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2670, "end": 2689, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2670, "end": 2674, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } } }, "property": { "type": "Identifier", "start": 2675, "end": 2689, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 27 }, "identifierName": "movePreHandler" }, "name": "movePreHandler" }, "computed": false }, "right": { "type": "NewExpression", "start": 2730, "end": 2742, "loc": { "start": { "line": 88, "column": 68 }, "end": { "line": 88, "column": 80 } }, "callee": { "type": "Identifier", "start": 2734, "end": 2740, "loc": { "start": { "line": 88, "column": 72 }, "end": { "line": 88, "column": 78 }, "identifierName": "Signal" }, "name": "Signal" }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2692, "end": 2728, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 66 } } } ], "extra": { "parenthesized": true, "parenStart": 2729 } } }, "trailingComments": [ { "type": "CommentLine", "value": " this.pinchPreHandler = /** @type {TypedSignal<[Vector]>} */ (new Signal());", "start": 2754, "end": 2832, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 86 } } } ] }, { "type": "ExpressionStatement", "start": 2842, "end": 2915, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 81 } }, "expression": { "type": "AssignmentExpression", "start": 2842, "end": 2914, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 80 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2842, "end": 2860, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 26 } }, "object": { "type": "ThisExpression", "start": 2842, "end": 2846, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2847, "end": 2860, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 26 }, "identifierName": "upPostHandler" }, "name": "upPostHandler" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2901, "end": 2913, "loc": { "start": { "line": 90, "column": 67 }, "end": { "line": 90, "column": 79 } }, "callee": { "type": "Identifier", "start": 2905, "end": 2911, "loc": { "start": { "line": 90, "column": 71 }, "end": { "line": 90, "column": 77 }, "identifierName": "Signal" }, "name": "Signal" }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2863, "end": 2899, "loc": { "start": { "line": 90, "column": 29 }, "end": { "line": 90, "column": 65 } } } ], "extra": { "parenthesized": true, "parenStart": 2900 } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " this.pinchPreHandler = /** @type {TypedSignal<[Vector]>} */ (new Signal());", "start": 2754, "end": 2832, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 86 } } } ] }, { "type": "ExpressionStatement", "start": 2927, "end": 2953, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 34 } }, "expression": { "type": "CallExpression", "start": 2927, "end": 2952, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 2927, "end": 2950, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2927, "end": 2931, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 12 } } }, "property": { "type": "Identifier", "start": 2932, "end": 2950, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 31 }, "identifierName": "internalInitEvents" }, "name": "internalInitEvents" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 2963, "end": 2985, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 30 } }, "expression": { "type": "CallExpression", "start": 2963, "end": 2984, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 2963, "end": 2982, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 27 } }, "object": { "type": "ThisExpression", "start": 2963, "end": 2967, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, "property": { "type": "Identifier", "start": 2968, "end": 2982, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 2995, "end": 3011, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 24 } }, "expression": { "type": "CallExpression", "start": 2995, "end": 3010, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 23 } }, "callee": { "type": "MemberExpression", "start": 2995, "end": 3008, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2995, "end": 2999, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 12 } } }, "property": { "type": "Identifier", "start": 3000, "end": 3008, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 94, "column": 21 }, "identifierName": "bindKeys" }, "name": "bindKeys" }, "computed": false }, "arguments": [] } }, { "type": "IfStatement", "start": 3021, "end": 3219, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 101, "column": 9 } }, "test": { "type": "Identifier", "start": 3025, "end": 3033, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "consequent": { "type": "BlockStatement", "start": 3035, "end": 3219, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 101, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3050, "end": 3208, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 100, "column": 15 } }, "expression": { "type": "CallExpression", "start": 3050, "end": 3207, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 100, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 3050, "end": 3073, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 35 } }, "object": { "type": "Identifier", "start": 3050, "end": 3056, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 3057, "end": 3073, "loc": { "start": { "line": 96, "column": 19 }, "end": { "line": 96, "column": 35 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3074, "end": 3083, "loc": { "start": { "line": 96, "column": 36 }, "end": { "line": 96, "column": 45 } }, "extra": { "rawValue": "keydown", "raw": "\"keydown\"" }, "value": "keydown" }, { "type": "ArrowFunctionExpression", "start": 3085, "end": 3206, "loc": { "start": { "line": 96, "column": 47 }, "end": { "line": 100, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3085, "end": 3087, "loc": { "start": { "line": 96, "column": 47 }, "end": { "line": 96, "column": 49 }, "identifierName": "ev" }, "name": "ev" } ], "body": { "type": "BlockStatement", "start": 3091, "end": 3206, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 100, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 3110, "end": 3191, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 99, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 3114, "end": 3128, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 34 } }, "left": { "type": "MemberExpression", "start": 3114, "end": 3120, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 26 } }, "object": { "type": "Identifier", "start": 3114, "end": 3116, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 22 }, "identifierName": "ev" }, "name": "ev" }, "property": { "type": "Identifier", "start": 3117, "end": 3120, "loc": { "start": { "line": 97, "column": 23 }, "end": { "line": 97, "column": 26 }, "identifierName": "key" }, "name": "key" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 3125, "end": 3128, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 34 } }, "extra": { "rawValue": "i", "raw": "\"i\"" }, "value": "i" } }, "consequent": { "type": "BlockStatement", "start": 3130, "end": 3191, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 99, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 3153, "end": 3172, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 3153, "end": 3171, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3153, "end": 3167, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3153, "end": 3157, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 24 } } }, "property": { "type": "Identifier", "start": 3158, "end": 3167, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 34 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3170, "end": 3171, "loc": { "start": { "line": 98, "column": 37 }, "end": { "line": 98, "column": 38 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Serialization", "start": 3234, "end": 3250, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } } } ] }, { "type": "ClassMethod", "start": 3256, "end": 3305, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 107, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 3263, "end": 3268, "loc": { "start": { "line": 105, "column": 11 }, "end": { "line": 105, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3271, "end": 3305, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 107, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3282, "end": 3298, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 24 } }, "argument": { "type": "StringLiteral", "start": 3289, "end": 3297, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 23 } }, "extra": { "rawValue": "Camera", "raw": "\"Camera\"" }, "value": "Camera" } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Serialization", "start": 3234, "end": 3250, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } } } ] }, { "type": "ClassMethod", "start": 3313, "end": 3442, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 114, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 3320, "end": 3329, "loc": { "start": { "line": 109, "column": 11 }, "end": { "line": 109, "column": 20 }, "identifierName": "getSchema" }, "name": "getSchema" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3332, "end": 3442, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 114, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3343, "end": 3435, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 113, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 3350, "end": 3434, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 113, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 3365, "end": 3387, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 34 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3365, "end": 3374, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 21 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "value": { "type": "MemberExpression", "start": 3376, "end": 3387, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 34 } }, "object": { "type": "Identifier", "start": 3376, "end": 3381, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 28 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 3382, "end": 3387, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "column": 34 }, "identifierName": "float" }, "name": "float" }, "computed": false } }, { "type": "ObjectProperty", "start": 3402, "end": 3422, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 3402, "end": 3408, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 18 }, "identifierName": "center" }, "name": "center" }, "value": { "type": "MemberExpression", "start": 3410, "end": 3422, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 32 } }, "object": { "type": "Identifier", "start": 3410, "end": 3415, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 25 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 3416, "end": 3422, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 32 }, "identifierName": "vector" }, "name": "vector" }, "computed": false } } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 3450, "end": 3649, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 124, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3450, "end": 3461, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 15 }, "identifierName": "deserialize" }, "name": "deserialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3462, "end": 3466, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 20 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 3468, "end": 3649, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 124, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3479, "end": 3521, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3485, "end": 3520, "loc": { "start": { "line": 117, "column": 14 }, "end": { "line": 117, "column": 49 } }, "id": { "type": "Identifier", "start": 3485, "end": 3494, "loc": { "start": { "line": 117, "column": 14 }, "end": { "line": 117, "column": 23 }, "identifierName": "errorCode" }, "name": "errorCode" }, "init": { "type": "CallExpression", "start": 3497, "end": 3520, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3497, "end": 3514, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 43 } }, "object": { "type": "Super", "start": 3497, "end": 3502, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 31 } } }, "property": { "type": "Identifier", "start": 3503, "end": 3514, "loc": { "start": { "line": 117, "column": 32 }, "end": { "line": 117, "column": 43 }, "identifierName": "deserialize" }, "name": "deserialize" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3515, "end": 3519, "loc": { "start": { "line": 117, "column": 44 }, "end": { "line": 117, "column": 48 }, "identifierName": "data" }, "name": "data" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3531, "end": 3589, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 120, "column": 9 } }, "test": { "type": "Identifier", "start": 3535, "end": 3544, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 21 }, "identifierName": "errorCode" }, "name": "errorCode" }, "consequent": { "type": "BlockStatement", "start": 3546, "end": 3589, "loc": { "start": { "line": 118, "column": 23 }, "end": { "line": 120, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3561, "end": 3578, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 29 } }, "argument": { "type": "Identifier", "start": 3568, "end": 3577, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 28 }, "identifierName": "errorCode" }, "name": "errorCode" } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Safety", "start": 3601, "end": 3610, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } } } ] }, { "type": "ExpressionStatement", "start": 3620, "end": 3642, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 30 } }, "expression": { "type": "CallExpression", "start": 3620, "end": 3641, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 3620, "end": 3639, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3620, "end": 3624, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3625, "end": 3639, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Safety", "start": 3601, "end": 3610, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Simple getters & setters", "start": 3657, "end": 3684, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 31 } } } ] }, { "type": "ClassMethod", "start": 3692, "end": 4038, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 133, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3692, "end": 3706, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 18 }, "identifierName": "addScreenShake" }, "name": "addScreenShake", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3707, "end": 3713, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 25 }, "identifierName": "amount" }, "name": "amount" } ], "body": { "type": "BlockStatement", "start": 3715, "end": 4038, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 133, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3726, "end": 3780, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3732, "end": 3779, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 61 } }, "id": { "type": "Identifier", "start": 3732, "end": 3750, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 32 }, "identifierName": "currentShakeAmount" }, "name": "currentShakeAmount" }, "init": { "type": "CallExpression", "start": 3753, "end": 3779, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 3753, "end": 3777, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 59 } }, "object": { "type": "MemberExpression", "start": 3753, "end": 3770, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 52 } }, "object": { "type": "ThisExpression", "start": 3753, "end": 3757, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 39 } } }, "property": { "type": "Identifier", "start": 3758, "end": 3770, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 52 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 3771, "end": 3777, "loc": { "start": { "line": 129, "column": 53 }, "end": { "line": 129, "column": 59 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3790, "end": 3837, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3796, "end": 3836, "loc": { "start": { "line": 130, "column": 14 }, "end": { "line": 130, "column": 54 } }, "id": { "type": "Identifier", "start": 3796, "end": 3801, "loc": { "start": { "line": 130, "column": 14 }, "end": { "line": 130, "column": 19 }, "identifierName": "scale" }, "name": "scale" }, "init": { "type": "BinaryExpression", "start": 3804, "end": 3836, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 54 } }, "left": { "type": "NumericLiteral", "start": 3804, "end": 3805, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 23 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "BinaryExpression", "start": 3809, "end": 3835, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 53 } }, "left": { "type": "NumericLiteral", "start": 3809, "end": 3810, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 28 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "BinaryExpression", "start": 3813, "end": 3835, "loc": { "start": { "line": 130, "column": 31 }, "end": { "line": 130, "column": 53 } }, "left": { "type": "NumericLiteral", "start": 3813, "end": 3814, "loc": { "start": { "line": 130, "column": 31 }, "end": { "line": 130, "column": 32 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "operator": "*", "right": { "type": "Identifier", "start": 3817, "end": 3835, "loc": { "start": { "line": 130, "column": 35 }, "end": { "line": 130, "column": 53 }, "identifierName": "currentShakeAmount" }, "name": "currentShakeAmount" } }, "extra": { "parenthesized": true, "parenStart": 3808 } } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3847, "end": 3934, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 95 } }, "expression": { "type": "AssignmentExpression", "start": 3847, "end": 3933, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 94 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3847, "end": 3866, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3847, "end": 3864, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3847, "end": 3851, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 12 } } }, "property": { "type": "Identifier", "start": 3852, "end": 3864, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 25 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 3865, "end": 3866, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 27 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 3869, "end": 3933, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 94 } }, "left": { "type": "MemberExpression", "start": 3869, "end": 3888, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 49 } }, "object": { "type": "MemberExpression", "start": 3869, "end": 3886, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 47 } }, "object": { "type": "ThisExpression", "start": 3869, "end": 3873, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 34 } } }, "property": { "type": "Identifier", "start": 3874, "end": 3886, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 47 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 3887, "end": 3888, "loc": { "start": { "line": 131, "column": 48 }, "end": { "line": 131, "column": 49 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 3891, "end": 3933, "loc": { "start": { "line": 131, "column": 52 }, "end": { "line": 131, "column": 94 } }, "left": { "type": "BinaryExpression", "start": 3891, "end": 3924, "loc": { "start": { "line": 131, "column": 52 }, "end": { "line": 131, "column": 85 } }, "left": { "type": "BinaryExpression", "start": 3891, "end": 3916, "loc": { "start": { "line": 131, "column": 52 }, "end": { "line": 131, "column": 77 } }, "left": { "type": "NumericLiteral", "start": 3891, "end": 3892, "loc": { "start": { "line": 131, "column": 52 }, "end": { "line": 131, "column": 53 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "operator": "*", "right": { "type": "BinaryExpression", "start": 3896, "end": 3915, "loc": { "start": { "line": 131, "column": 57 }, "end": { "line": 131, "column": 76 } }, "left": { "type": "CallExpression", "start": 3896, "end": 3909, "loc": { "start": { "line": 131, "column": 57 }, "end": { "line": 131, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3896, "end": 3907, "loc": { "start": { "line": 131, "column": 57 }, "end": { "line": 131, "column": 68 } }, "object": { "type": "Identifier", "start": 3896, "end": 3900, "loc": { "start": { "line": 131, "column": 57 }, "end": { "line": 131, "column": 61 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 3901, "end": 3907, "loc": { "start": { "line": 131, "column": 62 }, "end": { "line": 131, "column": 68 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "NumericLiteral", "start": 3912, "end": 3915, "loc": { "start": { "line": 131, "column": 73 }, "end": { "line": 131, "column": 76 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 }, "extra": { "parenthesized": true, "parenStart": 3895 } } }, "operator": "*", "right": { "type": "Identifier", "start": 3919, "end": 3924, "loc": { "start": { "line": 131, "column": 80 }, "end": { "line": 131, "column": 85 }, "identifierName": "scale" }, "name": "scale" } }, "operator": "*", "right": { "type": "Identifier", "start": 3927, "end": 3933, "loc": { "start": { "line": 131, "column": 88 }, "end": { "line": 131, "column": 94 }, "identifierName": "amount" }, "name": "amount" } } } } }, { "type": "ExpressionStatement", "start": 3944, "end": 4031, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 95 } }, "expression": { "type": "AssignmentExpression", "start": 3944, "end": 4030, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 94 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3944, "end": 3963, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 27 } }, "object": { "type": "MemberExpression", "start": 3944, "end": 3961, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3944, "end": 3948, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 12 } } }, "property": { "type": "Identifier", "start": 3949, "end": 3961, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 25 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 3962, "end": 3963, "loc": { "start": { "line": 132, "column": 26 }, "end": { "line": 132, "column": 27 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 3966, "end": 4030, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 94 } }, "left": { "type": "MemberExpression", "start": 3966, "end": 3985, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 49 } }, "object": { "type": "MemberExpression", "start": 3966, "end": 3983, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 47 } }, "object": { "type": "ThisExpression", "start": 3966, "end": 3970, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 34 } } }, "property": { "type": "Identifier", "start": 3971, "end": 3983, "loc": { "start": { "line": 132, "column": 35 }, "end": { "line": 132, "column": 47 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 3984, "end": 3985, "loc": { "start": { "line": 132, "column": 48 }, "end": { "line": 132, "column": 49 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 3988, "end": 4030, "loc": { "start": { "line": 132, "column": 52 }, "end": { "line": 132, "column": 94 } }, "left": { "type": "BinaryExpression", "start": 3988, "end": 4021, "loc": { "start": { "line": 132, "column": 52 }, "end": { "line": 132, "column": 85 } }, "left": { "type": "BinaryExpression", "start": 3988, "end": 4013, "loc": { "start": { "line": 132, "column": 52 }, "end": { "line": 132, "column": 77 } }, "left": { "type": "NumericLiteral", "start": 3988, "end": 3989, "loc": { "start": { "line": 132, "column": 52 }, "end": { "line": 132, "column": 53 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "operator": "*", "right": { "type": "BinaryExpression", "start": 3993, "end": 4012, "loc": { "start": { "line": 132, "column": 57 }, "end": { "line": 132, "column": 76 } }, "left": { "type": "CallExpression", "start": 3993, "end": 4006, "loc": { "start": { "line": 132, "column": 57 }, "end": { "line": 132, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 3993, "end": 4004, "loc": { "start": { "line": 132, "column": 57 }, "end": { "line": 132, "column": 68 } }, "object": { "type": "Identifier", "start": 3993, "end": 3997, "loc": { "start": { "line": 132, "column": 57 }, "end": { "line": 132, "column": 61 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 3998, "end": 4004, "loc": { "start": { "line": 132, "column": 62 }, "end": { "line": 132, "column": 68 }, "identifierName": "random" }, "name": "random" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4009, "end": 4012, "loc": { "start": { "line": 132, "column": 73 }, "end": { "line": 132, "column": 76 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 }, "extra": { "parenthesized": true, "parenStart": 3992 } } }, "operator": "*", "right": { "type": "Identifier", "start": 4016, "end": 4021, "loc": { "start": { "line": 132, "column": 80 }, "end": { "line": 132, "column": 85 }, "identifierName": "scale" }, "name": "scale" } }, "operator": "*", "right": { "type": "Identifier", "start": 4024, "end": 4030, "loc": { "start": { "line": 132, "column": 88 }, "end": { "line": 132, "column": 94 }, "identifierName": "amount" }, "name": "amount" } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Simple getters & setters", "start": 3657, "end": 3684, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 31 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets a point in world space to focus on\r\n * @param {Vector} center\r\n ", "start": 4046, "end": 4137, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4143, "end": 4260, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 142, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4143, "end": 4159, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 20 }, "identifierName": "setDesiredCenter" }, "name": "setDesiredCenter", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4160, "end": 4166, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "column": 27 }, "identifierName": "center" }, "name": "center" } ], "body": { "type": "BlockStatement", "start": 4168, "end": 4260, "loc": { "start": { "line": 139, "column": 29 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4179, "end": 4214, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 4179, "end": 4213, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4179, "end": 4197, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4179, "end": 4183, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 12 } } }, "property": { "type": "Identifier", "start": 4184, "end": 4197, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 26 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "CallExpression", "start": 4200, "end": 4213, "loc": { "start": { "line": 140, "column": 29 }, "end": { "line": 140, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 4200, "end": 4211, "loc": { "start": { "line": 140, "column": 29 }, "end": { "line": 140, "column": 40 } }, "object": { "type": "Identifier", "start": 4200, "end": 4206, "loc": { "start": { "line": 140, "column": 29 }, "end": { "line": 140, "column": 35 }, "identifierName": "center" }, "name": "center" }, "property": { "type": "Identifier", "start": 4207, "end": 4211, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 40 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 4224, "end": 4253, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 4224, "end": 4252, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4224, "end": 4244, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4224, "end": 4228, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 12 } } }, "property": { "type": "Identifier", "start": 4229, "end": 4244, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 28 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 4247, "end": 4252, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 36 } }, "value": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets a point in world space to focus on\r\n * @param {Vector} center\r\n ", "start": 4046, "end": 4137, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets a desired zoom level\r\n * @param {number} zoom\r\n ", "start": 4268, "end": 4343, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4349, "end": 4412, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 150, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4349, "end": 4363, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 18 }, "identifierName": "setDesiredZoom" }, "name": "setDesiredZoom", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4364, "end": 4368, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 23 }, "identifierName": "zoom" }, "name": "zoom" } ], "body": { "type": "BlockStatement", "start": 4370, "end": 4412, "loc": { "start": { "line": 148, "column": 25 }, "end": { "line": 150, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4381, "end": 4405, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 4381, "end": 4404, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4381, "end": 4397, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 24 } }, "object": { "type": "ThisExpression", "start": 4381, "end": 4385, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 12 } } }, "property": { "type": "Identifier", "start": 4386, "end": 4397, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 24 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "Identifier", "start": 4400, "end": 4404, "loc": { "start": { "line": 149, "column": 27 }, "end": { "line": 149, "column": 31 }, "identifierName": "zoom" }, "name": "zoom" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets a desired zoom level\r\n * @param {number} zoom\r\n ", "start": 4268, "end": 4343, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this camera is currently moving by a non-user interaction\r\n ", "start": 4420, "end": 4509, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 154, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4515, "end": 4603, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4515, "end": 4547, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 155, "column": 36 }, "identifierName": "isCurrentlyMovingToDesiredCenter" }, "name": "isCurrentlyMovingToDesiredCenter", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4550, "end": 4603, "loc": { "start": { "line": 155, "column": 39 }, "end": { "line": 157, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4561, "end": 4596, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 4568, "end": 4595, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 42 } }, "left": { "type": "MemberExpression", "start": 4568, "end": 4586, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4568, "end": 4572, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 19 } } }, "property": { "type": "Identifier", "start": 4573, "end": 4586, "loc": { "start": { "line": 156, "column": 20 }, "end": { "line": 156, "column": 33 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 4591, "end": 4595, "loc": { "start": { "line": 156, "column": 38 }, "end": { "line": 156, "column": 42 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if this camera is currently moving by a non-user interaction\r\n ", "start": 4420, "end": 4509, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 154, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets the camera pan, every frame the camera will move by this amount\r\n * @param {Vector} pan\r\n ", "start": 4611, "end": 4728, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4734, "end": 4793, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4734, "end": 4740, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 10 }, "identifierName": "setPan" }, "name": "setPan", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4741, "end": 4744, "loc": { "start": { "line": 163, "column": 11 }, "end": { "line": 163, "column": 14 }, "identifierName": "pan" }, "name": "pan" } ], "body": { "type": "BlockStatement", "start": 4746, "end": 4793, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 165, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4757, "end": 4786, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 4757, "end": 4785, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4757, "end": 4772, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4757, "end": 4761, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 12 } } }, "property": { "type": "Identifier", "start": 4762, "end": 4772, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 23 }, "identifierName": "desiredPan" }, "name": "desiredPan" }, "computed": false }, "right": { "type": "CallExpression", "start": 4775, "end": 4785, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 4775, "end": 4783, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 34 } }, "object": { "type": "Identifier", "start": 4775, "end": 4778, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 29 }, "identifierName": "pan" }, "name": "pan" }, "property": { "type": "Identifier", "start": 4779, "end": 4783, "loc": { "start": { "line": 164, "column": 30 }, "end": { "line": 164, "column": 34 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets the camera pan, every frame the camera will move by this amount\r\n * @param {Vector} pan\r\n ", "start": 4611, "end": 4728, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a good initial zoom level\r\n ", "start": 4801, "end": 4853, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4859, "end": 5358, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 181, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4859, "end": 4874, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 19 }, "identifierName": "findInitialZoom" }, "name": "findInitialZoom", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4877, "end": 5358, "loc": { "start": { "line": 170, "column": 22 }, "end": { "line": 181, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 4888, "end": 4946, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4894, "end": 4945, "loc": { "start": { "line": 171, "column": 14 }, "end": { "line": 171, "column": 65 } }, "id": { "type": "Identifier", "start": 4894, "end": 4916, "loc": { "start": { "line": 171, "column": 14 }, "end": { "line": 171, "column": 36 }, "identifierName": "desiredWorldSpaceWidth" }, "name": "desiredWorldSpaceWidth" }, "init": { "type": "BinaryExpression", "start": 4919, "end": 4945, "loc": { "start": { "line": 171, "column": 39 }, "end": { "line": 171, "column": 65 } }, "left": { "type": "NumericLiteral", "start": 4919, "end": 4921, "loc": { "start": { "line": 171, "column": 39 }, "end": { "line": 171, "column": 41 } }, "extra": { "rawValue": 15, "raw": "15" }, "value": 15 }, "operator": "*", "right": { "type": "MemberExpression", "start": 4924, "end": 4945, "loc": { "start": { "line": 171, "column": 44 }, "end": { "line": 171, "column": 65 } }, "object": { "type": "Identifier", "start": 4924, "end": 4936, "loc": { "start": { "line": 171, "column": 44 }, "end": { "line": 171, "column": 56 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4937, "end": 4945, "loc": { "start": { "line": 171, "column": 57 }, "end": { "line": 171, "column": 65 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4956, "end": 5020, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4962, "end": 5019, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 71 } }, "id": { "type": "Identifier", "start": 4962, "end": 4972, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 24 }, "identifierName": "zoomLevelX" }, "name": "zoomLevelX" }, "init": { "type": "BinaryExpression", "start": 4975, "end": 5019, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 71 } }, "left": { "type": "MemberExpression", "start": 4975, "end": 4994, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4975, "end": 4984, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 36 } }, "object": { "type": "ThisExpression", "start": 4975, "end": 4979, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 31 } } }, "property": { "type": "Identifier", "start": 4980, "end": 4984, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 36 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4985, "end": 4994, "loc": { "start": { "line": 172, "column": 37 }, "end": { "line": 172, "column": 46 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 4997, "end": 5019, "loc": { "start": { "line": 172, "column": 49 }, "end": { "line": 172, "column": 71 }, "identifierName": "desiredWorldSpaceWidth" }, "name": "desiredWorldSpaceWidth" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5030, "end": 5095, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5036, "end": 5094, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 72 } }, "id": { "type": "Identifier", "start": 5036, "end": 5046, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 24 }, "identifierName": "zoomLevelY" }, "name": "zoomLevelY" }, "init": { "type": "BinaryExpression", "start": 5049, "end": 5094, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 72 } }, "left": { "type": "MemberExpression", "start": 5049, "end": 5069, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 47 } }, "object": { "type": "MemberExpression", "start": 5049, "end": 5058, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 36 } }, "object": { "type": "ThisExpression", "start": 5049, "end": 5053, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 31 } } }, "property": { "type": "Identifier", "start": 5054, "end": 5058, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 36 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5059, "end": 5069, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 47 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 5072, "end": 5094, "loc": { "start": { "line": 173, "column": 50 }, "end": { "line": 173, "column": 72 }, "identifierName": "desiredWorldSpaceWidth" }, "name": "desiredWorldSpaceWidth" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5107, "end": 5159, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5113, "end": 5158, "loc": { "start": { "line": 175, "column": 14 }, "end": { "line": 175, "column": 59 } }, "id": { "type": "Identifier", "start": 5113, "end": 5123, "loc": { "start": { "line": 175, "column": 14 }, "end": { "line": 175, "column": 24 }, "identifierName": "finalLevel" }, "name": "finalLevel" }, "init": { "type": "CallExpression", "start": 5126, "end": 5158, "loc": { "start": { "line": 175, "column": 27 }, "end": { "line": 175, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 5126, "end": 5134, "loc": { "start": { "line": 175, "column": 27 }, "end": { "line": 175, "column": 35 } }, "object": { "type": "Identifier", "start": 5126, "end": 5130, "loc": { "start": { "line": 175, "column": 27 }, "end": { "line": 175, "column": 31 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 5131, "end": 5134, "loc": { "start": { "line": 175, "column": 32 }, "end": { "line": 175, "column": 35 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5135, "end": 5145, "loc": { "start": { "line": 175, "column": 36 }, "end": { "line": 175, "column": 46 }, "identifierName": "zoomLevelX" }, "name": "zoomLevelX" }, { "type": "Identifier", "start": 5147, "end": 5157, "loc": { "start": { "line": 175, "column": 48 }, "end": { "line": 175, "column": 58 }, "identifierName": "zoomLevelY" }, "name": "zoomLevelY" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5169, "end": 5323, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 179, "column": 10 } }, "expression": { "type": "CallExpression", "start": 5169, "end": 5322, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 179, "column": 9 } }, "callee": { "type": "Identifier", "start": 5169, "end": 5175, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "LogicalExpression", "start": 5190, "end": 5235, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 57 } }, "left": { "type": "CallExpression", "start": 5190, "end": 5217, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 5190, "end": 5205, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 27 } }, "object": { "type": "Identifier", "start": 5190, "end": 5196, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 18 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 5197, "end": 5205, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5206, "end": 5216, "loc": { "start": { "line": 177, "column": 28 }, "end": { "line": 177, "column": 38 }, "identifierName": "finalLevel" }, "name": "finalLevel" } ] }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5221, "end": 5235, "loc": { "start": { "line": 177, "column": 43 }, "end": { "line": 177, "column": 57 } }, "left": { "type": "Identifier", "start": 5221, "end": 5231, "loc": { "start": { "line": 177, "column": 43 }, "end": { "line": 177, "column": 53 }, "identifierName": "finalLevel" }, "name": "finalLevel" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5234, "end": 5235, "loc": { "start": { "line": 177, "column": 56 }, "end": { "line": 177, "column": 57 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "BinaryExpression", "start": 5250, "end": 5311, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 73 } }, "left": { "type": "StringLiteral", "start": 5250, "end": 5298, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 60 } }, "extra": { "rawValue": "Invalid zoom level computed for initial zoom: ", "raw": "\"Invalid zoom level computed for initial zoom: \"" }, "value": "Invalid zoom level computed for initial zoom: " }, "operator": "+", "right": { "type": "Identifier", "start": 5301, "end": 5311, "loc": { "start": { "line": 178, "column": 63 }, "end": { "line": 178, "column": 73 }, "identifierName": "finalLevel" }, "name": "finalLevel" } } ] } }, { "type": "ReturnStatement", "start": 5333, "end": 5351, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 26 } }, "argument": { "type": "Identifier", "start": 5340, "end": 5350, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 25 }, "identifierName": "finalLevel" }, "name": "finalLevel" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Finds a good initial zoom level\r\n ", "start": 4801, "end": 4853, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clears all animations\r\n ", "start": 5366, "end": 5408, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5414, "end": 5891, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 199, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5414, "end": 5429, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 186, "column": 19 }, "identifierName": "clearAnimations" }, "name": "clearAnimations", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5432, "end": 5891, "loc": { "start": { "line": 186, "column": 22 }, "end": { "line": 199, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5443, "end": 5476, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5443, "end": 5475, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5443, "end": 5471, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 36 } }, "object": { "type": "MemberExpression", "start": 5443, "end": 5469, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5443, "end": 5447, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 12 } } }, "property": { "type": "Identifier", "start": 5448, "end": 5469, "loc": { "start": { "line": 187, "column": 13 }, "end": { "line": 187, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 5470, "end": 5471, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 36 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5474, "end": 5475, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 187, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5486, "end": 5519, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5486, "end": 5518, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5486, "end": 5514, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 36 } }, "object": { "type": "MemberExpression", "start": 5486, "end": 5512, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5486, "end": 5490, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 12 } } }, "property": { "type": "Identifier", "start": 5491, "end": 5512, "loc": { "start": { "line": 188, "column": 13 }, "end": { "line": 188, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 5513, "end": 5514, "loc": { "start": { "line": 188, "column": 35 }, "end": { "line": 188, "column": 36 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5517, "end": 5518, "loc": { "start": { "line": 188, "column": 39 }, "end": { "line": 188, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5529, "end": 5555, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 5529, "end": 5554, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5529, "end": 5547, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5529, "end": 5533, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 12 } } }, "property": { "type": "Identifier", "start": 5534, "end": 5547, "loc": { "start": { "line": 189, "column": 13 }, "end": { "line": 189, "column": 26 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NullLiteral", "start": 5550, "end": 5554, "loc": { "start": { "line": 189, "column": 29 }, "end": { "line": 189, "column": 33 } } } } }, { "type": "ExpressionStatement", "start": 5565, "end": 5587, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 5565, "end": 5586, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5565, "end": 5582, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5565, "end": 5580, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5565, "end": 5569, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, "property": { "type": "Identifier", "start": 5570, "end": 5580, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 23 }, "identifierName": "desiredPan" }, "name": "desiredPan" }, "computed": false }, "property": { "type": "Identifier", "start": 5581, "end": 5582, "loc": { "start": { "line": 190, "column": 24 }, "end": { "line": 190, "column": 25 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5585, "end": 5586, "loc": { "start": { "line": 190, "column": 28 }, "end": { "line": 190, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5597, "end": 5619, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 5597, "end": 5618, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5597, "end": 5614, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5597, "end": 5612, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5597, "end": 5601, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 12 } } }, "property": { "type": "Identifier", "start": 5602, "end": 5612, "loc": { "start": { "line": 191, "column": 13 }, "end": { "line": 191, "column": 23 }, "identifierName": "desiredPan" }, "name": "desiredPan" }, "computed": false }, "property": { "type": "Identifier", "start": 5613, "end": 5614, "loc": { "start": { "line": 191, "column": 24 }, "end": { "line": 191, "column": 25 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5617, "end": 5618, "loc": { "start": { "line": 191, "column": 28 }, "end": { "line": 191, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5629, "end": 5651, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 5629, "end": 5650, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5629, "end": 5646, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5629, "end": 5644, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5629, "end": 5633, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 12 } } }, "property": { "type": "Identifier", "start": 5634, "end": 5644, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 23 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false }, "property": { "type": "Identifier", "start": 5645, "end": 5646, "loc": { "start": { "line": 192, "column": 24 }, "end": { "line": 192, "column": 25 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5649, "end": 5650, "loc": { "start": { "line": 192, "column": 28 }, "end": { "line": 192, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5661, "end": 5683, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 5661, "end": 5682, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5661, "end": 5678, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5661, "end": 5676, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5661, "end": 5665, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 12 } } }, "property": { "type": "Identifier", "start": 5666, "end": 5676, "loc": { "start": { "line": 193, "column": 13 }, "end": { "line": 193, "column": 23 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false }, "property": { "type": "Identifier", "start": 5677, "end": 5678, "loc": { "start": { "line": 193, "column": 24 }, "end": { "line": 193, "column": 25 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5681, "end": 5682, "loc": { "start": { "line": 193, "column": 28 }, "end": { "line": 193, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 5693, "end": 5724, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5693, "end": 5723, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5693, "end": 5715, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5693, "end": 5697, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 12 } } }, "property": { "type": "Identifier", "start": 5698, "end": 5715, "loc": { "start": { "line": 194, "column": 13 }, "end": { "line": 194, "column": 30 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 5718, "end": 5723, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 38 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 5734, "end": 5763, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 5734, "end": 5762, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5734, "end": 5754, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5734, "end": 5738, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 12 } } }, "property": { "type": "Identifier", "start": 5739, "end": 5754, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 28 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 5757, "end": 5762, "loc": { "start": { "line": 195, "column": 31 }, "end": { "line": 195, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 5773, "end": 5804, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5773, "end": 5803, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5773, "end": 5796, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 31 } }, "object": { "type": "ThisExpression", "start": 5773, "end": 5777, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, "property": { "type": "Identifier", "start": 5778, "end": 5796, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 31 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "right": { "type": "NullLiteral", "start": 5799, "end": 5803, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 38 } } } } }, { "type": "ExpressionStatement", "start": 5814, "end": 5850, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 5814, "end": 5849, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5814, "end": 5841, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 35 } }, "object": { "type": "ThisExpression", "start": 5814, "end": 5818, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 12 } } }, "property": { "type": "Identifier", "start": 5819, "end": 5841, "loc": { "start": { "line": 197, "column": 13 }, "end": { "line": 197, "column": 35 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 5844, "end": 5849, "loc": { "start": { "line": 197, "column": 38 }, "end": { "line": 197, "column": 43 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 5860, "end": 5884, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 5860, "end": 5883, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5860, "end": 5876, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5860, "end": 5864, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 12 } } }, "property": { "type": "Identifier", "start": 5865, "end": 5876, "loc": { "start": { "line": 198, "column": 13 }, "end": { "line": 198, "column": 24 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "NullLiteral", "start": 5879, "end": 5883, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 31 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clears all animations\r\n ", "start": 5366, "end": 5408, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the user is currently interacting with the camera\r\n * @returns {boolean} true if the user interacts\r\n ", "start": 5899, "end": 6034, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 204, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6040, "end": 6424, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 217, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6040, "end": 6062, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 26 }, "identifierName": "isCurrentlyInteracting" }, "name": "isCurrentlyInteracting", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6065, "end": 6424, "loc": { "start": { "line": 205, "column": 29 }, "end": { "line": 217, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6076, "end": 6142, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 208, "column": 9 } }, "test": { "type": "MemberExpression", "start": 6080, "end": 6102, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 34 } }, "object": { "type": "ThisExpression", "start": 6080, "end": 6084, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 16 } } }, "property": { "type": "Identifier", "start": 6085, "end": 6102, "loc": { "start": { "line": 206, "column": 17 }, "end": { "line": 206, "column": 34 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 6104, "end": 6142, "loc": { "start": { "line": 206, "column": 36 }, "end": { "line": 208, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 6119, "end": 6131, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 6126, "end": 6130, "loc": { "start": { "line": 207, "column": 19 }, "end": { "line": 207, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6152, "end": 6295, "loc": { "start": { "line": 209, "column": 8 }, "end": { "line": 212, "column": 9 } }, "test": { "type": "MemberExpression", "start": 6156, "end": 6176, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 32 } }, "object": { "type": "ThisExpression", "start": 6156, "end": 6160, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 16 } } }, "property": { "type": "Identifier", "start": 6161, "end": 6176, "loc": { "start": { "line": 209, "column": 17 }, "end": { "line": 209, "column": 32 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 6178, "end": 6295, "loc": { "start": { "line": 209, "column": 34 }, "end": { "line": 212, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 6249, "end": 6284, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 47 } }, "argument": { "type": "MemberExpression", "start": 6256, "end": 6283, "loc": { "start": { "line": 211, "column": 19 }, "end": { "line": 211, "column": 46 } }, "object": { "type": "ThisExpression", "start": 6256, "end": 6260, "loc": { "start": { "line": 211, "column": 19 }, "end": { "line": 211, "column": 23 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6261, "end": 6283, "loc": { "start": { "line": 211, "column": 24 }, "end": { "line": 211, "column": 46 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Only interacting if moved at least once", "start": 6193, "end": 6235, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 54 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6305, "end": 6394, "loc": { "start": { "line": 213, "column": 8 }, "end": { "line": 215, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 6309, "end": 6354, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 57 } }, "left": { "type": "CallExpression", "start": 6309, "end": 6350, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 6309, "end": 6348, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 51 } }, "object": { "type": "MemberExpression", "start": 6309, "end": 6335, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 38 } }, "object": { "type": "ThisExpression", "start": 6309, "end": 6313, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 16 } } }, "property": { "type": "Identifier", "start": 6314, "end": 6335, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 38 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 6336, "end": 6348, "loc": { "start": { "line": 213, "column": 39 }, "end": { "line": 213, "column": 51 }, "identifierName": "lengthSquare" }, "name": "lengthSquare" }, "computed": false }, "arguments": [] }, "operator": ">", "right": { "type": "NumericLiteral", "start": 6353, "end": 6354, "loc": { "start": { "line": 213, "column": 56 }, "end": { "line": 213, "column": 57 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 6356, "end": 6394, "loc": { "start": { "line": 213, "column": 59 }, "end": { "line": 215, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 6371, "end": 6383, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 6378, "end": 6382, "loc": { "start": { "line": 214, "column": 19 }, "end": { "line": 214, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 6404, "end": 6417, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 6411, "end": 6416, "loc": { "start": { "line": 216, "column": 15 }, "end": { "line": 216, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the user is currently interacting with the camera\r\n * @returns {boolean} true if the user interacts\r\n ", "start": 5899, "end": 6034, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 204, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if in the next frame the viewport will change\r\n * @returns {boolean} true if it willchange\r\n ", "start": 6432, "end": 6555, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 222, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6561, "end": 6697, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 225, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6561, "end": 6579, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 22 }, "identifierName": "viewportWillChange" }, "name": "viewportWillChange", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6582, "end": 6697, "loc": { "start": { "line": 223, "column": 25 }, "end": { "line": 225, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6593, "end": 6690, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 105 } }, "argument": { "type": "LogicalExpression", "start": 6600, "end": 6689, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 104 } }, "left": { "type": "LogicalExpression", "start": 6600, "end": 6656, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 6600, "end": 6627, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 42 } }, "left": { "type": "MemberExpression", "start": 6600, "end": 6618, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 33 } }, "object": { "type": "ThisExpression", "start": 6600, "end": 6604, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 19 } } }, "property": { "type": "Identifier", "start": 6605, "end": 6618, "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 33 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 6623, "end": 6627, "loc": { "start": { "line": 224, "column": 38 }, "end": { "line": 224, "column": 42 } } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 6631, "end": 6656, "loc": { "start": { "line": 224, "column": 46 }, "end": { "line": 224, "column": 71 } }, "left": { "type": "MemberExpression", "start": 6631, "end": 6647, "loc": { "start": { "line": 224, "column": 46 }, "end": { "line": 224, "column": 62 } }, "object": { "type": "ThisExpression", "start": 6631, "end": 6635, "loc": { "start": { "line": 224, "column": 46 }, "end": { "line": 224, "column": 50 } } }, "property": { "type": "Identifier", "start": 6636, "end": 6647, "loc": { "start": { "line": 224, "column": 51 }, "end": { "line": 224, "column": 62 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 6652, "end": 6656, "loc": { "start": { "line": 224, "column": 67 }, "end": { "line": 224, "column": 71 } } } } }, "operator": "||", "right": { "type": "CallExpression", "start": 6660, "end": 6689, "loc": { "start": { "line": 224, "column": 75 }, "end": { "line": 224, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 6660, "end": 6687, "loc": { "start": { "line": 224, "column": 75 }, "end": { "line": 224, "column": 102 } }, "object": { "type": "ThisExpression", "start": 6660, "end": 6664, "loc": { "start": { "line": 224, "column": 75 }, "end": { "line": 224, "column": 79 } } }, "property": { "type": "Identifier", "start": 6665, "end": 6687, "loc": { "start": { "line": 224, "column": 80 }, "end": { "line": 224, "column": 102 }, "identifierName": "isCurrentlyInteracting" }, "name": "isCurrentlyInteracting" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if in the next frame the viewport will change\r\n * @returns {boolean} true if it willchange\r\n ", "start": 6432, "end": 6555, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 222, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Cancels all interactions, that is user interaction and non user interaction\r\n ", "start": 6705, "end": 6801, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 229, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6807, "end": 7045, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 236, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6807, "end": 6828, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 25 }, "identifierName": "cancelAllInteractions" }, "name": "cancelAllInteractions", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6831, "end": 7045, "loc": { "start": { "line": 230, "column": 28 }, "end": { "line": 236, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6842, "end": 6888, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 6842, "end": 6887, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6842, "end": 6868, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 34 } }, "object": { "type": "ThisExpression", "start": 6842, "end": 6846, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 12 } } }, "property": { "type": "Identifier", "start": 6847, "end": 6868, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "NewExpression", "start": 6871, "end": 6887, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 53 } }, "callee": { "type": "Identifier", "start": 6875, "end": 6881, "loc": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 47 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 6882, "end": 6883, "loc": { "start": { "line": 231, "column": 48 }, "end": { "line": 231, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 6885, "end": 6886, "loc": { "start": { "line": 231, "column": 51 }, "end": { "line": 231, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } }, { "type": "ExpressionStatement", "start": 6898, "end": 6924, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 6898, "end": 6923, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6898, "end": 6916, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 26 } }, "object": { "type": "ThisExpression", "start": 6898, "end": 6902, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 12 } } }, "property": { "type": "Identifier", "start": 6903, "end": 6916, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 26 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NullLiteral", "start": 6919, "end": 6923, "loc": { "start": { "line": 232, "column": 29 }, "end": { "line": 232, "column": 33 } } } } }, { "type": "ExpressionStatement", "start": 6934, "end": 6963, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 6934, "end": 6962, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6934, "end": 6954, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 28 } }, "object": { "type": "ThisExpression", "start": 6934, "end": 6938, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 12 } } }, "property": { "type": "Identifier", "start": 6939, "end": 6954, "loc": { "start": { "line": 233, "column": 13 }, "end": { "line": 233, "column": 28 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 6957, "end": 6962, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 233, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 6973, "end": 7004, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 6973, "end": 7003, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6973, "end": 6995, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6973, "end": 6977, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 12 } } }, "property": { "type": "Identifier", "start": 6978, "end": 6995, "loc": { "start": { "line": 234, "column": 13 }, "end": { "line": 234, "column": 30 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 6998, "end": 7003, "loc": { "start": { "line": 234, "column": 33 }, "end": { "line": 234, "column": 38 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 7014, "end": 7038, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 7014, "end": 7037, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7014, "end": 7030, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7014, "end": 7018, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, "property": { "type": "Identifier", "start": 7019, "end": 7030, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 24 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "NullLiteral", "start": 7033, "end": 7037, "loc": { "start": { "line": 235, "column": 27 }, "end": { "line": 235, "column": 31 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Cancels all interactions, that is user interaction and non user interaction\r\n ", "start": 6705, "end": 6801, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 229, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport width\r\n ", "start": 7053, "end": 7106, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7112, "end": 7193, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 243, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7112, "end": 7128, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 20 }, "identifierName": "getViewportWidth" }, "name": "getViewportWidth", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7131, "end": 7193, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 243, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7142, "end": 7186, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 52 } }, "argument": { "type": "BinaryExpression", "start": 7149, "end": 7185, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 51 } }, "left": { "type": "MemberExpression", "start": 7149, "end": 7168, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7149, "end": 7158, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7149, "end": 7153, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 19 } } }, "property": { "type": "Identifier", "start": 7154, "end": 7158, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 24 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 7159, "end": 7168, "loc": { "start": { "line": 242, "column": 25 }, "end": { "line": 242, "column": 34 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "MemberExpression", "start": 7171, "end": 7185, "loc": { "start": { "line": 242, "column": 37 }, "end": { "line": 242, "column": 51 } }, "object": { "type": "ThisExpression", "start": 7171, "end": 7175, "loc": { "start": { "line": 242, "column": 37 }, "end": { "line": 242, "column": 41 } } }, "property": { "type": "Identifier", "start": 7176, "end": 7185, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 51 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport width\r\n ", "start": 7053, "end": 7106, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport height\r\n ", "start": 7201, "end": 7255, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 247, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7261, "end": 7344, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 250, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7261, "end": 7278, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 21 }, "identifierName": "getViewportHeight" }, "name": "getViewportHeight", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7281, "end": 7344, "loc": { "start": { "line": 248, "column": 24 }, "end": { "line": 250, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7292, "end": 7337, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 53 } }, "argument": { "type": "BinaryExpression", "start": 7299, "end": 7336, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 52 } }, "left": { "type": "MemberExpression", "start": 7299, "end": 7319, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 35 } }, "object": { "type": "MemberExpression", "start": 7299, "end": 7308, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 24 } }, "object": { "type": "ThisExpression", "start": 7299, "end": 7303, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 19 } } }, "property": { "type": "Identifier", "start": 7304, "end": 7308, "loc": { "start": { "line": 249, "column": 20 }, "end": { "line": 249, "column": 24 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 7309, "end": 7319, "loc": { "start": { "line": 249, "column": 25 }, "end": { "line": 249, "column": 35 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "MemberExpression", "start": 7322, "end": 7336, "loc": { "start": { "line": 249, "column": 38 }, "end": { "line": 249, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7322, "end": 7326, "loc": { "start": { "line": 249, "column": 38 }, "end": { "line": 249, "column": 42 } } }, "property": { "type": "Identifier", "start": 7327, "end": 7336, "loc": { "start": { "line": 249, "column": 43 }, "end": { "line": 249, "column": 52 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport height\r\n ", "start": 7201, "end": 7255, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 247, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport left\r\n ", "start": 7352, "end": 7416, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 254, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7422, "end": 7555, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 257, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7422, "end": 7437, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 19 }, "identifierName": "getViewportLeft" }, "name": "getViewportLeft", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7440, "end": 7555, "loc": { "start": { "line": 255, "column": 22 }, "end": { "line": 257, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7451, "end": 7548, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "column": 105 } }, "argument": { "type": "BinaryExpression", "start": 7458, "end": 7547, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 7458, "end": 7501, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7458, "end": 7471, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 28 } }, "object": { "type": "MemberExpression", "start": 7458, "end": 7469, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7458, "end": 7462, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 19 } } }, "property": { "type": "Identifier", "start": 7463, "end": 7469, "loc": { "start": { "line": 256, "column": 20 }, "end": { "line": 256, "column": 26 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 7470, "end": 7471, "loc": { "start": { "line": 256, "column": 27 }, "end": { "line": 256, "column": 28 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "-", "right": { "type": "BinaryExpression", "start": 7474, "end": 7501, "loc": { "start": { "line": 256, "column": 31 }, "end": { "line": 256, "column": 58 } }, "left": { "type": "CallExpression", "start": 7474, "end": 7497, "loc": { "start": { "line": 256, "column": 31 }, "end": { "line": 256, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 7474, "end": 7495, "loc": { "start": { "line": 256, "column": 31 }, "end": { "line": 256, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7474, "end": 7478, "loc": { "start": { "line": 256, "column": 31 }, "end": { "line": 256, "column": 35 } } }, "property": { "type": "Identifier", "start": 7479, "end": 7495, "loc": { "start": { "line": 256, "column": 36 }, "end": { "line": 256, "column": 52 }, "identifierName": "getViewportWidth" }, "name": "getViewportWidth" }, "computed": false }, "arguments": [] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 7500, "end": 7501, "loc": { "start": { "line": 256, "column": 57 }, "end": { "line": 256, "column": 58 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 7504, "end": 7547, "loc": { "start": { "line": 256, "column": 61 }, "end": { "line": 256, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 7505, "end": 7529, "loc": { "start": { "line": 256, "column": 62 }, "end": { "line": 256, "column": 86 } }, "left": { "type": "MemberExpression", "start": 7505, "end": 7524, "loc": { "start": { "line": 256, "column": 62 }, "end": { "line": 256, "column": 81 } }, "object": { "type": "MemberExpression", "start": 7505, "end": 7522, "loc": { "start": { "line": 256, "column": 62 }, "end": { "line": 256, "column": 79 } }, "object": { "type": "ThisExpression", "start": 7505, "end": 7509, "loc": { "start": { "line": 256, "column": 62 }, "end": { "line": 256, "column": 66 } } }, "property": { "type": "Identifier", "start": 7510, "end": 7522, "loc": { "start": { "line": 256, "column": 67 }, "end": { "line": 256, "column": 79 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 7523, "end": 7524, "loc": { "start": { "line": 256, "column": 80 }, "end": { "line": 256, "column": 81 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 7527, "end": 7529, "loc": { "start": { "line": 256, "column": 84 }, "end": { "line": 256, "column": 86 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, "extra": { "parenthesized": true, "parenStart": 7504 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 7533, "end": 7547, "loc": { "start": { "line": 256, "column": 90 }, "end": { "line": 256, "column": 104 } }, "object": { "type": "ThisExpression", "start": 7533, "end": 7537, "loc": { "start": { "line": 256, "column": 90 }, "end": { "line": 256, "column": 94 } } }, "property": { "type": "Identifier", "start": 7538, "end": 7547, "loc": { "start": { "line": 256, "column": 95 }, "end": { "line": 256, "column": 104 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport left\r\n ", "start": 7352, "end": 7416, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 254, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport right\r\n ", "start": 7563, "end": 7628, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 261, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7634, "end": 7768, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 264, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7634, "end": 7650, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 20 }, "identifierName": "getViewportRight" }, "name": "getViewportRight", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7653, "end": 7768, "loc": { "start": { "line": 262, "column": 23 }, "end": { "line": 264, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7664, "end": 7761, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "column": 105 } }, "argument": { "type": "BinaryExpression", "start": 7671, "end": 7760, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 7671, "end": 7714, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 58 } }, "left": { "type": "MemberExpression", "start": 7671, "end": 7684, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 28 } }, "object": { "type": "MemberExpression", "start": 7671, "end": 7682, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7671, "end": 7675, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 19 } } }, "property": { "type": "Identifier", "start": 7676, "end": 7682, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 26 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 7683, "end": 7684, "loc": { "start": { "line": 263, "column": 27 }, "end": { "line": 263, "column": 28 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 7687, "end": 7714, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 58 } }, "left": { "type": "CallExpression", "start": 7687, "end": 7710, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 7687, "end": 7708, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7687, "end": 7691, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 35 } } }, "property": { "type": "Identifier", "start": 7692, "end": 7708, "loc": { "start": { "line": 263, "column": 36 }, "end": { "line": 263, "column": 52 }, "identifierName": "getViewportWidth" }, "name": "getViewportWidth" }, "computed": false }, "arguments": [] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 7713, "end": 7714, "loc": { "start": { "line": 263, "column": 57 }, "end": { "line": 263, "column": 58 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 7717, "end": 7760, "loc": { "start": { "line": 263, "column": 61 }, "end": { "line": 263, "column": 104 } }, "left": { "type": "BinaryExpression", "start": 7718, "end": 7742, "loc": { "start": { "line": 263, "column": 62 }, "end": { "line": 263, "column": 86 } }, "left": { "type": "MemberExpression", "start": 7718, "end": 7737, "loc": { "start": { "line": 263, "column": 62 }, "end": { "line": 263, "column": 81 } }, "object": { "type": "MemberExpression", "start": 7718, "end": 7735, "loc": { "start": { "line": 263, "column": 62 }, "end": { "line": 263, "column": 79 } }, "object": { "type": "ThisExpression", "start": 7718, "end": 7722, "loc": { "start": { "line": 263, "column": 62 }, "end": { "line": 263, "column": 66 } } }, "property": { "type": "Identifier", "start": 7723, "end": 7735, "loc": { "start": { "line": 263, "column": 67 }, "end": { "line": 263, "column": 79 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 7736, "end": 7737, "loc": { "start": { "line": 263, "column": 80 }, "end": { "line": 263, "column": 81 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 7740, "end": 7742, "loc": { "start": { "line": 263, "column": 84 }, "end": { "line": 263, "column": 86 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, "extra": { "parenthesized": true, "parenStart": 7717 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 7746, "end": 7760, "loc": { "start": { "line": 263, "column": 90 }, "end": { "line": 263, "column": 104 } }, "object": { "type": "ThisExpression", "start": 7746, "end": 7750, "loc": { "start": { "line": 263, "column": 90 }, "end": { "line": 263, "column": 94 } } }, "property": { "type": "Identifier", "start": 7751, "end": 7760, "loc": { "start": { "line": 263, "column": 95 }, "end": { "line": 263, "column": 104 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport right\r\n ", "start": 7563, "end": 7628, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 261, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport top\r\n ", "start": 7776, "end": 7839, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7845, "end": 7978, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 271, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7845, "end": 7859, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 18 }, "identifierName": "getViewportTop" }, "name": "getViewportTop", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7862, "end": 7978, "loc": { "start": { "line": 269, "column": 21 }, "end": { "line": 271, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 7873, "end": 7971, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 106 } }, "argument": { "type": "BinaryExpression", "start": 7880, "end": 7970, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 105 } }, "left": { "type": "BinaryExpression", "start": 7880, "end": 7924, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 59 } }, "left": { "type": "MemberExpression", "start": 7880, "end": 7893, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 28 } }, "object": { "type": "MemberExpression", "start": 7880, "end": 7891, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7880, "end": 7884, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 19 } } }, "property": { "type": "Identifier", "start": 7885, "end": 7891, "loc": { "start": { "line": 270, "column": 20 }, "end": { "line": 270, "column": 26 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 7892, "end": 7893, "loc": { "start": { "line": 270, "column": 27 }, "end": { "line": 270, "column": 28 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "-", "right": { "type": "BinaryExpression", "start": 7896, "end": 7924, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 59 } }, "left": { "type": "CallExpression", "start": 7896, "end": 7920, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 7896, "end": 7918, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7896, "end": 7900, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 35 } } }, "property": { "type": "Identifier", "start": 7901, "end": 7918, "loc": { "start": { "line": 270, "column": 36 }, "end": { "line": 270, "column": 53 }, "identifierName": "getViewportHeight" }, "name": "getViewportHeight" }, "computed": false }, "arguments": [] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 7923, "end": 7924, "loc": { "start": { "line": 270, "column": 58 }, "end": { "line": 270, "column": 59 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 7927, "end": 7970, "loc": { "start": { "line": 270, "column": 62 }, "end": { "line": 270, "column": 105 } }, "left": { "type": "BinaryExpression", "start": 7928, "end": 7952, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 87 } }, "left": { "type": "MemberExpression", "start": 7928, "end": 7947, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 82 } }, "object": { "type": "MemberExpression", "start": 7928, "end": 7945, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 80 } }, "object": { "type": "ThisExpression", "start": 7928, "end": 7932, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 67 } } }, "property": { "type": "Identifier", "start": 7933, "end": 7945, "loc": { "start": { "line": 270, "column": 68 }, "end": { "line": 270, "column": 80 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 7946, "end": 7947, "loc": { "start": { "line": 270, "column": 81 }, "end": { "line": 270, "column": 82 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 7950, "end": 7952, "loc": { "start": { "line": 270, "column": 85 }, "end": { "line": 270, "column": 87 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, "extra": { "parenthesized": true, "parenStart": 7927 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 7956, "end": 7970, "loc": { "start": { "line": 270, "column": 91 }, "end": { "line": 270, "column": 105 } }, "object": { "type": "ThisExpression", "start": 7956, "end": 7960, "loc": { "start": { "line": 270, "column": 91 }, "end": { "line": 270, "column": 95 } } }, "property": { "type": "Identifier", "start": 7961, "end": 7970, "loc": { "start": { "line": 270, "column": 96 }, "end": { "line": 270, "column": 105 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport top\r\n ", "start": 7776, "end": 7839, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport bottom\r\n ", "start": 7986, "end": 8052, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 275, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8058, "end": 8194, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 278, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8058, "end": 8075, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 21 }, "identifierName": "getViewportBottom" }, "name": "getViewportBottom", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8078, "end": 8194, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 278, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8089, "end": 8187, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 106 } }, "argument": { "type": "BinaryExpression", "start": 8096, "end": 8186, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 105 } }, "left": { "type": "BinaryExpression", "start": 8096, "end": 8140, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 59 } }, "left": { "type": "MemberExpression", "start": 8096, "end": 8109, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 28 } }, "object": { "type": "MemberExpression", "start": 8096, "end": 8107, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8096, "end": 8100, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 19 } } }, "property": { "type": "Identifier", "start": 8101, "end": 8107, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 26 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 8108, "end": 8109, "loc": { "start": { "line": 277, "column": 27 }, "end": { "line": 277, "column": 28 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "+", "right": { "type": "BinaryExpression", "start": 8112, "end": 8140, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 59 } }, "left": { "type": "CallExpression", "start": 8112, "end": 8136, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 8112, "end": 8134, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 53 } }, "object": { "type": "ThisExpression", "start": 8112, "end": 8116, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 35 } } }, "property": { "type": "Identifier", "start": 8117, "end": 8134, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 53 }, "identifierName": "getViewportHeight" }, "name": "getViewportHeight" }, "computed": false }, "arguments": [] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 8139, "end": 8140, "loc": { "start": { "line": 277, "column": 58 }, "end": { "line": 277, "column": 59 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 8143, "end": 8186, "loc": { "start": { "line": 277, "column": 62 }, "end": { "line": 277, "column": 105 } }, "left": { "type": "BinaryExpression", "start": 8144, "end": 8168, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 87 } }, "left": { "type": "MemberExpression", "start": 8144, "end": 8163, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 82 } }, "object": { "type": "MemberExpression", "start": 8144, "end": 8161, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 80 } }, "object": { "type": "ThisExpression", "start": 8144, "end": 8148, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 67 } } }, "property": { "type": "Identifier", "start": 8149, "end": 8161, "loc": { "start": { "line": 277, "column": 68 }, "end": { "line": 277, "column": 80 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 8162, "end": 8163, "loc": { "start": { "line": 277, "column": 81 }, "end": { "line": 277, "column": 82 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 8166, "end": 8168, "loc": { "start": { "line": 277, "column": 85 }, "end": { "line": 277, "column": 87 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 }, "extra": { "parenthesized": true, "parenStart": 8143 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 8172, "end": 8186, "loc": { "start": { "line": 277, "column": 91 }, "end": { "line": 277, "column": 105 } }, "object": { "type": "ThisExpression", "start": 8172, "end": 8176, "loc": { "start": { "line": 277, "column": 91 }, "end": { "line": 277, "column": 95 } } }, "property": { "type": "Identifier", "start": 8177, "end": 8186, "loc": { "start": { "line": 277, "column": 96 }, "end": { "line": 277, "column": 105 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport bottom\r\n ", "start": 7986, "end": 8052, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 275, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the visible world space rect\r\n * @returns {Rectangle}\r\n ", "start": 8202, "end": 8288, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 283, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8294, "end": 8562, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 291, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8294, "end": 8308, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 18 }, "identifierName": "getVisibleRect" }, "name": "getVisibleRect", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8311, "end": 8562, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 291, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8322, "end": 8555, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 290, "column": 10 } }, "argument": { "type": "CallExpression", "start": 8329, "end": 8554, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 290, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 8329, "end": 8347, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 33 } }, "object": { "type": "Identifier", "start": 8329, "end": 8338, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 24 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "property": { "type": "Identifier", "start": 8339, "end": 8347, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 33 }, "identifierName": "fromTRBL" }, "name": "fromTRBL" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8362, "end": 8395, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 8362, "end": 8372, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 22 } }, "object": { "type": "Identifier", "start": 8362, "end": 8366, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 16 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 8367, "end": 8372, "loc": { "start": { "line": 286, "column": 17 }, "end": { "line": 286, "column": 22 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8373, "end": 8394, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 8373, "end": 8392, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8373, "end": 8377, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 27 } } }, "property": { "type": "Identifier", "start": 8378, "end": 8392, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 42 }, "identifierName": "getViewportTop" }, "name": "getViewportTop" }, "computed": false }, "arguments": [] } ] }, { "type": "CallExpression", "start": 8410, "end": 8444, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 8410, "end": 8419, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 21 } }, "object": { "type": "Identifier", "start": 8410, "end": 8414, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 16 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 8415, "end": 8419, "loc": { "start": { "line": 287, "column": 17 }, "end": { "line": 287, "column": 21 }, "identifierName": "ceil" }, "name": "ceil" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8420, "end": 8443, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 8420, "end": 8441, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 43 } }, "object": { "type": "ThisExpression", "start": 8420, "end": 8424, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 26 } } }, "property": { "type": "Identifier", "start": 8425, "end": 8441, "loc": { "start": { "line": 287, "column": 27 }, "end": { "line": 287, "column": 43 }, "identifierName": "getViewportRight" }, "name": "getViewportRight" }, "computed": false }, "arguments": [] } ] }, { "type": "CallExpression", "start": 8459, "end": 8494, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 8459, "end": 8468, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 21 } }, "object": { "type": "Identifier", "start": 8459, "end": 8463, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 16 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 8464, "end": 8468, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 21 }, "identifierName": "ceil" }, "name": "ceil" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8469, "end": 8493, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 8469, "end": 8491, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 44 } }, "object": { "type": "ThisExpression", "start": 8469, "end": 8473, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 26 } } }, "property": { "type": "Identifier", "start": 8474, "end": 8491, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 44 }, "identifierName": "getViewportBottom" }, "name": "getViewportBottom" }, "computed": false }, "arguments": [] } ] }, { "type": "CallExpression", "start": 8509, "end": 8543, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 8509, "end": 8519, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 22 } }, "object": { "type": "Identifier", "start": 8509, "end": 8513, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 16 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 8514, "end": 8519, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 22 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8520, "end": 8542, "loc": { "start": { "line": 289, "column": 23 }, "end": { "line": 289, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 8520, "end": 8540, "loc": { "start": { "line": 289, "column": 23 }, "end": { "line": 289, "column": 43 } }, "object": { "type": "ThisExpression", "start": 8520, "end": 8524, "loc": { "start": { "line": 289, "column": 23 }, "end": { "line": 289, "column": 27 } } }, "property": { "type": "Identifier", "start": 8525, "end": 8540, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 43 }, "identifierName": "getViewportLeft" }, "name": "getViewportLeft" }, "computed": false }, "arguments": [] } ] } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the visible world space rect\r\n * @returns {Rectangle}\r\n ", "start": 8202, "end": 8288, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 283, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8570, "end": 8673, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 295, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8570, "end": 8591, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 25 }, "identifierName": "getIsMapOverlayActive" }, "name": "getIsMapOverlayActive" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8594, "end": 8673, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8605, "end": 8666, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 69 } }, "argument": { "type": "BinaryExpression", "start": 8612, "end": 8665, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 68 } }, "left": { "type": "MemberExpression", "start": 8612, "end": 8626, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8612, "end": 8616, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 19 } } }, "property": { "type": "Identifier", "start": 8617, "end": 8626, "loc": { "start": { "line": 294, "column": 20 }, "end": { "line": 294, "column": 29 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "<", "right": { "type": "MemberExpression", "start": 8629, "end": 8665, "loc": { "start": { "line": 294, "column": 32 }, "end": { "line": 294, "column": 68 } }, "object": { "type": "Identifier", "start": 8629, "end": 8641, "loc": { "start": { "line": 294, "column": 32 }, "end": { "line": 294, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 8642, "end": 8665, "loc": { "start": { "line": 294, "column": 45 }, "end": { "line": 294, "column": 68 }, "identifierName": "mapChunkOverviewMinZoom" }, "name": "mapChunkOverviewMinZoom" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attaches all event listeners\r\n ", "start": 8681, "end": 8730, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 299, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8736, "end": 10058, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 321, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8736, "end": 8754, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 22 }, "identifierName": "internalInitEvents" }, "name": "internalInitEvents", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8757, "end": 10058, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 321, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8768, "end": 8828, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 8768, "end": 8827, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8768, "end": 8796, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 36 } }, "object": { "type": "ThisExpression", "start": 8768, "end": 8772, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 12 } } }, "property": { "type": "Identifier", "start": 8773, "end": 8796, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 36 }, "identifierName": "eventListenerTouchStart" }, "name": "eventListenerTouchStart" }, "computed": false }, "right": { "type": "CallExpression", "start": 8799, "end": 8827, "loc": { "start": { "line": 301, "column": 39 }, "end": { "line": 301, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 8799, "end": 8821, "loc": { "start": { "line": 301, "column": 39 }, "end": { "line": 301, "column": 61 } }, "object": { "type": "MemberExpression", "start": 8799, "end": 8816, "loc": { "start": { "line": 301, "column": 39 }, "end": { "line": 301, "column": 56 } }, "object": { "type": "ThisExpression", "start": 8799, "end": 8803, "loc": { "start": { "line": 301, "column": 39 }, "end": { "line": 301, "column": 43 } } }, "property": { "type": "Identifier", "start": 8804, "end": 8816, "loc": { "start": { "line": 301, "column": 44 }, "end": { "line": 301, "column": 56 }, "identifierName": "onTouchStart" }, "name": "onTouchStart" }, "computed": false }, "property": { "type": "Identifier", "start": 8817, "end": 8821, "loc": { "start": { "line": 301, "column": 57 }, "end": { "line": 301, "column": 61 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 8822, "end": 8826, "loc": { "start": { "line": 301, "column": 62 }, "end": { "line": 301, "column": 66 } } } ] } } }, { "type": "ExpressionStatement", "start": 8838, "end": 8894, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 8838, "end": 8893, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8838, "end": 8864, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8838, "end": 8842, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 12 } } }, "property": { "type": "Identifier", "start": 8843, "end": 8864, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 34 }, "identifierName": "eventListenerTouchEnd" }, "name": "eventListenerTouchEnd" }, "computed": false }, "right": { "type": "CallExpression", "start": 8867, "end": 8893, "loc": { "start": { "line": 302, "column": 37 }, "end": { "line": 302, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 8867, "end": 8887, "loc": { "start": { "line": 302, "column": 37 }, "end": { "line": 302, "column": 57 } }, "object": { "type": "MemberExpression", "start": 8867, "end": 8882, "loc": { "start": { "line": 302, "column": 37 }, "end": { "line": 302, "column": 52 } }, "object": { "type": "ThisExpression", "start": 8867, "end": 8871, "loc": { "start": { "line": 302, "column": 37 }, "end": { "line": 302, "column": 41 } } }, "property": { "type": "Identifier", "start": 8872, "end": 8882, "loc": { "start": { "line": 302, "column": 42 }, "end": { "line": 302, "column": 52 }, "identifierName": "onTouchEnd" }, "name": "onTouchEnd" }, "computed": false }, "property": { "type": "Identifier", "start": 8883, "end": 8887, "loc": { "start": { "line": 302, "column": 53 }, "end": { "line": 302, "column": 57 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 8888, "end": 8892, "loc": { "start": { "line": 302, "column": 58 }, "end": { "line": 302, "column": 62 } } } ] } } }, { "type": "ExpressionStatement", "start": 8904, "end": 8962, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 8904, "end": 8961, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8904, "end": 8931, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 35 } }, "object": { "type": "ThisExpression", "start": 8904, "end": 8908, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 12 } } }, "property": { "type": "Identifier", "start": 8909, "end": 8931, "loc": { "start": { "line": 303, "column": 13 }, "end": { "line": 303, "column": 35 }, "identifierName": "eventListenerTouchMove" }, "name": "eventListenerTouchMove" }, "computed": false }, "right": { "type": "CallExpression", "start": 8934, "end": 8961, "loc": { "start": { "line": 303, "column": 38 }, "end": { "line": 303, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 8934, "end": 8955, "loc": { "start": { "line": 303, "column": 38 }, "end": { "line": 303, "column": 59 } }, "object": { "type": "MemberExpression", "start": 8934, "end": 8950, "loc": { "start": { "line": 303, "column": 38 }, "end": { "line": 303, "column": 54 } }, "object": { "type": "ThisExpression", "start": 8934, "end": 8938, "loc": { "start": { "line": 303, "column": 38 }, "end": { "line": 303, "column": 42 } } }, "property": { "type": "Identifier", "start": 8939, "end": 8950, "loc": { "start": { "line": 303, "column": 43 }, "end": { "line": 303, "column": 54 }, "identifierName": "onTouchMove" }, "name": "onTouchMove" }, "computed": false }, "property": { "type": "Identifier", "start": 8951, "end": 8955, "loc": { "start": { "line": 303, "column": 55 }, "end": { "line": 303, "column": 59 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 8956, "end": 8960, "loc": { "start": { "line": 303, "column": 60 }, "end": { "line": 303, "column": 64 } } } ] } } }, { "type": "ExpressionStatement", "start": 8972, "end": 9032, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 8972, "end": 9031, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8972, "end": 9000, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 36 } }, "object": { "type": "ThisExpression", "start": 8972, "end": 8976, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 12 } } }, "property": { "type": "Identifier", "start": 8977, "end": 9000, "loc": { "start": { "line": 304, "column": 13 }, "end": { "line": 304, "column": 36 }, "identifierName": "eventListenerMousewheel" }, "name": "eventListenerMousewheel" }, "computed": false }, "right": { "type": "CallExpression", "start": 9003, "end": 9031, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 9003, "end": 9025, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 61 } }, "object": { "type": "MemberExpression", "start": 9003, "end": 9020, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 56 } }, "object": { "type": "ThisExpression", "start": 9003, "end": 9007, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 43 } } }, "property": { "type": "Identifier", "start": 9008, "end": 9020, "loc": { "start": { "line": 304, "column": 44 }, "end": { "line": 304, "column": 56 }, "identifierName": "onMouseWheel" }, "name": "onMouseWheel" }, "computed": false }, "property": { "type": "Identifier", "start": 9021, "end": 9025, "loc": { "start": { "line": 304, "column": 57 }, "end": { "line": 304, "column": 61 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 9026, "end": 9030, "loc": { "start": { "line": 304, "column": 62 }, "end": { "line": 304, "column": 66 } } } ] } } }, { "type": "ExpressionStatement", "start": 9042, "end": 9100, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 9042, "end": 9099, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9042, "end": 9069, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9042, "end": 9046, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 12 } } }, "property": { "type": "Identifier", "start": 9047, "end": 9069, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 35 }, "identifierName": "eventListenerMouseDown" }, "name": "eventListenerMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 9072, "end": 9099, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 9072, "end": 9093, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 59 } }, "object": { "type": "MemberExpression", "start": 9072, "end": 9088, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9072, "end": 9076, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 42 } } }, "property": { "type": "Identifier", "start": 9077, "end": 9088, "loc": { "start": { "line": 305, "column": 43 }, "end": { "line": 305, "column": 54 }, "identifierName": "onMouseDown" }, "name": "onMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 9089, "end": 9093, "loc": { "start": { "line": 305, "column": 55 }, "end": { "line": 305, "column": 59 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 9094, "end": 9098, "loc": { "start": { "line": 305, "column": 60 }, "end": { "line": 305, "column": 64 } } } ] } } }, { "type": "ExpressionStatement", "start": 9110, "end": 9168, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 9110, "end": 9167, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9110, "end": 9137, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9110, "end": 9114, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 12 } } }, "property": { "type": "Identifier", "start": 9115, "end": 9137, "loc": { "start": { "line": 306, "column": 13 }, "end": { "line": 306, "column": 35 }, "identifierName": "eventListenerMouseMove" }, "name": "eventListenerMouseMove" }, "computed": false }, "right": { "type": "CallExpression", "start": 9140, "end": 9167, "loc": { "start": { "line": 306, "column": 38 }, "end": { "line": 306, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 9140, "end": 9161, "loc": { "start": { "line": 306, "column": 38 }, "end": { "line": 306, "column": 59 } }, "object": { "type": "MemberExpression", "start": 9140, "end": 9156, "loc": { "start": { "line": 306, "column": 38 }, "end": { "line": 306, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9140, "end": 9144, "loc": { "start": { "line": 306, "column": 38 }, "end": { "line": 306, "column": 42 } } }, "property": { "type": "Identifier", "start": 9145, "end": 9156, "loc": { "start": { "line": 306, "column": 43 }, "end": { "line": 306, "column": 54 }, "identifierName": "onMouseMove" }, "name": "onMouseMove" }, "computed": false }, "property": { "type": "Identifier", "start": 9157, "end": 9161, "loc": { "start": { "line": 306, "column": 55 }, "end": { "line": 306, "column": 59 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 9162, "end": 9166, "loc": { "start": { "line": 306, "column": 60 }, "end": { "line": 306, "column": 64 } } } ] } } }, { "type": "ExpressionStatement", "start": 9178, "end": 9232, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 9178, "end": 9231, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9178, "end": 9203, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 33 } }, "object": { "type": "ThisExpression", "start": 9178, "end": 9182, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 12 } } }, "property": { "type": "Identifier", "start": 9183, "end": 9203, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 307, "column": 33 }, "identifierName": "eventListenerMouseUp" }, "name": "eventListenerMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 9206, "end": 9231, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 9206, "end": 9225, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 55 } }, "object": { "type": "MemberExpression", "start": 9206, "end": 9220, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 50 } }, "object": { "type": "ThisExpression", "start": 9206, "end": 9210, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 40 } } }, "property": { "type": "Identifier", "start": 9211, "end": 9220, "loc": { "start": { "line": 307, "column": 41 }, "end": { "line": 307, "column": 50 }, "identifierName": "onMouseUp" }, "name": "onMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 9221, "end": 9225, "loc": { "start": { "line": 307, "column": 51 }, "end": { "line": 307, "column": 55 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 9226, "end": 9230, "loc": { "start": { "line": 307, "column": 56 }, "end": { "line": 307, "column": 60 } } } ] } } }, { "type": "IfStatement", "start": 9244, "end": 9636, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 314, "column": 9 } }, "test": { "type": "Identifier", "start": 9248, "end": 9261, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 25 }, "identifierName": "SUPPORT_TOUCH" }, "name": "SUPPORT_TOUCH" }, "consequent": { "type": "BlockStatement", "start": 9263, "end": 9636, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 314, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9278, "end": 9356, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 90 } }, "expression": { "type": "CallExpression", "start": 9278, "end": 9355, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 9278, "end": 9311, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9278, "end": 9294, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 28 } }, "object": { "type": "MemberExpression", "start": 9278, "end": 9287, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 21 } }, "object": { "type": "ThisExpression", "start": 9278, "end": 9282, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 16 } } }, "property": { "type": "Identifier", "start": 9283, "end": 9287, "loc": { "start": { "line": 310, "column": 17 }, "end": { "line": 310, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9288, "end": 9294, "loc": { "start": { "line": 310, "column": 22 }, "end": { "line": 310, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9295, "end": 9311, "loc": { "start": { "line": 310, "column": 29 }, "end": { "line": 310, "column": 45 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9312, "end": 9324, "loc": { "start": { "line": 310, "column": 46 }, "end": { "line": 310, "column": 58 } }, "extra": { "rawValue": "touchstart", "raw": "\"touchstart\"" }, "value": "touchstart" }, { "type": "MemberExpression", "start": 9326, "end": 9354, "loc": { "start": { "line": 310, "column": 60 }, "end": { "line": 310, "column": 88 } }, "object": { "type": "ThisExpression", "start": 9326, "end": 9330, "loc": { "start": { "line": 310, "column": 60 }, "end": { "line": 310, "column": 64 } } }, "property": { "type": "Identifier", "start": 9331, "end": 9354, "loc": { "start": { "line": 310, "column": 65 }, "end": { "line": 310, "column": 88 }, "identifierName": "eventListenerTouchStart" }, "name": "eventListenerTouchStart" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9370, "end": 9444, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 86 } }, "expression": { "type": "CallExpression", "start": 9370, "end": 9443, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 9370, "end": 9403, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9370, "end": 9386, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 28 } }, "object": { "type": "MemberExpression", "start": 9370, "end": 9379, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 21 } }, "object": { "type": "ThisExpression", "start": 9370, "end": 9374, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 16 } } }, "property": { "type": "Identifier", "start": 9375, "end": 9379, "loc": { "start": { "line": 311, "column": 17 }, "end": { "line": 311, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9380, "end": 9386, "loc": { "start": { "line": 311, "column": 22 }, "end": { "line": 311, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9387, "end": 9403, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 45 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9404, "end": 9414, "loc": { "start": { "line": 311, "column": 46 }, "end": { "line": 311, "column": 56 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 9416, "end": 9442, "loc": { "start": { "line": 311, "column": 58 }, "end": { "line": 311, "column": 84 } }, "object": { "type": "ThisExpression", "start": 9416, "end": 9420, "loc": { "start": { "line": 311, "column": 58 }, "end": { "line": 311, "column": 62 } } }, "property": { "type": "Identifier", "start": 9421, "end": 9442, "loc": { "start": { "line": 311, "column": 63 }, "end": { "line": 311, "column": 84 }, "identifierName": "eventListenerTouchEnd" }, "name": "eventListenerTouchEnd" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9458, "end": 9535, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 89 } }, "expression": { "type": "CallExpression", "start": 9458, "end": 9534, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 9458, "end": 9491, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9458, "end": 9474, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 28 } }, "object": { "type": "MemberExpression", "start": 9458, "end": 9467, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 21 } }, "object": { "type": "ThisExpression", "start": 9458, "end": 9462, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 16 } } }, "property": { "type": "Identifier", "start": 9463, "end": 9467, "loc": { "start": { "line": 312, "column": 17 }, "end": { "line": 312, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9468, "end": 9474, "loc": { "start": { "line": 312, "column": 22 }, "end": { "line": 312, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9475, "end": 9491, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 45 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9492, "end": 9505, "loc": { "start": { "line": 312, "column": 46 }, "end": { "line": 312, "column": 59 } }, "extra": { "rawValue": "touchcancel", "raw": "\"touchcancel\"" }, "value": "touchcancel" }, { "type": "MemberExpression", "start": 9507, "end": 9533, "loc": { "start": { "line": 312, "column": 61 }, "end": { "line": 312, "column": 87 } }, "object": { "type": "ThisExpression", "start": 9507, "end": 9511, "loc": { "start": { "line": 312, "column": 61 }, "end": { "line": 312, "column": 65 } } }, "property": { "type": "Identifier", "start": 9512, "end": 9533, "loc": { "start": { "line": 312, "column": 66 }, "end": { "line": 312, "column": 87 }, "identifierName": "eventListenerTouchEnd" }, "name": "eventListenerTouchEnd" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9549, "end": 9625, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 88 } }, "expression": { "type": "CallExpression", "start": 9549, "end": 9624, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 9549, "end": 9582, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 45 } }, "object": { "type": "MemberExpression", "start": 9549, "end": 9565, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 28 } }, "object": { "type": "MemberExpression", "start": 9549, "end": 9558, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 21 } }, "object": { "type": "ThisExpression", "start": 9549, "end": 9553, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 16 } } }, "property": { "type": "Identifier", "start": 9554, "end": 9558, "loc": { "start": { "line": 313, "column": 17 }, "end": { "line": 313, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9559, "end": 9565, "loc": { "start": { "line": 313, "column": 22 }, "end": { "line": 313, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9566, "end": 9582, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 45 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9583, "end": 9594, "loc": { "start": { "line": 313, "column": 46 }, "end": { "line": 313, "column": 57 } }, "extra": { "rawValue": "touchmove", "raw": "\"touchmove\"" }, "value": "touchmove" }, { "type": "MemberExpression", "start": 9596, "end": 9623, "loc": { "start": { "line": 313, "column": 59 }, "end": { "line": 313, "column": 86 } }, "object": { "type": "ThisExpression", "start": 9596, "end": 9600, "loc": { "start": { "line": 313, "column": 59 }, "end": { "line": 313, "column": 63 } } }, "property": { "type": "Identifier", "start": 9601, "end": 9623, "loc": { "start": { "line": 313, "column": 64 }, "end": { "line": 313, "column": 86 }, "identifierName": "eventListenerTouchMove" }, "name": "eventListenerTouchMove" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9648, "end": 9721, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 81 } }, "expression": { "type": "CallExpression", "start": 9648, "end": 9720, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 9648, "end": 9681, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 41 } }, "object": { "type": "MemberExpression", "start": 9648, "end": 9664, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9648, "end": 9657, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 17 } }, "object": { "type": "ThisExpression", "start": 9648, "end": 9652, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 12 } } }, "property": { "type": "Identifier", "start": 9653, "end": 9657, "loc": { "start": { "line": 316, "column": 13 }, "end": { "line": 316, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9658, "end": 9664, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9665, "end": 9681, "loc": { "start": { "line": 316, "column": 25 }, "end": { "line": 316, "column": 41 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9682, "end": 9689, "loc": { "start": { "line": 316, "column": 42 }, "end": { "line": 316, "column": 49 } }, "extra": { "rawValue": "wheel", "raw": "\"wheel\"" }, "value": "wheel" }, { "type": "MemberExpression", "start": 9691, "end": 9719, "loc": { "start": { "line": 316, "column": 51 }, "end": { "line": 316, "column": 79 } }, "object": { "type": "ThisExpression", "start": 9691, "end": 9695, "loc": { "start": { "line": 316, "column": 51 }, "end": { "line": 316, "column": 55 } } }, "property": { "type": "Identifier", "start": 9696, "end": 9719, "loc": { "start": { "line": 316, "column": 56 }, "end": { "line": 316, "column": 79 }, "identifierName": "eventListenerMousewheel" }, "name": "eventListenerMousewheel" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9731, "end": 9807, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 84 } }, "expression": { "type": "CallExpression", "start": 9731, "end": 9806, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 9731, "end": 9764, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 41 } }, "object": { "type": "MemberExpression", "start": 9731, "end": 9747, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9731, "end": 9740, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 17 } }, "object": { "type": "ThisExpression", "start": 9731, "end": 9735, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 12 } } }, "property": { "type": "Identifier", "start": 9736, "end": 9740, "loc": { "start": { "line": 317, "column": 13 }, "end": { "line": 317, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9741, "end": 9747, "loc": { "start": { "line": 317, "column": 18 }, "end": { "line": 317, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9748, "end": 9764, "loc": { "start": { "line": 317, "column": 25 }, "end": { "line": 317, "column": 41 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9765, "end": 9776, "loc": { "start": { "line": 317, "column": 42 }, "end": { "line": 317, "column": 53 } }, "extra": { "rawValue": "mousedown", "raw": "\"mousedown\"" }, "value": "mousedown" }, { "type": "MemberExpression", "start": 9778, "end": 9805, "loc": { "start": { "line": 317, "column": 55 }, "end": { "line": 317, "column": 82 } }, "object": { "type": "ThisExpression", "start": 9778, "end": 9782, "loc": { "start": { "line": 317, "column": 55 }, "end": { "line": 317, "column": 59 } } }, "property": { "type": "Identifier", "start": 9783, "end": 9805, "loc": { "start": { "line": 317, "column": 60 }, "end": { "line": 317, "column": 82 }, "identifierName": "eventListenerMouseDown" }, "name": "eventListenerMouseDown" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9817, "end": 9893, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 84 } }, "expression": { "type": "CallExpression", "start": 9817, "end": 9892, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 9817, "end": 9850, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 41 } }, "object": { "type": "MemberExpression", "start": 9817, "end": 9833, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 24 } }, "object": { "type": "MemberExpression", "start": 9817, "end": 9826, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 17 } }, "object": { "type": "ThisExpression", "start": 9817, "end": 9821, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 12 } } }, "property": { "type": "Identifier", "start": 9822, "end": 9826, "loc": { "start": { "line": 318, "column": 13 }, "end": { "line": 318, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 9827, "end": 9833, "loc": { "start": { "line": 318, "column": 18 }, "end": { "line": 318, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 9834, "end": 9850, "loc": { "start": { "line": 318, "column": 25 }, "end": { "line": 318, "column": 41 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9851, "end": 9862, "loc": { "start": { "line": 318, "column": 42 }, "end": { "line": 318, "column": 53 } }, "extra": { "rawValue": "mousemove", "raw": "\"mousemove\"" }, "value": "mousemove" }, { "type": "MemberExpression", "start": 9864, "end": 9891, "loc": { "start": { "line": 318, "column": 55 }, "end": { "line": 318, "column": 82 } }, "object": { "type": "ThisExpression", "start": 9864, "end": 9868, "loc": { "start": { "line": 318, "column": 55 }, "end": { "line": 318, "column": 59 } } }, "property": { "type": "Identifier", "start": 9869, "end": 9891, "loc": { "start": { "line": 318, "column": 60 }, "end": { "line": 318, "column": 82 }, "identifierName": "eventListenerMouseMove" }, "name": "eventListenerMouseMove" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 9903, "end": 9965, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 70 } }, "expression": { "type": "CallExpression", "start": 9903, "end": 9964, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 9903, "end": 9926, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 31 } }, "object": { "type": "Identifier", "start": 9903, "end": 9909, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 9910, "end": 9926, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9927, "end": 9936, "loc": { "start": { "line": 319, "column": 32 }, "end": { "line": 319, "column": 41 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 9938, "end": 9963, "loc": { "start": { "line": 319, "column": 43 }, "end": { "line": 319, "column": 68 } }, "object": { "type": "ThisExpression", "start": 9938, "end": 9942, "loc": { "start": { "line": 319, "column": 43 }, "end": { "line": 319, "column": 47 } } }, "property": { "type": "Identifier", "start": 9943, "end": 9963, "loc": { "start": { "line": 319, "column": 48 }, "end": { "line": 319, "column": 68 }, "identifierName": "eventListenerMouseUp" }, "name": "eventListenerMouseUp" }, "computed": false } ] }, "trailingComments": [ { "type": "CommentLine", "value": " this.root.canvas.addEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 9975, "end": 10051, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 84 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attaches all event listeners\r\n ", "start": 8681, "end": 8730, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 299, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Cleans up all event listeners\r\n ", "start": 10066, "end": 10116, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 10122, "end": 10984, "loc": { "start": { "line": 326, "column": 4 }, "end": { "line": 339, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10122, "end": 10129, "loc": { "start": { "line": 326, "column": 4 }, "end": { "line": 326, "column": 11 }, "identifierName": "cleanup" }, "name": "cleanup", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10132, "end": 10984, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 339, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 10143, "end": 10547, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 332, "column": 9 } }, "test": { "type": "Identifier", "start": 10147, "end": 10160, "loc": { "start": { "line": 327, "column": 12 }, "end": { "line": 327, "column": 25 }, "identifierName": "SUPPORT_TOUCH" }, "name": "SUPPORT_TOUCH" }, "consequent": { "type": "BlockStatement", "start": 10162, "end": 10547, "loc": { "start": { "line": 327, "column": 27 }, "end": { "line": 332, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10177, "end": 10258, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 93 } }, "expression": { "type": "CallExpression", "start": 10177, "end": 10257, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 10177, "end": 10213, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 48 } }, "object": { "type": "MemberExpression", "start": 10177, "end": 10193, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 28 } }, "object": { "type": "MemberExpression", "start": 10177, "end": 10186, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 21 } }, "object": { "type": "ThisExpression", "start": 10177, "end": 10181, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 16 } } }, "property": { "type": "Identifier", "start": 10182, "end": 10186, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10187, "end": 10193, "loc": { "start": { "line": 328, "column": 22 }, "end": { "line": 328, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10194, "end": 10213, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 48 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10214, "end": 10226, "loc": { "start": { "line": 328, "column": 49 }, "end": { "line": 328, "column": 61 } }, "extra": { "rawValue": "touchstart", "raw": "\"touchstart\"" }, "value": "touchstart" }, { "type": "MemberExpression", "start": 10228, "end": 10256, "loc": { "start": { "line": 328, "column": 63 }, "end": { "line": 328, "column": 91 } }, "object": { "type": "ThisExpression", "start": 10228, "end": 10232, "loc": { "start": { "line": 328, "column": 63 }, "end": { "line": 328, "column": 67 } } }, "property": { "type": "Identifier", "start": 10233, "end": 10256, "loc": { "start": { "line": 328, "column": 68 }, "end": { "line": 328, "column": 91 }, "identifierName": "eventListenerTouchStart" }, "name": "eventListenerTouchStart" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10272, "end": 10349, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 89 } }, "expression": { "type": "CallExpression", "start": 10272, "end": 10348, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10272, "end": 10308, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 48 } }, "object": { "type": "MemberExpression", "start": 10272, "end": 10288, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 28 } }, "object": { "type": "MemberExpression", "start": 10272, "end": 10281, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 21 } }, "object": { "type": "ThisExpression", "start": 10272, "end": 10276, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 16 } } }, "property": { "type": "Identifier", "start": 10277, "end": 10281, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10282, "end": 10288, "loc": { "start": { "line": 329, "column": 22 }, "end": { "line": 329, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10289, "end": 10308, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 329, "column": 48 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10309, "end": 10319, "loc": { "start": { "line": 329, "column": 49 }, "end": { "line": 329, "column": 59 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 10321, "end": 10347, "loc": { "start": { "line": 329, "column": 61 }, "end": { "line": 329, "column": 87 } }, "object": { "type": "ThisExpression", "start": 10321, "end": 10325, "loc": { "start": { "line": 329, "column": 61 }, "end": { "line": 329, "column": 65 } } }, "property": { "type": "Identifier", "start": 10326, "end": 10347, "loc": { "start": { "line": 329, "column": 66 }, "end": { "line": 329, "column": 87 }, "identifierName": "eventListenerTouchEnd" }, "name": "eventListenerTouchEnd" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10363, "end": 10443, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 92 } }, "expression": { "type": "CallExpression", "start": 10363, "end": 10442, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 10363, "end": 10399, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 48 } }, "object": { "type": "MemberExpression", "start": 10363, "end": 10379, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 28 } }, "object": { "type": "MemberExpression", "start": 10363, "end": 10372, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 21 } }, "object": { "type": "ThisExpression", "start": 10363, "end": 10367, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 16 } } }, "property": { "type": "Identifier", "start": 10368, "end": 10372, "loc": { "start": { "line": 330, "column": 17 }, "end": { "line": 330, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10373, "end": 10379, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10380, "end": 10399, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 48 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10400, "end": 10413, "loc": { "start": { "line": 330, "column": 49 }, "end": { "line": 330, "column": 62 } }, "extra": { "rawValue": "touchcancel", "raw": "\"touchcancel\"" }, "value": "touchcancel" }, { "type": "MemberExpression", "start": 10415, "end": 10441, "loc": { "start": { "line": 330, "column": 64 }, "end": { "line": 330, "column": 90 } }, "object": { "type": "ThisExpression", "start": 10415, "end": 10419, "loc": { "start": { "line": 330, "column": 64 }, "end": { "line": 330, "column": 68 } } }, "property": { "type": "Identifier", "start": 10420, "end": 10441, "loc": { "start": { "line": 330, "column": 69 }, "end": { "line": 330, "column": 90 }, "identifierName": "eventListenerTouchEnd" }, "name": "eventListenerTouchEnd" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10457, "end": 10536, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 91 } }, "expression": { "type": "CallExpression", "start": 10457, "end": 10535, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 10457, "end": 10493, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 48 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10473, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 28 } }, "object": { "type": "MemberExpression", "start": 10457, "end": 10466, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 21 } }, "object": { "type": "ThisExpression", "start": 10457, "end": 10461, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 16 } } }, "property": { "type": "Identifier", "start": 10462, "end": 10466, "loc": { "start": { "line": 331, "column": 17 }, "end": { "line": 331, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10467, "end": 10473, "loc": { "start": { "line": 331, "column": 22 }, "end": { "line": 331, "column": 28 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10474, "end": 10493, "loc": { "start": { "line": 331, "column": 29 }, "end": { "line": 331, "column": 48 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10494, "end": 10505, "loc": { "start": { "line": 331, "column": 49 }, "end": { "line": 331, "column": 60 } }, "extra": { "rawValue": "touchmove", "raw": "\"touchmove\"" }, "value": "touchmove" }, { "type": "MemberExpression", "start": 10507, "end": 10534, "loc": { "start": { "line": 331, "column": 62 }, "end": { "line": 331, "column": 89 } }, "object": { "type": "ThisExpression", "start": 10507, "end": 10511, "loc": { "start": { "line": 331, "column": 62 }, "end": { "line": 331, "column": 66 } } }, "property": { "type": "Identifier", "start": 10512, "end": 10534, "loc": { "start": { "line": 331, "column": 67 }, "end": { "line": 331, "column": 89 }, "identifierName": "eventListenerTouchMove" }, "name": "eventListenerTouchMove" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 10559, "end": 10635, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 84 } }, "expression": { "type": "CallExpression", "start": 10559, "end": 10634, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 10559, "end": 10595, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 44 } }, "object": { "type": "MemberExpression", "start": 10559, "end": 10575, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10559, "end": 10568, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10559, "end": 10563, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 12 } } }, "property": { "type": "Identifier", "start": 10564, "end": 10568, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10569, "end": 10575, "loc": { "start": { "line": 334, "column": 18 }, "end": { "line": 334, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10576, "end": 10595, "loc": { "start": { "line": 334, "column": 25 }, "end": { "line": 334, "column": 44 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10596, "end": 10603, "loc": { "start": { "line": 334, "column": 45 }, "end": { "line": 334, "column": 52 } }, "extra": { "rawValue": "wheel", "raw": "\"wheel\"" }, "value": "wheel" }, { "type": "MemberExpression", "start": 10605, "end": 10633, "loc": { "start": { "line": 334, "column": 54 }, "end": { "line": 334, "column": 82 } }, "object": { "type": "ThisExpression", "start": 10605, "end": 10609, "loc": { "start": { "line": 334, "column": 54 }, "end": { "line": 334, "column": 58 } } }, "property": { "type": "Identifier", "start": 10610, "end": 10633, "loc": { "start": { "line": 334, "column": 59 }, "end": { "line": 334, "column": 82 }, "identifierName": "eventListenerMousewheel" }, "name": "eventListenerMousewheel" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10645, "end": 10724, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 87 } }, "expression": { "type": "CallExpression", "start": 10645, "end": 10723, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 10645, "end": 10681, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 44 } }, "object": { "type": "MemberExpression", "start": 10645, "end": 10661, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10645, "end": 10654, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10645, "end": 10649, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 12 } } }, "property": { "type": "Identifier", "start": 10650, "end": 10654, "loc": { "start": { "line": 335, "column": 13 }, "end": { "line": 335, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10655, "end": 10661, "loc": { "start": { "line": 335, "column": 18 }, "end": { "line": 335, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10662, "end": 10681, "loc": { "start": { "line": 335, "column": 25 }, "end": { "line": 335, "column": 44 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10682, "end": 10693, "loc": { "start": { "line": 335, "column": 45 }, "end": { "line": 335, "column": 56 } }, "extra": { "rawValue": "mousedown", "raw": "\"mousedown\"" }, "value": "mousedown" }, { "type": "MemberExpression", "start": 10695, "end": 10722, "loc": { "start": { "line": 335, "column": 58 }, "end": { "line": 335, "column": 85 } }, "object": { "type": "ThisExpression", "start": 10695, "end": 10699, "loc": { "start": { "line": 335, "column": 58 }, "end": { "line": 335, "column": 62 } } }, "property": { "type": "Identifier", "start": 10700, "end": 10722, "loc": { "start": { "line": 335, "column": 63 }, "end": { "line": 335, "column": 85 }, "identifierName": "eventListenerMouseDown" }, "name": "eventListenerMouseDown" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10734, "end": 10813, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 87 } }, "expression": { "type": "CallExpression", "start": 10734, "end": 10812, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 10734, "end": 10770, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 44 } }, "object": { "type": "MemberExpression", "start": 10734, "end": 10750, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 24 } }, "object": { "type": "MemberExpression", "start": 10734, "end": 10743, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 17 } }, "object": { "type": "ThisExpression", "start": 10734, "end": 10738, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 12 } } }, "property": { "type": "Identifier", "start": 10739, "end": 10743, "loc": { "start": { "line": 336, "column": 13 }, "end": { "line": 336, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 10744, "end": 10750, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 24 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 10751, "end": 10770, "loc": { "start": { "line": 336, "column": 25 }, "end": { "line": 336, "column": 44 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10771, "end": 10782, "loc": { "start": { "line": 336, "column": 45 }, "end": { "line": 336, "column": 56 } }, "extra": { "rawValue": "mousemove", "raw": "\"mousemove\"" }, "value": "mousemove" }, { "type": "MemberExpression", "start": 10784, "end": 10811, "loc": { "start": { "line": 336, "column": 58 }, "end": { "line": 336, "column": 85 } }, "object": { "type": "ThisExpression", "start": 10784, "end": 10788, "loc": { "start": { "line": 336, "column": 58 }, "end": { "line": 336, "column": 62 } } }, "property": { "type": "Identifier", "start": 10789, "end": 10811, "loc": { "start": { "line": 336, "column": 63 }, "end": { "line": 336, "column": 85 }, "identifierName": "eventListenerMouseMove" }, "name": "eventListenerMouseMove" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 10823, "end": 10888, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 73 } }, "expression": { "type": "CallExpression", "start": 10823, "end": 10887, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 10823, "end": 10849, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 34 } }, "object": { "type": "Identifier", "start": 10823, "end": 10829, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 10830, "end": 10849, "loc": { "start": { "line": 337, "column": 15 }, "end": { "line": 337, "column": 34 }, "identifierName": "removeEventListener" }, "name": "removeEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10850, "end": 10859, "loc": { "start": { "line": 337, "column": 35 }, "end": { "line": 337, "column": 44 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 10861, "end": 10886, "loc": { "start": { "line": 337, "column": 46 }, "end": { "line": 337, "column": 71 } }, "object": { "type": "ThisExpression", "start": 10861, "end": 10865, "loc": { "start": { "line": 337, "column": 46 }, "end": { "line": 337, "column": 50 } } }, "property": { "type": "Identifier", "start": 10866, "end": 10886, "loc": { "start": { "line": 337, "column": 51 }, "end": { "line": 337, "column": 71 }, "identifierName": "eventListenerMouseUp" }, "name": "eventListenerMouseUp" }, "computed": false } ] }, "trailingComments": [ { "type": "CommentLine", "value": " this.root.canvas.removeEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 10898, "end": 10977, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 87 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Cleans up all event listeners\r\n ", "start": 10066, "end": 10116, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Binds the arrow keys\r\n ", "start": 10992, "end": 11033, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 343, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11039, "end": 11895, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 359, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11039, "end": 11047, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 12 }, "identifierName": "bindKeys" }, "name": "bindKeys", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11050, "end": 11895, "loc": { "start": { "line": 344, "column": 15 }, "end": { "line": 359, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 11061, "end": 11096, "loc": { "start": { "line": 345, "column": 8 }, "end": { "line": 345, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11067, "end": 11095, "loc": { "start": { "line": 345, "column": 14 }, "end": { "line": 345, "column": 42 } }, "id": { "type": "Identifier", "start": 11067, "end": 11073, "loc": { "start": { "line": 345, "column": 14 }, "end": { "line": 345, "column": 20 }, "identifierName": "mapper" }, "name": "mapper" }, "init": { "type": "MemberExpression", "start": 11076, "end": 11095, "loc": { "start": { "line": 345, "column": 23 }, "end": { "line": 345, "column": 42 } }, "object": { "type": "MemberExpression", "start": 11076, "end": 11085, "loc": { "start": { "line": 345, "column": 23 }, "end": { "line": 345, "column": 32 } }, "object": { "type": "ThisExpression", "start": 11076, "end": 11080, "loc": { "start": { "line": 345, "column": 23 }, "end": { "line": 345, "column": 27 } } }, "property": { "type": "Identifier", "start": 11081, "end": 11085, "loc": { "start": { "line": 345, "column": 28 }, "end": { "line": 345, "column": 32 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 11086, "end": 11095, "loc": { "start": { "line": 345, "column": 33 }, "end": { "line": 345, "column": 42 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 11106, "end": 11197, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 99 } }, "expression": { "type": "CallExpression", "start": 11106, "end": 11196, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 11106, "end": 11161, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 63 } }, "object": { "type": "CallExpression", "start": 11106, "end": 11157, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 11106, "end": 11123, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 25 } }, "object": { "type": "Identifier", "start": 11106, "end": 11112, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11113, "end": 11123, "loc": { "start": { "line": 346, "column": 15 }, "end": { "line": 346, "column": 25 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11124, "end": 11156, "loc": { "start": { "line": 346, "column": 26 }, "end": { "line": 346, "column": 58 } }, "object": { "type": "MemberExpression", "start": 11124, "end": 11146, "loc": { "start": { "line": 346, "column": 26 }, "end": { "line": 346, "column": 48 } }, "object": { "type": "Identifier", "start": 11124, "end": 11135, "loc": { "start": { "line": 346, "column": 26 }, "end": { "line": 346, "column": 37 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11136, "end": 11146, "loc": { "start": { "line": 346, "column": 38 }, "end": { "line": 346, "column": 48 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11147, "end": 11156, "loc": { "start": { "line": 346, "column": 49 }, "end": { "line": 346, "column": 58 }, "identifierName": "mapMoveUp" }, "name": "mapMoveUp" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11158, "end": 11161, "loc": { "start": { "line": 346, "column": 60 }, "end": { "line": 346, "column": 63 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11162, "end": 11195, "loc": { "start": { "line": 346, "column": 64 }, "end": { "line": 346, "column": 97 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11169, "end": 11194, "loc": { "start": { "line": 346, "column": 71 }, "end": { "line": 346, "column": 96 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11169, "end": 11189, "loc": { "start": { "line": 346, "column": 71 }, "end": { "line": 346, "column": 91 } }, "object": { "type": "MemberExpression", "start": 11169, "end": 11187, "loc": { "start": { "line": 346, "column": 71 }, "end": { "line": 346, "column": 89 } }, "object": { "type": "ThisExpression", "start": 11169, "end": 11173, "loc": { "start": { "line": 346, "column": 71 }, "end": { "line": 346, "column": 75 } } }, "property": { "type": "Identifier", "start": 11174, "end": 11187, "loc": { "start": { "line": 346, "column": 76 }, "end": { "line": 346, "column": 89 }, "identifierName": "keyboardForce" }, "name": "keyboardForce" }, "computed": false }, "property": { "type": "Identifier", "start": 11188, "end": 11189, "loc": { "start": { "line": 346, "column": 90 }, "end": { "line": 346, "column": 91 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "UnaryExpression", "start": 11192, "end": 11194, "loc": { "start": { "line": 346, "column": 94 }, "end": { "line": 346, "column": 96 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 11193, "end": 11194, "loc": { "start": { "line": 346, "column": 95 }, "end": { "line": 346, "column": 96 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 11168 } } } ] } }, { "type": "ExpressionStatement", "start": 11207, "end": 11299, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 100 } }, "expression": { "type": "CallExpression", "start": 11207, "end": 11298, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 11207, "end": 11264, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 65 } }, "object": { "type": "CallExpression", "start": 11207, "end": 11260, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 11207, "end": 11224, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 25 } }, "object": { "type": "Identifier", "start": 11207, "end": 11213, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11214, "end": 11224, "loc": { "start": { "line": 347, "column": 15 }, "end": { "line": 347, "column": 25 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11225, "end": 11259, "loc": { "start": { "line": 347, "column": 26 }, "end": { "line": 347, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11225, "end": 11247, "loc": { "start": { "line": 347, "column": 26 }, "end": { "line": 347, "column": 48 } }, "object": { "type": "Identifier", "start": 11225, "end": 11236, "loc": { "start": { "line": 347, "column": 26 }, "end": { "line": 347, "column": 37 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11237, "end": 11247, "loc": { "start": { "line": 347, "column": 38 }, "end": { "line": 347, "column": 48 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11248, "end": 11259, "loc": { "start": { "line": 347, "column": 49 }, "end": { "line": 347, "column": 60 }, "identifierName": "mapMoveDown" }, "name": "mapMoveDown" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11261, "end": 11264, "loc": { "start": { "line": 347, "column": 62 }, "end": { "line": 347, "column": 65 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11265, "end": 11297, "loc": { "start": { "line": 347, "column": 66 }, "end": { "line": 347, "column": 98 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11272, "end": 11296, "loc": { "start": { "line": 347, "column": 73 }, "end": { "line": 347, "column": 97 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11272, "end": 11292, "loc": { "start": { "line": 347, "column": 73 }, "end": { "line": 347, "column": 93 } }, "object": { "type": "MemberExpression", "start": 11272, "end": 11290, "loc": { "start": { "line": 347, "column": 73 }, "end": { "line": 347, "column": 91 } }, "object": { "type": "ThisExpression", "start": 11272, "end": 11276, "loc": { "start": { "line": 347, "column": 73 }, "end": { "line": 347, "column": 77 } } }, "property": { "type": "Identifier", "start": 11277, "end": 11290, "loc": { "start": { "line": 347, "column": 78 }, "end": { "line": 347, "column": 91 }, "identifierName": "keyboardForce" }, "name": "keyboardForce" }, "computed": false }, "property": { "type": "Identifier", "start": 11291, "end": 11292, "loc": { "start": { "line": 347, "column": 92 }, "end": { "line": 347, "column": 93 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 11295, "end": 11296, "loc": { "start": { "line": 347, "column": 96 }, "end": { "line": 347, "column": 97 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesized": true, "parenStart": 11271 } } } ] } }, { "type": "ExpressionStatement", "start": 11309, "end": 11402, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 101 } }, "expression": { "type": "CallExpression", "start": 11309, "end": 11401, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 11309, "end": 11367, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 66 } }, "object": { "type": "CallExpression", "start": 11309, "end": 11363, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 11309, "end": 11326, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 25 } }, "object": { "type": "Identifier", "start": 11309, "end": 11315, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11316, "end": 11326, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 25 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11327, "end": 11362, "loc": { "start": { "line": 348, "column": 26 }, "end": { "line": 348, "column": 61 } }, "object": { "type": "MemberExpression", "start": 11327, "end": 11349, "loc": { "start": { "line": 348, "column": 26 }, "end": { "line": 348, "column": 48 } }, "object": { "type": "Identifier", "start": 11327, "end": 11338, "loc": { "start": { "line": 348, "column": 26 }, "end": { "line": 348, "column": 37 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11339, "end": 11349, "loc": { "start": { "line": 348, "column": 38 }, "end": { "line": 348, "column": 48 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11350, "end": 11362, "loc": { "start": { "line": 348, "column": 49 }, "end": { "line": 348, "column": 61 }, "identifierName": "mapMoveRight" }, "name": "mapMoveRight" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11364, "end": 11367, "loc": { "start": { "line": 348, "column": 63 }, "end": { "line": 348, "column": 66 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11368, "end": 11400, "loc": { "start": { "line": 348, "column": 67 }, "end": { "line": 348, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11375, "end": 11399, "loc": { "start": { "line": 348, "column": 74 }, "end": { "line": 348, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11375, "end": 11395, "loc": { "start": { "line": 348, "column": 74 }, "end": { "line": 348, "column": 94 } }, "object": { "type": "MemberExpression", "start": 11375, "end": 11393, "loc": { "start": { "line": 348, "column": 74 }, "end": { "line": 348, "column": 92 } }, "object": { "type": "ThisExpression", "start": 11375, "end": 11379, "loc": { "start": { "line": 348, "column": 74 }, "end": { "line": 348, "column": 78 } } }, "property": { "type": "Identifier", "start": 11380, "end": 11393, "loc": { "start": { "line": 348, "column": 79 }, "end": { "line": 348, "column": 92 }, "identifierName": "keyboardForce" }, "name": "keyboardForce" }, "computed": false }, "property": { "type": "Identifier", "start": 11394, "end": 11395, "loc": { "start": { "line": 348, "column": 93 }, "end": { "line": 348, "column": 94 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 11398, "end": 11399, "loc": { "start": { "line": 348, "column": 97 }, "end": { "line": 348, "column": 98 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesized": true, "parenStart": 11374 } } } ] } }, { "type": "ExpressionStatement", "start": 11412, "end": 11505, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 101 } }, "expression": { "type": "CallExpression", "start": 11412, "end": 11504, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 11412, "end": 11469, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 65 } }, "object": { "type": "CallExpression", "start": 11412, "end": 11465, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 11412, "end": 11429, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 25 } }, "object": { "type": "Identifier", "start": 11412, "end": 11418, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11419, "end": 11429, "loc": { "start": { "line": 349, "column": 15 }, "end": { "line": 349, "column": 25 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11430, "end": 11464, "loc": { "start": { "line": 349, "column": 26 }, "end": { "line": 349, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11430, "end": 11452, "loc": { "start": { "line": 349, "column": 26 }, "end": { "line": 349, "column": 48 } }, "object": { "type": "Identifier", "start": 11430, "end": 11441, "loc": { "start": { "line": 349, "column": 26 }, "end": { "line": 349, "column": 37 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11442, "end": 11452, "loc": { "start": { "line": 349, "column": 38 }, "end": { "line": 349, "column": 48 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11453, "end": 11464, "loc": { "start": { "line": 349, "column": 49 }, "end": { "line": 349, "column": 60 }, "identifierName": "mapMoveLeft" }, "name": "mapMoveLeft" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11466, "end": 11469, "loc": { "start": { "line": 349, "column": 62 }, "end": { "line": 349, "column": 65 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11470, "end": 11503, "loc": { "start": { "line": 349, "column": 66 }, "end": { "line": 349, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11477, "end": 11502, "loc": { "start": { "line": 349, "column": 73 }, "end": { "line": 349, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11477, "end": 11497, "loc": { "start": { "line": 349, "column": 73 }, "end": { "line": 349, "column": 93 } }, "object": { "type": "MemberExpression", "start": 11477, "end": 11495, "loc": { "start": { "line": 349, "column": 73 }, "end": { "line": 349, "column": 91 } }, "object": { "type": "ThisExpression", "start": 11477, "end": 11481, "loc": { "start": { "line": 349, "column": 73 }, "end": { "line": 349, "column": 77 } } }, "property": { "type": "Identifier", "start": 11482, "end": 11495, "loc": { "start": { "line": 349, "column": 78 }, "end": { "line": 349, "column": 91 }, "identifierName": "keyboardForce" }, "name": "keyboardForce" }, "computed": false }, "property": { "type": "Identifier", "start": 11496, "end": 11497, "loc": { "start": { "line": 349, "column": 92 }, "end": { "line": 349, "column": 93 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "UnaryExpression", "start": 11500, "end": 11502, "loc": { "start": { "line": 349, "column": 96 }, "end": { "line": 349, "column": 98 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 11501, "end": 11502, "loc": { "start": { "line": 349, "column": 97 }, "end": { "line": 349, "column": 98 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 11476 } } } ] } }, { "type": "ExpressionStatement", "start": 11517, "end": 11650, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 353, "column": 66 } }, "expression": { "type": "CallExpression", "start": 11517, "end": 11649, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 353, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11517, "end": 11600, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 353, "column": 16 } }, "object": { "type": "CallExpression", "start": 11517, "end": 11582, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 352, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 11517, "end": 11548, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 352, "column": 23 } }, "object": { "type": "Identifier", "start": 11517, "end": 11523, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11538, "end": 11548, "loc": { "start": { "line": 352, "column": 13 }, "end": { "line": 352, "column": 23 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11549, "end": 11581, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 56 } }, "object": { "type": "MemberExpression", "start": 11549, "end": 11571, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 46 } }, "object": { "type": "Identifier", "start": 11549, "end": 11560, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 35 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11561, "end": 11571, "loc": { "start": { "line": 352, "column": 36 }, "end": { "line": 352, "column": 46 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11572, "end": 11581, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 56 }, "identifierName": "mapZoomIn" }, "name": "mapZoomIn" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11597, "end": 11600, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 16 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11601, "end": 11648, "loc": { "start": { "line": 353, "column": 17 }, "end": { "line": 353, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11608, "end": 11647, "loc": { "start": { "line": 353, "column": 24 }, "end": { "line": 353, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11608, "end": 11624, "loc": { "start": { "line": 353, "column": 24 }, "end": { "line": 353, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11608, "end": 11612, "loc": { "start": { "line": 353, "column": 24 }, "end": { "line": 353, "column": 28 } } }, "property": { "type": "Identifier", "start": 11613, "end": 11624, "loc": { "start": { "line": 353, "column": 29 }, "end": { "line": 353, "column": 40 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 11627, "end": 11647, "loc": { "start": { "line": 353, "column": 43 }, "end": { "line": 353, "column": 63 } }, "left": { "type": "MemberExpression", "start": 11627, "end": 11641, "loc": { "start": { "line": 353, "column": 43 }, "end": { "line": 353, "column": 57 } }, "object": { "type": "ThisExpression", "start": 11627, "end": 11631, "loc": { "start": { "line": 353, "column": 43 }, "end": { "line": 353, "column": 47 } } }, "property": { "type": "Identifier", "start": 11632, "end": 11641, "loc": { "start": { "line": 353, "column": 48 }, "end": { "line": 353, "column": 57 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 11644, "end": 11647, "loc": { "start": { "line": 353, "column": 60 }, "end": { "line": 353, "column": 63 } }, "extra": { "rawValue": 1.2, "raw": "1.2" }, "value": 1.2 } }, "extra": { "parenthesized": true, "parenStart": 11607 } } } ] } }, { "type": "ExpressionStatement", "start": 11660, "end": 11794, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 356, "column": 66 } }, "expression": { "type": "CallExpression", "start": 11660, "end": 11793, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 356, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11660, "end": 11744, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 356, "column": 16 } }, "object": { "type": "CallExpression", "start": 11660, "end": 11726, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 355, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 11660, "end": 11691, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 355, "column": 23 } }, "object": { "type": "Identifier", "start": 11660, "end": 11666, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 354, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11681, "end": 11691, "loc": { "start": { "line": 355, "column": 13 }, "end": { "line": 355, "column": 23 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11692, "end": 11725, "loc": { "start": { "line": 355, "column": 24 }, "end": { "line": 355, "column": 57 } }, "object": { "type": "MemberExpression", "start": 11692, "end": 11714, "loc": { "start": { "line": 355, "column": 24 }, "end": { "line": 355, "column": 46 } }, "object": { "type": "Identifier", "start": 11692, "end": 11703, "loc": { "start": { "line": 355, "column": 24 }, "end": { "line": 355, "column": 35 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11704, "end": 11714, "loc": { "start": { "line": 355, "column": 36 }, "end": { "line": 355, "column": 46 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11715, "end": 11725, "loc": { "start": { "line": 355, "column": 47 }, "end": { "line": 355, "column": 57 }, "identifierName": "mapZoomOut" }, "name": "mapZoomOut" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11741, "end": 11744, "loc": { "start": { "line": 356, "column": 13 }, "end": { "line": 356, "column": 16 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11745, "end": 11792, "loc": { "start": { "line": 356, "column": 17 }, "end": { "line": 356, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "AssignmentExpression", "start": 11752, "end": 11791, "loc": { "start": { "line": 356, "column": 24 }, "end": { "line": 356, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11752, "end": 11768, "loc": { "start": { "line": 356, "column": 24 }, "end": { "line": 356, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11752, "end": 11756, "loc": { "start": { "line": 356, "column": 24 }, "end": { "line": 356, "column": 28 } } }, "property": { "type": "Identifier", "start": 11757, "end": 11768, "loc": { "start": { "line": 356, "column": 29 }, "end": { "line": 356, "column": 40 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 11771, "end": 11791, "loc": { "start": { "line": 356, "column": 43 }, "end": { "line": 356, "column": 63 } }, "left": { "type": "MemberExpression", "start": 11771, "end": 11785, "loc": { "start": { "line": 356, "column": 43 }, "end": { "line": 356, "column": 57 } }, "object": { "type": "ThisExpression", "start": 11771, "end": 11775, "loc": { "start": { "line": 356, "column": 43 }, "end": { "line": 356, "column": 47 } } }, "property": { "type": "Identifier", "start": 11776, "end": 11785, "loc": { "start": { "line": 356, "column": 48 }, "end": { "line": 356, "column": 57 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 11788, "end": 11791, "loc": { "start": { "line": 356, "column": 60 }, "end": { "line": 356, "column": 63 } }, "extra": { "rawValue": 1.2, "raw": "1.2" }, "value": 1.2 } }, "extra": { "parenthesized": true, "parenStart": 11751 } } } ] } }, { "type": "ExpressionStatement", "start": 11806, "end": 11888, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 90 } }, "expression": { "type": "CallExpression", "start": 11806, "end": 11887, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 11806, "end": 11861, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 63 } }, "object": { "type": "CallExpression", "start": 11806, "end": 11857, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 11806, "end": 11823, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 25 } }, "object": { "type": "Identifier", "start": 11806, "end": 11812, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 14 }, "identifierName": "mapper" }, "name": "mapper" }, "property": { "type": "Identifier", "start": 11813, "end": 11823, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 25 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11824, "end": 11856, "loc": { "start": { "line": 358, "column": 26 }, "end": { "line": 358, "column": 58 } }, "object": { "type": "MemberExpression", "start": 11824, "end": 11846, "loc": { "start": { "line": 358, "column": 26 }, "end": { "line": 358, "column": 48 } }, "object": { "type": "Identifier", "start": 11824, "end": 11835, "loc": { "start": { "line": 358, "column": 26 }, "end": { "line": 358, "column": 37 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 11836, "end": 11846, "loc": { "start": { "line": 358, "column": 38 }, "end": { "line": 358, "column": 48 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 11847, "end": 11856, "loc": { "start": { "line": 358, "column": 49 }, "end": { "line": 358, "column": 58 }, "identifierName": "centerMap" }, "name": "centerMap" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 11858, "end": 11861, "loc": { "start": { "line": 358, "column": 60 }, "end": { "line": 358, "column": 63 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11862, "end": 11886, "loc": { "start": { "line": 358, "column": 64 }, "end": { "line": 358, "column": 88 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 11868, "end": 11886, "loc": { "start": { "line": 358, "column": 70 }, "end": { "line": 358, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 11868, "end": 11884, "loc": { "start": { "line": 358, "column": 70 }, "end": { "line": 358, "column": 86 } }, "object": { "type": "ThisExpression", "start": 11868, "end": 11872, "loc": { "start": { "line": 358, "column": 70 }, "end": { "line": 358, "column": 74 } } }, "property": { "type": "Identifier", "start": 11873, "end": 11884, "loc": { "start": { "line": 358, "column": 75 }, "end": { "line": 358, "column": 86 }, "identifierName": "centerOnMap" }, "name": "centerOnMap" }, "computed": false }, "arguments": [] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Binds the arrow keys\r\n ", "start": 10992, "end": 11033, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 343, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11903, "end": 11973, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 363, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11903, "end": 11914, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 15 }, "identifierName": "centerOnMap" }, "name": "centerOnMap" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11917, "end": 11973, "loc": { "start": { "line": 361, "column": 18 }, "end": { "line": 363, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11928, "end": 11966, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 11928, "end": 11965, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11928, "end": 11946, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 26 } }, "object": { "type": "ThisExpression", "start": 11928, "end": 11932, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 12 } } }, "property": { "type": "Identifier", "start": 11933, "end": 11946, "loc": { "start": { "line": 362, "column": 13 }, "end": { "line": 362, "column": 26 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NewExpression", "start": 11949, "end": 11965, "loc": { "start": { "line": 362, "column": 29 }, "end": { "line": 362, "column": 45 } }, "callee": { "type": "Identifier", "start": 11953, "end": 11959, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 39 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 11960, "end": 11961, "loc": { "start": { "line": 362, "column": 40 }, "end": { "line": 362, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 11963, "end": 11964, "loc": { "start": { "line": 362, "column": 43 }, "end": { "line": 362, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Converts from screen to world space\r\n * @param {Vector} screen\r\n * @returns {Vector} world space\r\n ", "start": 11981, "end": 12106, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 369, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12112, "end": 12316, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 373, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12112, "end": 12125, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 370, "column": 17 }, "identifierName": "screenToWorld" }, "name": "screenToWorld", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12126, "end": 12132, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 24 }, "identifierName": "screen" }, "name": "screen" } ], "body": { "type": "BlockStatement", "start": 12134, "end": 12316, "loc": { "start": { "line": 370, "column": 26 }, "end": { "line": 373, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12145, "end": 12234, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 97 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12151, "end": 12233, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 96 } }, "id": { "type": "Identifier", "start": 12151, "end": 12162, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 25 }, "identifierName": "centerSpace" }, "name": "centerSpace" }, "init": { "type": "CallExpression", "start": 12165, "end": 12233, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 96 } }, "callee": { "type": "MemberExpression", "start": 12165, "end": 12182, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 45 } }, "object": { "type": "Identifier", "start": 12165, "end": 12171, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 34 }, "identifierName": "screen" }, "name": "screen" }, "property": { "type": "Identifier", "start": 12172, "end": 12182, "loc": { "start": { "line": 371, "column": 35 }, "end": { "line": 371, "column": 45 }, "identifierName": "subScalars" }, "name": "subScalars" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 12183, "end": 12206, "loc": { "start": { "line": 371, "column": 46 }, "end": { "line": 371, "column": 69 } }, "left": { "type": "MemberExpression", "start": 12183, "end": 12202, "loc": { "start": { "line": 371, "column": 46 }, "end": { "line": 371, "column": 65 } }, "object": { "type": "MemberExpression", "start": 12183, "end": 12192, "loc": { "start": { "line": 371, "column": 46 }, "end": { "line": 371, "column": 55 } }, "object": { "type": "ThisExpression", "start": 12183, "end": 12187, "loc": { "start": { "line": 371, "column": 46 }, "end": { "line": 371, "column": 50 } } }, "property": { "type": "Identifier", "start": 12188, "end": 12192, "loc": { "start": { "line": 371, "column": 51 }, "end": { "line": 371, "column": 55 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12193, "end": 12202, "loc": { "start": { "line": 371, "column": 56 }, "end": { "line": 371, "column": 65 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 12205, "end": 12206, "loc": { "start": { "line": 371, "column": 68 }, "end": { "line": 371, "column": 69 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 12208, "end": 12232, "loc": { "start": { "line": 371, "column": 71 }, "end": { "line": 371, "column": 95 } }, "left": { "type": "MemberExpression", "start": 12208, "end": 12228, "loc": { "start": { "line": 371, "column": 71 }, "end": { "line": 371, "column": 91 } }, "object": { "type": "MemberExpression", "start": 12208, "end": 12217, "loc": { "start": { "line": 371, "column": 71 }, "end": { "line": 371, "column": 80 } }, "object": { "type": "ThisExpression", "start": 12208, "end": 12212, "loc": { "start": { "line": 371, "column": 71 }, "end": { "line": 371, "column": 75 } } }, "property": { "type": "Identifier", "start": 12213, "end": 12217, "loc": { "start": { "line": 371, "column": 76 }, "end": { "line": 371, "column": 80 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12218, "end": 12228, "loc": { "start": { "line": 371, "column": 81 }, "end": { "line": 371, "column": 91 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 12231, "end": 12232, "loc": { "start": { "line": 371, "column": 94 }, "end": { "line": 371, "column": 95 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 12244, "end": 12309, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 73 } }, "argument": { "type": "CallExpression", "start": 12251, "end": 12308, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 12251, "end": 12295, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 59 } }, "object": { "type": "CallExpression", "start": 12251, "end": 12291, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 12251, "end": 12275, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 39 } }, "object": { "type": "Identifier", "start": 12251, "end": 12262, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 26 }, "identifierName": "centerSpace" }, "name": "centerSpace" }, "property": { "type": "Identifier", "start": 12263, "end": 12275, "loc": { "start": { "line": 372, "column": 27 }, "end": { "line": 372, "column": 39 }, "identifierName": "divideScalar" }, "name": "divideScalar" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12276, "end": 12290, "loc": { "start": { "line": 372, "column": 40 }, "end": { "line": 372, "column": 54 } }, "object": { "type": "ThisExpression", "start": 12276, "end": 12280, "loc": { "start": { "line": 372, "column": 40 }, "end": { "line": 372, "column": 44 } } }, "property": { "type": "Identifier", "start": 12281, "end": 12290, "loc": { "start": { "line": 372, "column": 45 }, "end": { "line": 372, "column": 54 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 12292, "end": 12295, "loc": { "start": { "line": 372, "column": 56 }, "end": { "line": 372, "column": 59 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12296, "end": 12307, "loc": { "start": { "line": 372, "column": 60 }, "end": { "line": 372, "column": 71 } }, "object": { "type": "ThisExpression", "start": 12296, "end": 12300, "loc": { "start": { "line": 372, "column": 60 }, "end": { "line": 372, "column": 64 } } }, "property": { "type": "Identifier", "start": 12301, "end": 12307, "loc": { "start": { "line": 372, "column": 65 }, "end": { "line": 372, "column": 71 }, "identifierName": "center" }, "name": "center" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Converts from screen to world space\r\n * @param {Vector} screen\r\n * @returns {Vector} world space\r\n ", "start": 11981, "end": 12106, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 369, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Converts from world to screen space\r\n * @param {Vector} world\r\n * @returns {Vector} screen space\r\n ", "start": 12324, "end": 12449, "loc": { "start": { "line": 375, "column": 4 }, "end": { "line": 379, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12455, "end": 12659, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 383, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12455, "end": 12468, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 17 }, "identifierName": "worldToScreen" }, "name": "worldToScreen", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12469, "end": 12474, "loc": { "start": { "line": 380, "column": 18 }, "end": { "line": 380, "column": 23 }, "identifierName": "world" }, "name": "world" } ], "body": { "type": "BlockStatement", "start": 12476, "end": 12659, "loc": { "start": { "line": 380, "column": 25 }, "end": { "line": 383, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12487, "end": 12561, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12493, "end": 12560, "loc": { "start": { "line": 381, "column": 14 }, "end": { "line": 381, "column": 81 } }, "id": { "type": "Identifier", "start": 12493, "end": 12504, "loc": { "start": { "line": 381, "column": 14 }, "end": { "line": 381, "column": 25 }, "identifierName": "screenSpace" }, "name": "screenSpace" }, "init": { "type": "CallExpression", "start": 12507, "end": 12560, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 12507, "end": 12544, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 65 } }, "object": { "type": "CallExpression", "start": 12507, "end": 12529, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 12507, "end": 12516, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 37 } }, "object": { "type": "Identifier", "start": 12507, "end": 12512, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 33 }, "identifierName": "world" }, "name": "world" }, "property": { "type": "Identifier", "start": 12513, "end": 12516, "loc": { "start": { "line": 381, "column": 34 }, "end": { "line": 381, "column": 37 }, "identifierName": "sub" }, "name": "sub" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12517, "end": 12528, "loc": { "start": { "line": 381, "column": 38 }, "end": { "line": 381, "column": 49 } }, "object": { "type": "ThisExpression", "start": 12517, "end": 12521, "loc": { "start": { "line": 381, "column": 38 }, "end": { "line": 381, "column": 42 } } }, "property": { "type": "Identifier", "start": 12522, "end": 12528, "loc": { "start": { "line": 381, "column": 43 }, "end": { "line": 381, "column": 49 }, "identifierName": "center" }, "name": "center" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 12530, "end": 12544, "loc": { "start": { "line": 381, "column": 51 }, "end": { "line": 381, "column": 65 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12545, "end": 12559, "loc": { "start": { "line": 381, "column": 66 }, "end": { "line": 381, "column": 80 } }, "object": { "type": "ThisExpression", "start": 12545, "end": 12549, "loc": { "start": { "line": 381, "column": 66 }, "end": { "line": 381, "column": 70 } } }, "property": { "type": "Identifier", "start": 12550, "end": 12559, "loc": { "start": { "line": 381, "column": 71 }, "end": { "line": 381, "column": 80 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 12571, "end": 12652, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 89 } }, "argument": { "type": "CallExpression", "start": 12578, "end": 12651, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 12578, "end": 12600, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 37 } }, "object": { "type": "Identifier", "start": 12578, "end": 12589, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 26 }, "identifierName": "screenSpace" }, "name": "screenSpace" }, "property": { "type": "Identifier", "start": 12590, "end": 12600, "loc": { "start": { "line": 382, "column": 27 }, "end": { "line": 382, "column": 37 }, "identifierName": "addScalars" }, "name": "addScalars" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 12601, "end": 12624, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 61 } }, "left": { "type": "MemberExpression", "start": 12601, "end": 12620, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 57 } }, "object": { "type": "MemberExpression", "start": 12601, "end": 12610, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 47 } }, "object": { "type": "ThisExpression", "start": 12601, "end": 12605, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 42 } } }, "property": { "type": "Identifier", "start": 12606, "end": 12610, "loc": { "start": { "line": 382, "column": 43 }, "end": { "line": 382, "column": 47 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12611, "end": 12620, "loc": { "start": { "line": 382, "column": 48 }, "end": { "line": 382, "column": 57 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 12623, "end": 12624, "loc": { "start": { "line": 382, "column": 60 }, "end": { "line": 382, "column": 61 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 12626, "end": 12650, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 87 } }, "left": { "type": "MemberExpression", "start": 12626, "end": 12646, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 83 } }, "object": { "type": "MemberExpression", "start": 12626, "end": 12635, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 72 } }, "object": { "type": "ThisExpression", "start": 12626, "end": 12630, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 67 } } }, "property": { "type": "Identifier", "start": 12631, "end": 12635, "loc": { "start": { "line": 382, "column": 68 }, "end": { "line": 382, "column": 72 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 12636, "end": 12646, "loc": { "start": { "line": 382, "column": 73 }, "end": { "line": 382, "column": 83 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 12649, "end": 12650, "loc": { "start": { "line": 382, "column": 86 }, "end": { "line": 382, "column": 87 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Converts from world to screen space\r\n * @param {Vector} world\r\n * @returns {Vector} screen space\r\n ", "start": 12324, "end": 12449, "loc": { "start": { "line": 375, "column": 4 }, "end": { "line": 379, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if a point is on screen\r\n * @param {Vector} point\r\n * @returns {boolean} true if its on screen\r\n ", "start": 12667, "end": 12798, "loc": { "start": { "line": 385, "column": 4 }, "end": { "line": 389, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12804, "end": 12939, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 393, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12804, "end": 12824, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 24 }, "identifierName": "isWorldPointOnScreen" }, "name": "isWorldPointOnScreen", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12825, "end": 12830, "loc": { "start": { "line": 390, "column": 25 }, "end": { "line": 390, "column": 30 }, "identifierName": "point" }, "name": "point" } ], "body": { "type": "BlockStatement", "start": 12832, "end": 12939, "loc": { "start": { "line": 390, "column": 32 }, "end": { "line": 393, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12843, "end": 12878, "loc": { "start": { "line": 391, "column": 8 }, "end": { "line": 391, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12849, "end": 12877, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 42 } }, "id": { "type": "Identifier", "start": 12849, "end": 12853, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 18 }, "identifierName": "rect" }, "name": "rect" }, "init": { "type": "CallExpression", "start": 12856, "end": 12877, "loc": { "start": { "line": 391, "column": 21 }, "end": { "line": 391, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12856, "end": 12875, "loc": { "start": { "line": 391, "column": 21 }, "end": { "line": 391, "column": 40 } }, "object": { "type": "ThisExpression", "start": 12856, "end": 12860, "loc": { "start": { "line": 391, "column": 21 }, "end": { "line": 391, "column": 25 } } }, "property": { "type": "Identifier", "start": 12861, "end": 12875, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 40 }, "identifierName": "getVisibleRect" }, "name": "getVisibleRect" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 12888, "end": 12932, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 52 } }, "argument": { "type": "CallExpression", "start": 12895, "end": 12931, "loc": { "start": { "line": 392, "column": 15 }, "end": { "line": 392, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 12895, "end": 12913, "loc": { "start": { "line": 392, "column": 15 }, "end": { "line": 392, "column": 33 } }, "object": { "type": "Identifier", "start": 12895, "end": 12899, "loc": { "start": { "line": 392, "column": 15 }, "end": { "line": 392, "column": 19 }, "identifierName": "rect" }, "name": "rect" }, "property": { "type": "Identifier", "start": 12900, "end": 12913, "loc": { "start": { "line": 392, "column": 20 }, "end": { "line": 392, "column": 33 }, "identifierName": "containsPoint" }, "name": "containsPoint" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12914, "end": 12921, "loc": { "start": { "line": 392, "column": 34 }, "end": { "line": 392, "column": 41 } }, "object": { "type": "Identifier", "start": 12914, "end": 12919, "loc": { "start": { "line": 392, "column": 34 }, "end": { "line": 392, "column": 39 }, "identifierName": "point" }, "name": "point" }, "property": { "type": "Identifier", "start": 12920, "end": 12921, "loc": { "start": { "line": 392, "column": 40 }, "end": { "line": 392, "column": 41 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 12923, "end": 12930, "loc": { "start": { "line": 392, "column": 43 }, "end": { "line": 392, "column": 50 } }, "object": { "type": "Identifier", "start": 12923, "end": 12928, "loc": { "start": { "line": 392, "column": 43 }, "end": { "line": 392, "column": 48 }, "identifierName": "point" }, "name": "point" }, "property": { "type": "Identifier", "start": 12929, "end": 12930, "loc": { "start": { "line": 392, "column": 49 }, "end": { "line": 392, "column": 50 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if a point is on screen\r\n * @param {Vector} point\r\n * @returns {boolean} true if its on screen\r\n ", "start": 12667, "end": 12798, "loc": { "start": { "line": 385, "column": 4 }, "end": { "line": 389, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom in\r\n * @returns {boolean}\r\n ", "start": 12947, "end": 13028, "loc": { "start": { "line": 395, "column": 4 }, "end": { "line": 398, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13034, "end": 13179, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 402, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13034, "end": 13043, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 13 }, "identifierName": "canZoomIn" }, "name": "canZoomIn", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13046, "end": 13179, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 402, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 13057, "end": 13121, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13063, "end": 13120, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 71 } }, "id": { "type": "Identifier", "start": 13063, "end": 13071, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 22 }, "identifierName": "maxLevel" }, "name": "maxLevel" }, "init": { "type": "CallExpression", "start": 13074, "end": 13120, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 13074, "end": 13118, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 69 } }, "object": { "type": "MemberExpression", "start": 13074, "end": 13103, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 54 } }, "object": { "type": "MemberExpression", "start": 13074, "end": 13087, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13074, "end": 13083, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 34 } }, "object": { "type": "ThisExpression", "start": 13074, "end": 13078, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 29 } } }, "property": { "type": "Identifier", "start": 13079, "end": 13083, "loc": { "start": { "line": 400, "column": 30 }, "end": { "line": 400, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13084, "end": 13087, "loc": { "start": { "line": 400, "column": 35 }, "end": { "line": 400, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 13088, "end": 13103, "loc": { "start": { "line": 400, "column": 39 }, "end": { "line": 400, "column": 54 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "property": { "type": "Identifier", "start": 13104, "end": 13118, "loc": { "start": { "line": 400, "column": 55 }, "end": { "line": 400, "column": 69 }, "identifierName": "getMaximumZoom" }, "name": "getMaximumZoom" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 13131, "end": 13172, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "column": 49 } }, "argument": { "type": "BinaryExpression", "start": 13138, "end": 13171, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 48 } }, "left": { "type": "MemberExpression", "start": 13138, "end": 13152, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 29 } }, "object": { "type": "ThisExpression", "start": 13138, "end": 13142, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 19 } } }, "property": { "type": "Identifier", "start": 13143, "end": 13152, "loc": { "start": { "line": 401, "column": 20 }, "end": { "line": 401, "column": 29 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "<=", "right": { "type": "BinaryExpression", "start": 13156, "end": 13171, "loc": { "start": { "line": 401, "column": 33 }, "end": { "line": 401, "column": 48 } }, "left": { "type": "Identifier", "start": 13156, "end": 13164, "loc": { "start": { "line": 401, "column": 33 }, "end": { "line": 401, "column": 41 }, "identifierName": "maxLevel" }, "name": "maxLevel" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 13167, "end": 13171, "loc": { "start": { "line": 401, "column": 44 }, "end": { "line": 401, "column": 48 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom in\r\n * @returns {boolean}\r\n ", "start": 12947, "end": 13028, "loc": { "start": { "line": 395, "column": 4 }, "end": { "line": 398, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom out\r\n * @returns {boolean}\r\n ", "start": 13187, "end": 13269, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 407, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13275, "end": 13421, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 411, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13275, "end": 13285, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 14 }, "identifierName": "canZoomOut" }, "name": "canZoomOut", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13288, "end": 13421, "loc": { "start": { "line": 408, "column": 17 }, "end": { "line": 411, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 13299, "end": 13363, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13305, "end": 13362, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 71 } }, "id": { "type": "Identifier", "start": 13305, "end": 13313, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 22 }, "identifierName": "minLevel" }, "name": "minLevel" }, "init": { "type": "CallExpression", "start": 13316, "end": 13362, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 13316, "end": 13360, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 69 } }, "object": { "type": "MemberExpression", "start": 13316, "end": 13345, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 54 } }, "object": { "type": "MemberExpression", "start": 13316, "end": 13329, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13316, "end": 13325, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 34 } }, "object": { "type": "ThisExpression", "start": 13316, "end": 13320, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 29 } } }, "property": { "type": "Identifier", "start": 13321, "end": 13325, "loc": { "start": { "line": 409, "column": 30 }, "end": { "line": 409, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13326, "end": 13329, "loc": { "start": { "line": 409, "column": 35 }, "end": { "line": 409, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 13330, "end": 13345, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 54 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "property": { "type": "Identifier", "start": 13346, "end": 13360, "loc": { "start": { "line": 409, "column": 55 }, "end": { "line": 409, "column": 69 }, "identifierName": "getMinimumZoom" }, "name": "getMinimumZoom" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 13373, "end": 13414, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 49 } }, "argument": { "type": "BinaryExpression", "start": 13380, "end": 13413, "loc": { "start": { "line": 410, "column": 15 }, "end": { "line": 410, "column": 48 } }, "left": { "type": "MemberExpression", "start": 13380, "end": 13394, "loc": { "start": { "line": 410, "column": 15 }, "end": { "line": 410, "column": 29 } }, "object": { "type": "ThisExpression", "start": 13380, "end": 13384, "loc": { "start": { "line": 410, "column": 15 }, "end": { "line": 410, "column": 19 } } }, "property": { "type": "Identifier", "start": 13385, "end": 13394, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 29 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": ">=", "right": { "type": "BinaryExpression", "start": 13398, "end": 13413, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 410, "column": 48 } }, "left": { "type": "Identifier", "start": 13398, "end": 13406, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 410, "column": 41 }, "identifierName": "minLevel" }, "name": "minLevel" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 13409, "end": 13413, "loc": { "start": { "line": 410, "column": 44 }, "end": { "line": 410, "column": 48 } }, "extra": { "rawValue": 0.01, "raw": "0.01" }, "value": 0.01 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom out\r\n * @returns {boolean}\r\n ", "start": 13187, "end": 13269, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 407, "column": 7 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " EVENTS", "start": 13429, "end": 13438, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the mouse event is too close after a touch event and thus\r\n * should get ignored\r\n ", "start": 13446, "end": 13561, "loc": { "start": { "line": 415, "column": 4 }, "end": { "line": 418, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13567, "end": 13741, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 424, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13567, "end": 13590, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 27 }, "identifierName": "checkPreventDoubleMouse" }, "name": "checkPreventDoubleMouse", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13593, "end": 13741, "loc": { "start": { "line": 419, "column": 30 }, "end": { "line": 424, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13604, "end": 13712, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 422, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 13608, "end": 13671, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 75 } }, "left": { "type": "BinaryExpression", "start": 13608, "end": 13662, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 66 } }, "left": { "type": "CallExpression", "start": 13608, "end": 13625, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 13608, "end": 13623, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 27 } }, "object": { "type": "Identifier", "start": 13608, "end": 13619, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 23 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 13620, "end": 13623, "loc": { "start": { "line": 420, "column": 24 }, "end": { "line": 420, "column": 27 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "MemberExpression", "start": 13628, "end": 13662, "loc": { "start": { "line": 420, "column": 32 }, "end": { "line": 420, "column": 66 } }, "object": { "type": "Identifier", "start": 13628, "end": 13648, "loc": { "start": { "line": 420, "column": 32 }, "end": { "line": 420, "column": 52 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" }, "property": { "type": "Identifier", "start": 13649, "end": 13662, "loc": { "start": { "line": 420, "column": 53 }, "end": { "line": 420, "column": 66 }, "identifierName": "lastTouchTime" }, "name": "lastTouchTime" }, "computed": false } }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13665, "end": 13671, "loc": { "start": { "line": 420, "column": 69 }, "end": { "line": 420, "column": 75 } }, "extra": { "rawValue": 1000, "raw": "1000.0" }, "value": 1000 } }, "consequent": { "type": "BlockStatement", "start": 13673, "end": 13712, "loc": { "start": { "line": 420, "column": 77 }, "end": { "line": 422, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 13688, "end": 13701, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 13695, "end": 13700, "loc": { "start": { "line": 421, "column": 19 }, "end": { "line": 421, "column": 24 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13722, "end": 13734, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 13729, "end": 13733, "loc": { "start": { "line": 423, "column": 15 }, "end": { "line": 423, "column": 19 } }, "value": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " EVENTS", "start": 13429, "end": 13438, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the mouse event is too close after a touch event and thus\r\n * should get ignored\r\n ", "start": 13446, "end": 13561, "loc": { "start": { "line": 415, "column": 4 }, "end": { "line": 418, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousedown handler\r\n * @param {MouseEvent} event\r\n ", "start": 13749, "end": 13821, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 429, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13827, "end": 14567, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 449, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13827, "end": 13838, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 15 }, "identifierName": "onMouseDown" }, "name": "onMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13839, "end": 13844, "loc": { "start": { "line": 430, "column": 16 }, "end": { "line": 430, "column": 21 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 13846, "end": 14567, "loc": { "start": { "line": 430, "column": 23 }, "end": { "line": 449, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13857, "end": 13969, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 434, "column": 9 } }, "test": { "type": "MemberExpression", "start": 13861, "end": 13877, "loc": { "start": { "line": 431, "column": 12 }, "end": { "line": 431, "column": 28 } }, "object": { "type": "Identifier", "start": 13861, "end": 13866, "loc": { "start": { "line": 431, "column": 12 }, "end": { "line": 431, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 13867, "end": 13877, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 28 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 13879, "end": 13969, "loc": { "start": { "line": 431, "column": 30 }, "end": { "line": 434, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 13894, "end": 13917, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 35 } }, "expression": { "type": "CallExpression", "start": 13894, "end": 13916, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 13894, "end": 13914, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 32 } }, "object": { "type": "Identifier", "start": 13894, "end": 13899, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 13900, "end": 13914, "loc": { "start": { "line": 432, "column": 18 }, "end": { "line": 432, "column": 32 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 13931, "end": 13958, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 13981, "end": 14051, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 438, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 13985, "end": 14016, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 13986, "end": 14016, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 13986, "end": 14014, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 41 } }, "object": { "type": "ThisExpression", "start": 13986, "end": 13990, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 17 } } }, "property": { "type": "Identifier", "start": 13991, "end": 14014, "loc": { "start": { "line": 436, "column": 18 }, "end": { "line": 436, "column": 41 }, "identifierName": "checkPreventDoubleMouse" }, "name": "checkPreventDoubleMouse" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14018, "end": 14051, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 438, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 14033, "end": 14040, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 14063, "end": 14109, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 14063, "end": 14108, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14063, "end": 14089, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 34 } }, "object": { "type": "ThisExpression", "start": 14063, "end": 14067, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 12 } } }, "property": { "type": "Identifier", "start": 14068, "end": 14089, "loc": { "start": { "line": 440, "column": 13 }, "end": { "line": 440, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "NewExpression", "start": 14092, "end": 14108, "loc": { "start": { "line": 440, "column": 37 }, "end": { "line": 440, "column": 53 } }, "callee": { "type": "Identifier", "start": 14096, "end": 14102, "loc": { "start": { "line": 440, "column": 41 }, "end": { "line": 440, "column": 47 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 14103, "end": 14104, "loc": { "start": { "line": 440, "column": 48 }, "end": { "line": 440, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 14106, "end": 14107, "loc": { "start": { "line": 440, "column": 51 }, "end": { "line": 440, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } }, { "type": "IfStatement", "start": 14119, "end": 14537, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 447, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 14123, "end": 14141, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 441, "column": 30 } }, "left": { "type": "MemberExpression", "start": 14123, "end": 14135, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 441, "column": 24 } }, "object": { "type": "Identifier", "start": 14123, "end": 14128, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 441, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14129, "end": 14135, "loc": { "start": { "line": 441, "column": 18 }, "end": { "line": 441, "column": 24 }, "identifierName": "button" }, "name": "button" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14140, "end": 14141, "loc": { "start": { "line": 441, "column": 29 }, "end": { "line": 441, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 14143, "end": 14236, "loc": { "start": { "line": 441, "column": 32 }, "end": { "line": 443, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14158, "end": 14225, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 79 } }, "expression": { "type": "CallExpression", "start": 14158, "end": 14224, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 14158, "end": 14194, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 48 } }, "object": { "type": "ThisExpression", "start": 14158, "end": 14162, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 16 } } }, "property": { "type": "Identifier", "start": 14163, "end": 14194, "loc": { "start": { "line": 442, "column": 17 }, "end": { "line": 442, "column": 48 }, "identifierName": "combinedSingleTouchStartHandler" }, "name": "combinedSingleTouchStartHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 14195, "end": 14208, "loc": { "start": { "line": 442, "column": 49 }, "end": { "line": 442, "column": 62 } }, "object": { "type": "Identifier", "start": 14195, "end": 14200, "loc": { "start": { "line": 442, "column": 49 }, "end": { "line": 442, "column": 54 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14201, "end": 14208, "loc": { "start": { "line": 442, "column": 55 }, "end": { "line": 442, "column": 62 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 14210, "end": 14223, "loc": { "start": { "line": 442, "column": 64 }, "end": { "line": 442, "column": 77 } }, "object": { "type": "Identifier", "start": 14210, "end": 14215, "loc": { "start": { "line": 442, "column": 64 }, "end": { "line": 442, "column": 69 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14216, "end": 14223, "loc": { "start": { "line": 442, "column": 70 }, "end": { "line": 442, "column": 77 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 14242, "end": 14537, "loc": { "start": { "line": 443, "column": 15 }, "end": { "line": 447, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 14246, "end": 14264, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 37 } }, "left": { "type": "MemberExpression", "start": 14246, "end": 14258, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 31 } }, "object": { "type": "Identifier", "start": 14246, "end": 14251, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 24 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14252, "end": 14258, "loc": { "start": { "line": 443, "column": 25 }, "end": { "line": 443, "column": 31 }, "identifierName": "button" }, "name": "button" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14263, "end": 14264, "loc": { "start": { "line": 443, "column": 36 }, "end": { "line": 443, "column": 37 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 14266, "end": 14387, "loc": { "start": { "line": 443, "column": 39 }, "end": { "line": 445, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14281, "end": 14376, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 107 } }, "expression": { "type": "CallExpression", "start": 14281, "end": 14375, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 106 } }, "callee": { "type": "MemberExpression", "start": 14281, "end": 14309, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 40 } }, "object": { "type": "MemberExpression", "start": 14281, "end": 14300, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 31 } }, "object": { "type": "ThisExpression", "start": 14281, "end": 14285, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 16 } } }, "property": { "type": "Identifier", "start": 14286, "end": 14300, "loc": { "start": { "line": 444, "column": 17 }, "end": { "line": 444, "column": 31 }, "identifierName": "downPreHandler" }, "name": "downPreHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 14301, "end": 14309, "loc": { "start": { "line": 444, "column": 32 }, "end": { "line": 444, "column": 40 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 14310, "end": 14350, "loc": { "start": { "line": 444, "column": 41 }, "end": { "line": 444, "column": 81 } }, "callee": { "type": "Identifier", "start": 14314, "end": 14320, "loc": { "start": { "line": 444, "column": 45 }, "end": { "line": 444, "column": 51 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 14321, "end": 14334, "loc": { "start": { "line": 444, "column": 52 }, "end": { "line": 444, "column": 65 } }, "object": { "type": "Identifier", "start": 14321, "end": 14326, "loc": { "start": { "line": 444, "column": 52 }, "end": { "line": 444, "column": 57 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14327, "end": 14334, "loc": { "start": { "line": 444, "column": 58 }, "end": { "line": 444, "column": 65 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 14336, "end": 14349, "loc": { "start": { "line": 444, "column": 67 }, "end": { "line": 444, "column": 80 } }, "object": { "type": "Identifier", "start": 14336, "end": 14341, "loc": { "start": { "line": 444, "column": 67 }, "end": { "line": 444, "column": 72 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14342, "end": 14349, "loc": { "start": { "line": 444, "column": 73 }, "end": { "line": 444, "column": 80 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] }, { "type": "MemberExpression", "start": 14352, "end": 14374, "loc": { "start": { "line": 444, "column": 83 }, "end": { "line": 444, "column": 105 } }, "object": { "type": "Identifier", "start": 14352, "end": 14367, "loc": { "start": { "line": 444, "column": 83 }, "end": { "line": 444, "column": 98 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 14368, "end": 14374, "loc": { "start": { "line": 444, "column": 99 }, "end": { "line": 444, "column": 105 }, "identifierName": "middle" }, "name": "middle" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 14393, "end": 14537, "loc": { "start": { "line": 445, "column": 15 }, "end": { "line": 447, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 14397, "end": 14415, "loc": { "start": { "line": 445, "column": 19 }, "end": { "line": 445, "column": 37 } }, "left": { "type": "MemberExpression", "start": 14397, "end": 14409, "loc": { "start": { "line": 445, "column": 19 }, "end": { "line": 445, "column": 31 } }, "object": { "type": "Identifier", "start": 14397, "end": 14402, "loc": { "start": { "line": 445, "column": 19 }, "end": { "line": 445, "column": 24 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14403, "end": 14409, "loc": { "start": { "line": 445, "column": 25 }, "end": { "line": 445, "column": 31 }, "identifierName": "button" }, "name": "button" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14414, "end": 14415, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 37 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 14417, "end": 14537, "loc": { "start": { "line": 445, "column": 39 }, "end": { "line": 447, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14432, "end": 14526, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 106 } }, "expression": { "type": "CallExpression", "start": 14432, "end": 14525, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 14432, "end": 14460, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 40 } }, "object": { "type": "MemberExpression", "start": 14432, "end": 14451, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 31 } }, "object": { "type": "ThisExpression", "start": 14432, "end": 14436, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 16 } } }, "property": { "type": "Identifier", "start": 14437, "end": 14451, "loc": { "start": { "line": 446, "column": 17 }, "end": { "line": 446, "column": 31 }, "identifierName": "downPreHandler" }, "name": "downPreHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 14452, "end": 14460, "loc": { "start": { "line": 446, "column": 32 }, "end": { "line": 446, "column": 40 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 14461, "end": 14501, "loc": { "start": { "line": 446, "column": 41 }, "end": { "line": 446, "column": 81 } }, "callee": { "type": "Identifier", "start": 14465, "end": 14471, "loc": { "start": { "line": 446, "column": 45 }, "end": { "line": 446, "column": 51 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 14472, "end": 14485, "loc": { "start": { "line": 446, "column": 52 }, "end": { "line": 446, "column": 65 } }, "object": { "type": "Identifier", "start": 14472, "end": 14477, "loc": { "start": { "line": 446, "column": 52 }, "end": { "line": 446, "column": 57 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14478, "end": 14485, "loc": { "start": { "line": 446, "column": 58 }, "end": { "line": 446, "column": 65 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 14487, "end": 14500, "loc": { "start": { "line": 446, "column": 67 }, "end": { "line": 446, "column": 80 } }, "object": { "type": "Identifier", "start": 14487, "end": 14492, "loc": { "start": { "line": 446, "column": 67 }, "end": { "line": 446, "column": 72 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14493, "end": 14500, "loc": { "start": { "line": 446, "column": 73 }, "end": { "line": 446, "column": 80 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] }, { "type": "MemberExpression", "start": 14503, "end": 14524, "loc": { "start": { "line": 446, "column": 83 }, "end": { "line": 446, "column": 104 } }, "object": { "type": "Identifier", "start": 14503, "end": 14518, "loc": { "start": { "line": 446, "column": 83 }, "end": { "line": 446, "column": 98 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 14519, "end": 14524, "loc": { "start": { "line": 446, "column": 99 }, "end": { "line": 446, "column": 104 }, "identifierName": "right" }, "name": "right" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } } }, { "type": "ReturnStatement", "start": 14547, "end": 14560, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 14554, "end": 14559, "loc": { "start": { "line": 448, "column": 15 }, "end": { "line": 448, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousedown handler\r\n * @param {MouseEvent} event\r\n ", "start": 13749, "end": 13821, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 429, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousemove handler\r\n * @param {MouseEvent} event\r\n ", "start": 14575, "end": 14647, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 454, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 14653, "end": 15109, "loc": { "start": { "line": 455, "column": 4 }, "end": { "line": 472, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14653, "end": 14664, "loc": { "start": { "line": 455, "column": 4 }, "end": { "line": 455, "column": 15 }, "identifierName": "onMouseMove" }, "name": "onMouseMove", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14665, "end": 14670, "loc": { "start": { "line": 455, "column": 16 }, "end": { "line": 455, "column": 21 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 14672, "end": 15109, "loc": { "start": { "line": 455, "column": 23 }, "end": { "line": 472, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 14683, "end": 14795, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 459, "column": 9 } }, "test": { "type": "MemberExpression", "start": 14687, "end": 14703, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 28 } }, "object": { "type": "Identifier", "start": 14687, "end": 14692, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14693, "end": 14703, "loc": { "start": { "line": 456, "column": 18 }, "end": { "line": 456, "column": 28 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 14705, "end": 14795, "loc": { "start": { "line": 456, "column": 30 }, "end": { "line": 459, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14720, "end": 14743, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 35 } }, "expression": { "type": "CallExpression", "start": 14720, "end": 14742, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 14720, "end": 14740, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 32 } }, "object": { "type": "Identifier", "start": 14720, "end": 14725, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14726, "end": 14740, "loc": { "start": { "line": 457, "column": 18 }, "end": { "line": 457, "column": 32 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 14757, "end": 14784, "loc": { "start": { "line": 458, "column": 12 }, "end": { "line": 458, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 14807, "end": 14877, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 463, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 14811, "end": 14842, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14812, "end": 14842, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14812, "end": 14840, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 41 } }, "object": { "type": "ThisExpression", "start": 14812, "end": 14816, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 17 } } }, "property": { "type": "Identifier", "start": 14817, "end": 14840, "loc": { "start": { "line": 461, "column": 18 }, "end": { "line": 461, "column": 41 }, "identifierName": "checkPreventDoubleMouse" }, "name": "checkPreventDoubleMouse" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14844, "end": 14877, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 463, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 14859, "end": 14866, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 14889, "end": 15005, "loc": { "start": { "line": 465, "column": 8 }, "end": { "line": 467, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 14893, "end": 14911, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 30 } }, "left": { "type": "MemberExpression", "start": 14893, "end": 14905, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 24 } }, "object": { "type": "Identifier", "start": 14893, "end": 14898, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14899, "end": 14905, "loc": { "start": { "line": 465, "column": 18 }, "end": { "line": 465, "column": 24 }, "identifierName": "button" }, "name": "button" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14910, "end": 14911, "loc": { "start": { "line": 465, "column": 29 }, "end": { "line": 465, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 14913, "end": 15005, "loc": { "start": { "line": 465, "column": 32 }, "end": { "line": 467, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14928, "end": 14994, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 466, "column": 78 } }, "expression": { "type": "CallExpression", "start": 14928, "end": 14993, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 466, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 14928, "end": 14963, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 466, "column": 47 } }, "object": { "type": "ThisExpression", "start": 14928, "end": 14932, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 466, "column": 16 } } }, "property": { "type": "Identifier", "start": 14933, "end": 14963, "loc": { "start": { "line": 466, "column": 17 }, "end": { "line": 466, "column": 47 }, "identifierName": "combinedSingleTouchMoveHandler" }, "name": "combinedSingleTouchMoveHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 14964, "end": 14977, "loc": { "start": { "line": 466, "column": 48 }, "end": { "line": 466, "column": 61 } }, "object": { "type": "Identifier", "start": 14964, "end": 14969, "loc": { "start": { "line": 466, "column": 48 }, "end": { "line": 466, "column": 53 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14970, "end": 14977, "loc": { "start": { "line": 466, "column": 54 }, "end": { "line": 466, "column": 61 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 14979, "end": 14992, "loc": { "start": { "line": 466, "column": 63 }, "end": { "line": 466, "column": 76 } }, "object": { "type": "Identifier", "start": 14979, "end": 14984, "loc": { "start": { "line": 466, "column": 63 }, "end": { "line": 466, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14985, "end": 14992, "loc": { "start": { "line": 466, "column": 69 }, "end": { "line": 466, "column": 76 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 15017, "end": 15047, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 38 } } } ] }, { "type": "ExpressionStatement", "start": 15057, "end": 15079, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 30 } }, "expression": { "type": "CallExpression", "start": 15057, "end": 15078, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 15057, "end": 15076, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 27 } }, "object": { "type": "ThisExpression", "start": 15057, "end": 15061, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15062, "end": 15076, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 15017, "end": 15047, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 38 } } } ] }, { "type": "ReturnStatement", "start": 15089, "end": 15102, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 15096, "end": 15101, "loc": { "start": { "line": 471, "column": 15 }, "end": { "line": 471, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousemove handler\r\n * @param {MouseEvent} event\r\n ", "start": 14575, "end": 14647, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 454, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mouseup handler\r\n * @param {MouseEvent=} event\r\n ", "start": 15117, "end": 15188, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 477, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 15194, "end": 15573, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 492, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15194, "end": 15203, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 13 }, "identifierName": "onMouseUp" }, "name": "onMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15204, "end": 15209, "loc": { "start": { "line": 478, "column": 14 }, "end": { "line": 478, "column": 19 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 15211, "end": 15573, "loc": { "start": { "line": 478, "column": 21 }, "end": { "line": 492, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 15222, "end": 15383, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 484, "column": 9 } }, "test": { "type": "Identifier", "start": 15226, "end": 15231, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 17 }, "identifierName": "event" }, "name": "event" }, "consequent": { "type": "BlockStatement", "start": 15233, "end": 15383, "loc": { "start": { "line": 479, "column": 19 }, "end": { "line": 484, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 15248, "end": 15372, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 483, "column": 13 } }, "test": { "type": "MemberExpression", "start": 15252, "end": 15268, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 15252, "end": 15257, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 21 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15258, "end": 15268, "loc": { "start": { "line": 480, "column": 22 }, "end": { "line": 480, "column": 32 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15270, "end": 15372, "loc": { "start": { "line": 480, "column": 34 }, "end": { "line": 483, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15289, "end": 15312, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 39 } }, "expression": { "type": "CallExpression", "start": 15289, "end": 15311, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 15289, "end": 15309, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 36 } }, "object": { "type": "Identifier", "start": 15289, "end": 15294, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 21 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15295, "end": 15309, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 36 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15330, "end": 15357, "loc": { "start": { "line": 482, "column": 16 }, "end": { "line": 482, "column": 43 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 15395, "end": 15465, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 488, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 15399, "end": 15430, "loc": { "start": { "line": 486, "column": 12 }, "end": { "line": 486, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 15400, "end": 15430, "loc": { "start": { "line": 486, "column": 13 }, "end": { "line": 486, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 15400, "end": 15428, "loc": { "start": { "line": 486, "column": 13 }, "end": { "line": 486, "column": 41 } }, "object": { "type": "ThisExpression", "start": 15400, "end": 15404, "loc": { "start": { "line": 486, "column": 13 }, "end": { "line": 486, "column": 17 } } }, "property": { "type": "Identifier", "start": 15405, "end": 15428, "loc": { "start": { "line": 486, "column": 18 }, "end": { "line": 486, "column": 41 }, "identifierName": "checkPreventDoubleMouse" }, "name": "checkPreventDoubleMouse" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 15432, "end": 15465, "loc": { "start": { "line": 486, "column": 45 }, "end": { "line": 488, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 15447, "end": 15454, "loc": { "start": { "line": 487, "column": 12 }, "end": { "line": 487, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 15477, "end": 15543, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 74 } }, "expression": { "type": "CallExpression", "start": 15477, "end": 15542, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 15477, "end": 15512, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 43 } }, "object": { "type": "ThisExpression", "start": 15477, "end": 15481, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 12 } } }, "property": { "type": "Identifier", "start": 15482, "end": 15512, "loc": { "start": { "line": 490, "column": 13 }, "end": { "line": 490, "column": 43 }, "identifierName": "combinedSingleTouchStopHandler" }, "name": "combinedSingleTouchStopHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15513, "end": 15526, "loc": { "start": { "line": 490, "column": 44 }, "end": { "line": 490, "column": 57 } }, "object": { "type": "Identifier", "start": 15513, "end": 15518, "loc": { "start": { "line": 490, "column": 44 }, "end": { "line": 490, "column": 49 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15519, "end": 15526, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 57 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 15528, "end": 15541, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 72 } }, "object": { "type": "Identifier", "start": 15528, "end": 15533, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15534, "end": 15541, "loc": { "start": { "line": 490, "column": 65 }, "end": { "line": 490, "column": 72 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } }, { "type": "ReturnStatement", "start": 15553, "end": 15566, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 15560, "end": 15565, "loc": { "start": { "line": 491, "column": 15 }, "end": { "line": 491, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mouseup handler\r\n * @param {MouseEvent=} event\r\n ", "start": 15117, "end": 15188, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 477, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousewheel event\r\n * @param {WheelEvent} event\r\n ", "start": 15581, "end": 15652, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 497, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 15658, "end": 17015, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 528, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15658, "end": 15670, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 16 }, "identifierName": "onMouseWheel" }, "name": "onMouseWheel", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15671, "end": 15676, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 22 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 15678, "end": 17015, "loc": { "start": { "line": 498, "column": 24 }, "end": { "line": 528, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 15689, "end": 15801, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 502, "column": 9 } }, "test": { "type": "MemberExpression", "start": 15693, "end": 15709, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 28 } }, "object": { "type": "Identifier", "start": 15693, "end": 15698, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15699, "end": 15709, "loc": { "start": { "line": 499, "column": 18 }, "end": { "line": 499, "column": 28 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15711, "end": 15801, "loc": { "start": { "line": 499, "column": 30 }, "end": { "line": 502, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 15726, "end": 15749, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 35 } }, "expression": { "type": "CallExpression", "start": 15726, "end": 15748, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 15726, "end": 15746, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 32 } }, "object": { "type": "Identifier", "start": 15726, "end": 15731, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15732, "end": 15746, "loc": { "start": { "line": 500, "column": 18 }, "end": { "line": 500, "column": 32 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15763, "end": 15790, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 501, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 15811, "end": 15843, "loc": { "start": { "line": 503, "column": 8 }, "end": { "line": 503, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15817, "end": 15842, "loc": { "start": { "line": 503, "column": 14 }, "end": { "line": 503, "column": 39 } }, "id": { "type": "Identifier", "start": 15817, "end": 15825, "loc": { "start": { "line": 503, "column": 14 }, "end": { "line": 503, "column": 22 }, "identifierName": "prevZoom" }, "name": "prevZoom" }, "init": { "type": "MemberExpression", "start": 15828, "end": 15842, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 39 } }, "object": { "type": "ThisExpression", "start": 15828, "end": 15832, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 29 } } }, "property": { "type": "Identifier", "start": 15833, "end": 15842, "loc": { "start": { "line": 503, "column": 30 }, "end": { "line": 503, "column": 39 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 15855, "end": 15931, "loc": { "start": { "line": 505, "column": 8 }, "end": { "line": 505, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15861, "end": 15930, "loc": { "start": { "line": 505, "column": 14 }, "end": { "line": 505, "column": 83 } }, "id": { "type": "Identifier", "start": 15861, "end": 15866, "loc": { "start": { "line": 505, "column": 14 }, "end": { "line": 505, "column": 19 }, "identifierName": "scale" }, "name": "scale" }, "init": { "type": "BinaryExpression", "start": 15869, "end": 15930, "loc": { "start": { "line": 505, "column": 22 }, "end": { "line": 505, "column": 83 } }, "left": { "type": "NumericLiteral", "start": 15869, "end": 15870, "loc": { "start": { "line": 505, "column": 22 }, "end": { "line": 505, "column": 23 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "BinaryExpression", "start": 15873, "end": 15930, "loc": { "start": { "line": 505, "column": 26 }, "end": { "line": 505, "column": 83 } }, "left": { "type": "NumericLiteral", "start": 15873, "end": 15877, "loc": { "start": { "line": 505, "column": 26 }, "end": { "line": 505, "column": 30 } }, "extra": { "rawValue": 0.15, "raw": "0.15" }, "value": 0.15 }, "operator": "*", "right": { "type": "CallExpression", "start": 15880, "end": 15930, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 15880, "end": 15928, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 81 } }, "object": { "type": "MemberExpression", "start": 15880, "end": 15902, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 55 } }, "object": { "type": "MemberExpression", "start": 15880, "end": 15893, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 46 } }, "object": { "type": "MemberExpression", "start": 15880, "end": 15889, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 42 } }, "object": { "type": "ThisExpression", "start": 15880, "end": 15884, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 37 } } }, "property": { "type": "Identifier", "start": 15885, "end": 15889, "loc": { "start": { "line": 505, "column": 38 }, "end": { "line": 505, "column": 42 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 15890, "end": 15893, "loc": { "start": { "line": 505, "column": 43 }, "end": { "line": 505, "column": 46 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 15894, "end": 15902, "loc": { "start": { "line": 505, "column": 47 }, "end": { "line": 505, "column": 55 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 15903, "end": 15928, "loc": { "start": { "line": 505, "column": 56 }, "end": { "line": 505, "column": 81 }, "identifierName": "getScrollWheelSensitivity" }, "name": "getScrollWheelSensitivity" }, "computed": false }, "arguments": [] } } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 15941, "end": 16031, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 506, "column": 98 } }, "expression": { "type": "CallExpression", "start": 15941, "end": 16030, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 506, "column": 97 } }, "callee": { "type": "Identifier", "start": 15941, "end": 15947, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 506, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 15948, "end": 15970, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 506, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 15948, "end": 15963, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 506, "column": 30 } }, "object": { "type": "Identifier", "start": 15948, "end": 15954, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 506, "column": 21 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 15955, "end": 15963, "loc": { "start": { "line": 506, "column": 22 }, "end": { "line": 506, "column": 30 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15964, "end": 15969, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 36 }, "identifierName": "scale" }, "name": "scale" } ] }, { "type": "BinaryExpression", "start": 15972, "end": 16029, "loc": { "start": { "line": 506, "column": 39 }, "end": { "line": 506, "column": 96 } }, "left": { "type": "StringLiteral", "start": 15972, "end": 16014, "loc": { "start": { "line": 506, "column": 39 }, "end": { "line": 506, "column": 81 } }, "extra": { "rawValue": "Got invalid scale in mouse wheel event: ", "raw": "\"Got invalid scale in mouse wheel event: \"" }, "value": "Got invalid scale in mouse wheel event: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 16017, "end": 16029, "loc": { "start": { "line": 506, "column": 84 }, "end": { "line": 506, "column": 96 } }, "object": { "type": "Identifier", "start": 16017, "end": 16022, "loc": { "start": { "line": 506, "column": 84 }, "end": { "line": 506, "column": 89 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 16023, "end": 16029, "loc": { "start": { "line": 506, "column": 90 }, "end": { "line": 506, "column": 96 }, "identifierName": "deltaY" }, "name": "deltaY" }, "computed": false } } ] } }, { "type": "ExpressionStatement", "start": 16041, "end": 16141, "loc": { "start": { "line": 507, "column": 8 }, "end": { "line": 507, "column": 108 } }, "expression": { "type": "CallExpression", "start": 16041, "end": 16140, "loc": { "start": { "line": 507, "column": 8 }, "end": { "line": 507, "column": 107 } }, "callee": { "type": "Identifier", "start": 16041, "end": 16047, "loc": { "start": { "line": 507, "column": 8 }, "end": { "line": 507, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 16048, "end": 16079, "loc": { "start": { "line": 507, "column": 15 }, "end": { "line": 507, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16048, "end": 16063, "loc": { "start": { "line": 507, "column": 15 }, "end": { "line": 507, "column": 30 } }, "object": { "type": "Identifier", "start": 16048, "end": 16054, "loc": { "start": { "line": 507, "column": 15 }, "end": { "line": 507, "column": 21 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 16055, "end": 16063, "loc": { "start": { "line": 507, "column": 22 }, "end": { "line": 507, "column": 30 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16064, "end": 16078, "loc": { "start": { "line": 507, "column": 31 }, "end": { "line": 507, "column": 45 } }, "object": { "type": "ThisExpression", "start": 16064, "end": 16068, "loc": { "start": { "line": 507, "column": 31 }, "end": { "line": 507, "column": 35 } } }, "property": { "type": "Identifier", "start": 16069, "end": 16078, "loc": { "start": { "line": 507, "column": 36 }, "end": { "line": 507, "column": 45 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 16081, "end": 16139, "loc": { "start": { "line": 507, "column": 48 }, "end": { "line": 507, "column": 106 } }, "left": { "type": "StringLiteral", "start": 16081, "end": 16122, "loc": { "start": { "line": 507, "column": 48 }, "end": { "line": 507, "column": 89 } }, "extra": { "rawValue": "Got invalid zoom level *before* wheel: ", "raw": "\"Got invalid zoom level *before* wheel: \"" }, "value": "Got invalid zoom level *before* wheel: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 16125, "end": 16139, "loc": { "start": { "line": 507, "column": 92 }, "end": { "line": 507, "column": 106 } }, "object": { "type": "ThisExpression", "start": 16125, "end": 16129, "loc": { "start": { "line": 507, "column": 92 }, "end": { "line": 507, "column": 96 } } }, "property": { "type": "Identifier", "start": 16130, "end": 16139, "loc": { "start": { "line": 507, "column": 97 }, "end": { "line": 507, "column": 106 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } }, { "type": "ExpressionStatement", "start": 16151, "end": 16206, "loc": { "start": { "line": 508, "column": 8 }, "end": { "line": 508, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 16151, "end": 16205, "loc": { "start": { "line": 508, "column": 8 }, "end": { "line": 508, "column": 62 } }, "operator": "*=", "left": { "type": "MemberExpression", "start": 16151, "end": 16165, "loc": { "start": { "line": 508, "column": 8 }, "end": { "line": 508, "column": 22 } }, "object": { "type": "ThisExpression", "start": 16151, "end": 16155, "loc": { "start": { "line": 508, "column": 8 }, "end": { "line": 508, "column": 12 } } }, "property": { "type": "Identifier", "start": 16156, "end": 16165, "loc": { "start": { "line": 508, "column": 13 }, "end": { "line": 508, "column": 22 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 16169, "end": 16205, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "column": 62 } }, "test": { "type": "BinaryExpression", "start": 16169, "end": 16185, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "column": 42 } }, "left": { "type": "MemberExpression", "start": 16169, "end": 16181, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "column": 38 } }, "object": { "type": "Identifier", "start": 16169, "end": 16174, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "column": 31 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 16175, "end": 16181, "loc": { "start": { "line": 508, "column": 32 }, "end": { "line": 508, "column": 38 }, "identifierName": "deltaY" }, "name": "deltaY" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 16184, "end": 16185, "loc": { "start": { "line": 508, "column": 41 }, "end": { "line": 508, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "Identifier", "start": 16188, "end": 16193, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 50 }, "identifierName": "scale" }, "name": "scale" }, "alternate": { "type": "BinaryExpression", "start": 16196, "end": 16205, "loc": { "start": { "line": 508, "column": 53 }, "end": { "line": 508, "column": 62 } }, "left": { "type": "NumericLiteral", "start": 16196, "end": 16197, "loc": { "start": { "line": 508, "column": 53 }, "end": { "line": 508, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "Identifier", "start": 16200, "end": 16205, "loc": { "start": { "line": 508, "column": 57 }, "end": { "line": 508, "column": 62 }, "identifierName": "scale" }, "name": "scale" } } } } }, { "type": "ExpressionStatement", "start": 16216, "end": 16315, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 107 } }, "expression": { "type": "CallExpression", "start": 16216, "end": 16314, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 106 } }, "callee": { "type": "Identifier", "start": 16216, "end": 16222, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 16223, "end": 16254, "loc": { "start": { "line": 509, "column": 15 }, "end": { "line": 509, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16223, "end": 16238, "loc": { "start": { "line": 509, "column": 15 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 16223, "end": 16229, "loc": { "start": { "line": 509, "column": 15 }, "end": { "line": 509, "column": 21 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 16230, "end": 16238, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 30 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16239, "end": 16253, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 45 } }, "object": { "type": "ThisExpression", "start": 16239, "end": 16243, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 35 } } }, "property": { "type": "Identifier", "start": 16244, "end": 16253, "loc": { "start": { "line": 509, "column": 36 }, "end": { "line": 509, "column": 45 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 16256, "end": 16313, "loc": { "start": { "line": 509, "column": 48 }, "end": { "line": 509, "column": 105 } }, "left": { "type": "StringLiteral", "start": 16256, "end": 16296, "loc": { "start": { "line": 509, "column": 48 }, "end": { "line": 509, "column": 88 } }, "extra": { "rawValue": "Got invalid zoom level *after* wheel: ", "raw": "\"Got invalid zoom level *after* wheel: \"" }, "value": "Got invalid zoom level *after* wheel: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 16299, "end": 16313, "loc": { "start": { "line": 509, "column": 91 }, "end": { "line": 509, "column": 105 } }, "object": { "type": "ThisExpression", "start": 16299, "end": 16303, "loc": { "start": { "line": 509, "column": 91 }, "end": { "line": 509, "column": 95 } } }, "property": { "type": "Identifier", "start": 16304, "end": 16313, "loc": { "start": { "line": 509, "column": 96 }, "end": { "line": 509, "column": 105 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } }, { "type": "ExpressionStatement", "start": 16327, "end": 16349, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 30 } }, "expression": { "type": "CallExpression", "start": 16327, "end": 16348, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 16327, "end": 16346, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 27 } }, "object": { "type": "ThisExpression", "start": 16327, "end": 16331, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 12 } } }, "property": { "type": "Identifier", "start": 16332, "end": 16346, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 16359, "end": 16383, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 16359, "end": 16382, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16359, "end": 16375, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 24 } }, "object": { "type": "ThisExpression", "start": 16359, "end": 16363, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 12 } } }, "property": { "type": "Identifier", "start": 16364, "end": 16375, "loc": { "start": { "line": 512, "column": 13 }, "end": { "line": 512, "column": 24 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "NullLiteral", "start": 16378, "end": 16382, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 31 } } } } }, { "type": "VariableDeclaration", "start": 16395, "end": 16443, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16399, "end": 16442, "loc": { "start": { "line": 514, "column": 12 }, "end": { "line": 514, "column": 55 } }, "id": { "type": "Identifier", "start": 16399, "end": 16412, "loc": { "start": { "line": 514, "column": 12 }, "end": { "line": 514, "column": 25 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "init": { "type": "MemberExpression", "start": 16415, "end": 16442, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 55 } }, "object": { "type": "MemberExpression", "start": 16415, "end": 16428, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 } }, "object": { "type": "MemberExpression", "start": 16415, "end": 16424, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 37 } }, "object": { "type": "ThisExpression", "start": 16415, "end": 16419, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 32 } } }, "property": { "type": "Identifier", "start": 16420, "end": 16424, "loc": { "start": { "line": 514, "column": 33 }, "end": { "line": 514, "column": 37 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16425, "end": 16428, "loc": { "start": { "line": 514, "column": 38 }, "end": { "line": 514, "column": 41 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 16429, "end": 16442, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 55 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "let" }, { "type": "IfStatement", "start": 16453, "end": 16616, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 517, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 16457, "end": 16510, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 65 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 16458, "end": 16510, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 65 } }, "object": { "type": "CallExpression", "start": 16458, "end": 16497, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 16458, "end": 16495, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 50 } }, "object": { "type": "MemberExpression", "start": 16458, "end": 16480, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 35 } }, "object": { "type": "MemberExpression", "start": 16458, "end": 16471, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 26 } }, "object": { "type": "MemberExpression", "start": 16458, "end": 16467, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 } }, "object": { "type": "ThisExpression", "start": 16458, "end": 16462, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 17 } } }, "property": { "type": "Identifier", "start": 16463, "end": 16467, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16468, "end": 16471, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 26 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 16472, "end": 16480, "loc": { "start": { "line": 515, "column": 27 }, "end": { "line": 515, "column": 35 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 16481, "end": 16495, "loc": { "start": { "line": 515, "column": 36 }, "end": { "line": 515, "column": 50 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 16498, "end": 16510, "loc": { "start": { "line": 515, "column": 53 }, "end": { "line": 515, "column": 65 }, "identifierName": "zoomToCursor" }, "name": "zoomToCursor" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 16512, "end": 16616, "loc": { "start": { "line": 515, "column": 67 }, "end": { "line": 517, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 16527, "end": 16605, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 90 } }, "expression": { "type": "AssignmentExpression", "start": 16527, "end": 16604, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 89 } }, "operator": "=", "left": { "type": "Identifier", "start": 16527, "end": 16540, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 25 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "right": { "type": "NewExpression", "start": 16543, "end": 16604, "loc": { "start": { "line": 516, "column": 28 }, "end": { "line": 516, "column": 89 } }, "callee": { "type": "Identifier", "start": 16547, "end": 16553, "loc": { "start": { "line": 516, "column": 32 }, "end": { "line": 516, "column": 38 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "BinaryExpression", "start": 16554, "end": 16577, "loc": { "start": { "line": 516, "column": 39 }, "end": { "line": 516, "column": 62 } }, "left": { "type": "MemberExpression", "start": 16554, "end": 16573, "loc": { "start": { "line": 516, "column": 39 }, "end": { "line": 516, "column": 58 } }, "object": { "type": "MemberExpression", "start": 16554, "end": 16563, "loc": { "start": { "line": 516, "column": 39 }, "end": { "line": 516, "column": 48 } }, "object": { "type": "ThisExpression", "start": 16554, "end": 16558, "loc": { "start": { "line": 516, "column": 39 }, "end": { "line": 516, "column": 43 } } }, "property": { "type": "Identifier", "start": 16559, "end": 16563, "loc": { "start": { "line": 516, "column": 44 }, "end": { "line": 516, "column": 48 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16564, "end": 16573, "loc": { "start": { "line": 516, "column": 49 }, "end": { "line": 516, "column": 58 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 16576, "end": 16577, "loc": { "start": { "line": 516, "column": 61 }, "end": { "line": 516, "column": 62 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 16579, "end": 16603, "loc": { "start": { "line": 516, "column": 64 }, "end": { "line": 516, "column": 88 } }, "left": { "type": "MemberExpression", "start": 16579, "end": 16599, "loc": { "start": { "line": 516, "column": 64 }, "end": { "line": 516, "column": 84 } }, "object": { "type": "MemberExpression", "start": 16579, "end": 16588, "loc": { "start": { "line": 516, "column": 64 }, "end": { "line": 516, "column": 73 } }, "object": { "type": "ThisExpression", "start": 16579, "end": 16583, "loc": { "start": { "line": 516, "column": 64 }, "end": { "line": 516, "column": 68 } } }, "property": { "type": "Identifier", "start": 16584, "end": 16588, "loc": { "start": { "line": 516, "column": 69 }, "end": { "line": 516, "column": 73 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16589, "end": 16599, "loc": { "start": { "line": 516, "column": 74 }, "end": { "line": 516, "column": 84 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 16602, "end": 16603, "loc": { "start": { "line": 516, "column": 87 }, "end": { "line": 516, "column": 88 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 16628, "end": 16983, "loc": { "start": { "line": 519, "column": 8 }, "end": { "line": 525, "column": 9 } }, "test": { "type": "Identifier", "start": 16632, "end": 16645, "loc": { "start": { "line": 519, "column": 12 }, "end": { "line": 519, "column": 25 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "consequent": { "type": "BlockStatement", "start": 16647, "end": 16983, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 525, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16662, "end": 16725, "loc": { "start": { "line": 520, "column": 12 }, "end": { "line": 520, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16668, "end": 16724, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 74 } }, "id": { "type": "Identifier", "start": 16668, "end": 16676, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 26 }, "identifierName": "worldPos" }, "name": "worldPos" }, "init": { "type": "CallExpression", "start": 16679, "end": 16724, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 16679, "end": 16709, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 59 } }, "object": { "type": "MemberExpression", "start": 16679, "end": 16695, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16679, "end": 16688, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 38 } }, "object": { "type": "ThisExpression", "start": 16679, "end": 16683, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 33 } } }, "property": { "type": "Identifier", "start": 16684, "end": 16688, "loc": { "start": { "line": 520, "column": 34 }, "end": { "line": 520, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 16689, "end": 16695, "loc": { "start": { "line": 520, "column": 39 }, "end": { "line": 520, "column": 45 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 16696, "end": 16709, "loc": { "start": { "line": 520, "column": 46 }, "end": { "line": 520, "column": 59 }, "identifierName": "screenToWorld" }, "name": "screenToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16710, "end": 16723, "loc": { "start": { "line": 520, "column": 60 }, "end": { "line": 520, "column": 73 }, "identifierName": "mousePosition" }, "name": "mousePosition" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16739, "end": 16784, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16745, "end": 16783, "loc": { "start": { "line": 521, "column": 18 }, "end": { "line": 521, "column": 56 } }, "id": { "type": "Identifier", "start": 16745, "end": 16755, "loc": { "start": { "line": 521, "column": 18 }, "end": { "line": 521, "column": 28 }, "identifierName": "worldDelta" }, "name": "worldDelta" }, "init": { "type": "CallExpression", "start": 16758, "end": 16783, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 16758, "end": 16770, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 43 } }, "object": { "type": "Identifier", "start": 16758, "end": 16766, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 39 }, "identifierName": "worldPos" }, "name": "worldPos" }, "property": { "type": "Identifier", "start": 16767, "end": 16770, "loc": { "start": { "line": 521, "column": 40 }, "end": { "line": 521, "column": 43 }, "identifierName": "sub" }, "name": "sub" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16771, "end": 16782, "loc": { "start": { "line": 521, "column": 44 }, "end": { "line": 521, "column": 55 } }, "object": { "type": "ThisExpression", "start": 16771, "end": 16775, "loc": { "start": { "line": 521, "column": 44 }, "end": { "line": 521, "column": 48 } } }, "property": { "type": "Identifier", "start": 16776, "end": 16782, "loc": { "start": { "line": 521, "column": 49 }, "end": { "line": 521, "column": 55 }, "identifierName": "center" }, "name": "center" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16798, "end": 16848, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16804, "end": 16847, "loc": { "start": { "line": 522, "column": 18 }, "end": { "line": 522, "column": 61 } }, "id": { "type": "Identifier", "start": 16804, "end": 16815, "loc": { "start": { "line": 522, "column": 18 }, "end": { "line": 522, "column": 29 }, "identifierName": "actualDelta" }, "name": "actualDelta" }, "init": { "type": "BinaryExpression", "start": 16818, "end": 16847, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 61 } }, "left": { "type": "BinaryExpression", "start": 16818, "end": 16843, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 57 } }, "left": { "type": "MemberExpression", "start": 16818, "end": 16832, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 46 } }, "object": { "type": "ThisExpression", "start": 16818, "end": 16822, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 36 } } }, "property": { "type": "Identifier", "start": 16823, "end": 16832, "loc": { "start": { "line": 522, "column": 37 }, "end": { "line": 522, "column": 46 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 16835, "end": 16843, "loc": { "start": { "line": 522, "column": 49 }, "end": { "line": 522, "column": 57 }, "identifierName": "prevZoom" }, "name": "prevZoom" } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 16846, "end": 16847, "loc": { "start": { "line": 522, "column": 60 }, "end": { "line": 522, "column": 61 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 16862, "end": 16932, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 16862, "end": 16931, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16862, "end": 16873, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 23 } }, "object": { "type": "ThisExpression", "start": 16862, "end": 16866, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 16 } } }, "property": { "type": "Identifier", "start": 16867, "end": 16873, "loc": { "start": { "line": 523, "column": 17 }, "end": { "line": 523, "column": 23 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 16876, "end": 16931, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 16876, "end": 16891, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 41 } }, "object": { "type": "MemberExpression", "start": 16876, "end": 16887, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 37 } }, "object": { "type": "ThisExpression", "start": 16876, "end": 16880, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 30 } } }, "property": { "type": "Identifier", "start": 16881, "end": 16887, "loc": { "start": { "line": 523, "column": 31 }, "end": { "line": 523, "column": 37 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 16888, "end": 16891, "loc": { "start": { "line": 523, "column": 38 }, "end": { "line": 523, "column": 41 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 16892, "end": 16930, "loc": { "start": { "line": 523, "column": 42 }, "end": { "line": 523, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 16892, "end": 16917, "loc": { "start": { "line": 523, "column": 42 }, "end": { "line": 523, "column": 67 } }, "object": { "type": "Identifier", "start": 16892, "end": 16902, "loc": { "start": { "line": 523, "column": 42 }, "end": { "line": 523, "column": 52 }, "identifierName": "worldDelta" }, "name": "worldDelta" }, "property": { "type": "Identifier", "start": 16903, "end": 16917, "loc": { "start": { "line": 523, "column": 53 }, "end": { "line": 523, "column": 67 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16918, "end": 16929, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 79 }, "identifierName": "actualDelta" }, "name": "actualDelta" } ] } ] } } }, { "type": "ExpressionStatement", "start": 16946, "end": 16972, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 16946, "end": 16971, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16946, "end": 16964, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 30 } }, "object": { "type": "ThisExpression", "start": 16946, "end": 16950, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 16 } } }, "property": { "type": "Identifier", "start": 16951, "end": 16964, "loc": { "start": { "line": 524, "column": 17 }, "end": { "line": 524, "column": 30 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NullLiteral", "start": 16967, "end": 16971, "loc": { "start": { "line": 524, "column": 33 }, "end": { "line": 524, "column": 37 } } } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 16995, "end": 17008, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 17002, "end": 17007, "loc": { "start": { "line": 527, "column": 15 }, "end": { "line": 527, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Mousewheel event\r\n * @param {WheelEvent} event\r\n ", "start": 15581, "end": 15652, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 497, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch start handler\r\n * @param {TouchEvent} event\r\n ", "start": 17023, "end": 17097, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 533, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 17103, "end": 18171, "loc": { "start": { "line": 534, "column": 4 }, "end": { "line": 562, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17103, "end": 17115, "loc": { "start": { "line": 534, "column": 4 }, "end": { "line": 534, "column": 16 }, "identifierName": "onTouchStart" }, "name": "onTouchStart", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17116, "end": 17121, "loc": { "start": { "line": 534, "column": 17 }, "end": { "line": 534, "column": 22 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 17123, "end": 18171, "loc": { "start": { "line": 534, "column": 24 }, "end": { "line": 562, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 17134, "end": 17246, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 538, "column": 9 } }, "test": { "type": "MemberExpression", "start": 17138, "end": 17154, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 28 } }, "object": { "type": "Identifier", "start": 17138, "end": 17143, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17144, "end": 17154, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 28 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17156, "end": 17246, "loc": { "start": { "line": 535, "column": 30 }, "end": { "line": 538, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17171, "end": 17194, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 35 } }, "expression": { "type": "CallExpression", "start": 17171, "end": 17193, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 17171, "end": 17191, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 32 } }, "object": { "type": "Identifier", "start": 17171, "end": 17176, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17177, "end": 17191, "loc": { "start": { "line": 536, "column": 18 }, "end": { "line": 536, "column": 32 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 17208, "end": 17235, "loc": { "start": { "line": 537, "column": 12 }, "end": { "line": 537, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17258, "end": 17313, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 17258, "end": 17312, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17258, "end": 17292, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 42 } }, "object": { "type": "Identifier", "start": 17258, "end": 17278, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 28 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" }, "property": { "type": "Identifier", "start": 17279, "end": 17292, "loc": { "start": { "line": 540, "column": 29 }, "end": { "line": 540, "column": 42 }, "identifierName": "lastTouchTime" }, "name": "lastTouchTime" }, "computed": false }, "right": { "type": "CallExpression", "start": 17295, "end": 17312, "loc": { "start": { "line": 540, "column": 45 }, "end": { "line": 540, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17295, "end": 17310, "loc": { "start": { "line": 540, "column": 45 }, "end": { "line": 540, "column": 60 } }, "object": { "type": "Identifier", "start": 17295, "end": 17306, "loc": { "start": { "line": 540, "column": 45 }, "end": { "line": 540, "column": 56 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 17307, "end": 17310, "loc": { "start": { "line": 540, "column": 57 }, "end": { "line": 540, "column": 60 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 17323, "end": 17369, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 17323, "end": 17368, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17323, "end": 17349, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 34 } }, "object": { "type": "ThisExpression", "start": 17323, "end": 17327, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 12 } } }, "property": { "type": "Identifier", "start": 17328, "end": 17349, "loc": { "start": { "line": 541, "column": 13 }, "end": { "line": 541, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "NewExpression", "start": 17352, "end": 17368, "loc": { "start": { "line": 541, "column": 37 }, "end": { "line": 541, "column": 53 } }, "callee": { "type": "Identifier", "start": 17356, "end": 17362, "loc": { "start": { "line": 541, "column": 41 }, "end": { "line": 541, "column": 47 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 17363, "end": 17364, "loc": { "start": { "line": 541, "column": 48 }, "end": { "line": 541, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 17366, "end": 17367, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } }, { "type": "IfStatement", "start": 17381, "end": 18141, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 560, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 17385, "end": 17411, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 38 } }, "left": { "type": "MemberExpression", "start": 17385, "end": 17405, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 32 } }, "object": { "type": "MemberExpression", "start": 17385, "end": 17398, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 25 } }, "object": { "type": "Identifier", "start": 17385, "end": 17390, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17391, "end": 17398, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 25 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "Identifier", "start": 17399, "end": 17405, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 32 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 17410, "end": 17411, "loc": { "start": { "line": 543, "column": 37 }, "end": { "line": 543, "column": 38 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 17413, "end": 17551, "loc": { "start": { "line": 543, "column": 40 }, "end": { "line": 546, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 17428, "end": 17459, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17434, "end": 17458, "loc": { "start": { "line": 544, "column": 18 }, "end": { "line": 544, "column": 42 } }, "id": { "type": "Identifier", "start": 17434, "end": 17439, "loc": { "start": { "line": 544, "column": 18 }, "end": { "line": 544, "column": 23 }, "identifierName": "touch" }, "name": "touch" }, "init": { "type": "MemberExpression", "start": 17442, "end": 17458, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "column": 42 } }, "object": { "type": "MemberExpression", "start": 17442, "end": 17455, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "column": 39 } }, "object": { "type": "Identifier", "start": 17442, "end": 17447, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "column": 31 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17448, "end": 17455, "loc": { "start": { "line": 544, "column": 32 }, "end": { "line": 544, "column": 39 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 17456, "end": 17457, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17473, "end": 17540, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 79 } }, "expression": { "type": "CallExpression", "start": 17473, "end": 17539, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 17473, "end": 17509, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 48 } }, "object": { "type": "ThisExpression", "start": 17473, "end": 17477, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 16 } } }, "property": { "type": "Identifier", "start": 17478, "end": 17509, "loc": { "start": { "line": 545, "column": 17 }, "end": { "line": 545, "column": 48 }, "identifierName": "combinedSingleTouchStartHandler" }, "name": "combinedSingleTouchStartHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 17510, "end": 17523, "loc": { "start": { "line": 545, "column": 49 }, "end": { "line": 545, "column": 62 } }, "object": { "type": "Identifier", "start": 17510, "end": 17515, "loc": { "start": { "line": 545, "column": 49 }, "end": { "line": 545, "column": 54 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 17516, "end": 17523, "loc": { "start": { "line": 545, "column": 55 }, "end": { "line": 545, "column": 62 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 17525, "end": 17538, "loc": { "start": { "line": 545, "column": 64 }, "end": { "line": 545, "column": 77 } }, "object": { "type": "Identifier", "start": 17525, "end": 17530, "loc": { "start": { "line": 545, "column": 64 }, "end": { "line": 545, "column": 69 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 17531, "end": 17538, "loc": { "start": { "line": 545, "column": 70 }, "end": { "line": 545, "column": 77 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 17557, "end": 18141, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 560, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 17561, "end": 17587, "loc": { "start": { "line": 546, "column": 19 }, "end": { "line": 546, "column": 45 } }, "left": { "type": "MemberExpression", "start": 17561, "end": 17581, "loc": { "start": { "line": 546, "column": 19 }, "end": { "line": 546, "column": 39 } }, "object": { "type": "MemberExpression", "start": 17561, "end": 17574, "loc": { "start": { "line": 546, "column": 19 }, "end": { "line": 546, "column": 32 } }, "object": { "type": "Identifier", "start": 17561, "end": 17566, "loc": { "start": { "line": 546, "column": 19 }, "end": { "line": 546, "column": 24 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17567, "end": 17574, "loc": { "start": { "line": 546, "column": 25 }, "end": { "line": 546, "column": 32 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "Identifier", "start": 17575, "end": 17581, "loc": { "start": { "line": 546, "column": 33 }, "end": { "line": 546, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 17586, "end": 17587, "loc": { "start": { "line": 546, "column": 44 }, "end": { "line": 546, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 17589, "end": 18141, "loc": { "start": { "line": 546, "column": 47 }, "end": { "line": 560, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 17786, "end": 17818, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17792, "end": 17817, "loc": { "start": { "line": 552, "column": 18 }, "end": { "line": 552, "column": 43 } }, "id": { "type": "Identifier", "start": 17792, "end": 17798, "loc": { "start": { "line": 552, "column": 18 }, "end": { "line": 552, "column": 24 }, "identifierName": "touch1" }, "name": "touch1", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 17801, "end": 17817, "loc": { "start": { "line": 552, "column": 27 }, "end": { "line": 552, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17801, "end": 17814, "loc": { "start": { "line": 552, "column": 27 }, "end": { "line": 552, "column": 40 } }, "object": { "type": "Identifier", "start": 17801, "end": 17806, "loc": { "start": { "line": 552, "column": 27 }, "end": { "line": 552, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17807, "end": 17814, "loc": { "start": { "line": 552, "column": 33 }, "end": { "line": 552, "column": 40 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 17815, "end": 17816, "loc": { "start": { "line": 552, "column": 41 }, "end": { "line": 552, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " if (this.pinchPreHandler.dispatch() === STOP_PROPAGATION) {", "start": 17604, "end": 17666, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 74 } } }, { "type": "CommentLine", "value": " // Something prevented pinching", "start": 17680, "end": 17718, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 50 } } }, { "type": "CommentLine", "value": " return false;", "start": 17732, "end": 17752, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 32 } } }, { "type": "CommentLine", "value": " }", "start": 17766, "end": 17770, "loc": { "start": { "line": 550, "column": 12 }, "end": { "line": 550, "column": 16 } } } ] }, { "type": "VariableDeclaration", "start": 17832, "end": 17864, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17838, "end": 17863, "loc": { "start": { "line": 553, "column": 18 }, "end": { "line": 553, "column": 43 } }, "id": { "type": "Identifier", "start": 17838, "end": 17844, "loc": { "start": { "line": 553, "column": 18 }, "end": { "line": 553, "column": 24 }, "identifierName": "touch2" }, "name": "touch2" }, "init": { "type": "MemberExpression", "start": 17847, "end": 17863, "loc": { "start": { "line": 553, "column": 27 }, "end": { "line": 553, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17847, "end": 17860, "loc": { "start": { "line": 553, "column": 27 }, "end": { "line": 553, "column": 40 } }, "object": { "type": "Identifier", "start": 17847, "end": 17852, "loc": { "start": { "line": 553, "column": 27 }, "end": { "line": 553, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 17853, "end": 17860, "loc": { "start": { "line": 553, "column": 33 }, "end": { "line": 553, "column": 40 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 17861, "end": 17862, "loc": { "start": { "line": 553, "column": 41 }, "end": { "line": 553, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 17878, "end": 17907, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 17878, "end": 17906, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17878, "end": 17898, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 32 } }, "object": { "type": "ThisExpression", "start": 17878, "end": 17882, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 16 } } }, "property": { "type": "Identifier", "start": 17883, "end": 17898, "loc": { "start": { "line": 554, "column": 17 }, "end": { "line": 554, "column": 32 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 17901, "end": 17906, "loc": { "start": { "line": 554, "column": 35 }, "end": { "line": 554, "column": 40 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 17921, "end": 17951, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 17921, "end": 17950, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17921, "end": 17943, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 34 } }, "object": { "type": "ThisExpression", "start": 17921, "end": 17925, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 16 } } }, "property": { "type": "Identifier", "start": 17926, "end": 17943, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 34 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 17946, "end": 17950, "loc": { "start": { "line": 555, "column": 37 }, "end": { "line": 555, "column": 41 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 17965, "end": 18130, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 559, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 17965, "end": 18129, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 559, "column": 13 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17965, "end": 17988, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 35 } }, "object": { "type": "ThisExpression", "start": 17965, "end": 17969, "loc": { "start": { "line": 556, "column": 12 }, "end": { "line": 556, "column": 16 } } }, "property": { "type": "Identifier", "start": 17970, "end": 17988, "loc": { "start": { "line": 556, "column": 17 }, "end": { "line": 556, "column": 35 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 17991, "end": 18129, "loc": { "start": { "line": 556, "column": 38 }, "end": { "line": 559, "column": 13 } }, "elements": [ { "type": "NewExpression", "start": 18010, "end": 18052, "loc": { "start": { "line": 557, "column": 16 }, "end": { "line": 557, "column": 58 } }, "callee": { "type": "Identifier", "start": 18014, "end": 18020, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 26 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 18021, "end": 18035, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 41 } }, "object": { "type": "Identifier", "start": 18021, "end": 18027, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 33 }, "identifierName": "touch1" }, "name": "touch1" }, "property": { "type": "Identifier", "start": 18028, "end": 18035, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 41 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 18037, "end": 18051, "loc": { "start": { "line": 557, "column": 43 }, "end": { "line": 557, "column": 57 } }, "object": { "type": "Identifier", "start": 18037, "end": 18043, "loc": { "start": { "line": 557, "column": 43 }, "end": { "line": 557, "column": 49 }, "identifierName": "touch1" }, "name": "touch1" }, "property": { "type": "Identifier", "start": 18044, "end": 18051, "loc": { "start": { "line": 557, "column": 50 }, "end": { "line": 557, "column": 57 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] }, { "type": "NewExpression", "start": 18071, "end": 18113, "loc": { "start": { "line": 558, "column": 16 }, "end": { "line": 558, "column": 58 } }, "callee": { "type": "Identifier", "start": 18075, "end": 18081, "loc": { "start": { "line": 558, "column": 20 }, "end": { "line": 558, "column": 26 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 18082, "end": 18096, "loc": { "start": { "line": 558, "column": 27 }, "end": { "line": 558, "column": 41 } }, "object": { "type": "Identifier", "start": 18082, "end": 18088, "loc": { "start": { "line": 558, "column": 27 }, "end": { "line": 558, "column": 33 }, "identifierName": "touch2" }, "name": "touch2" }, "property": { "type": "Identifier", "start": 18089, "end": 18096, "loc": { "start": { "line": 558, "column": 34 }, "end": { "line": 558, "column": 41 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 18098, "end": 18112, "loc": { "start": { "line": 558, "column": 43 }, "end": { "line": 558, "column": 57 } }, "object": { "type": "Identifier", "start": 18098, "end": 18104, "loc": { "start": { "line": 558, "column": 43 }, "end": { "line": 558, "column": 49 }, "identifierName": "touch2" }, "name": "touch2" }, "property": { "type": "Identifier", "start": 18105, "end": 18112, "loc": { "start": { "line": 558, "column": 50 }, "end": { "line": 558, "column": 57 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } ] } } } ], "directives": [] }, "alternate": null } }, { "type": "ReturnStatement", "start": 18151, "end": 18164, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 18158, "end": 18163, "loc": { "start": { "line": 561, "column": 15 }, "end": { "line": 561, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch start handler\r\n * @param {TouchEvent} event\r\n ", "start": 17023, "end": 17097, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 533, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch move handler\r\n * @param {TouchEvent} event\r\n ", "start": 18179, "end": 18252, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 567, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 18258, "end": 21189, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 640, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18258, "end": 18269, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 568, "column": 15 }, "identifierName": "onTouchMove" }, "name": "onTouchMove", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18270, "end": 18275, "loc": { "start": { "line": 568, "column": 16 }, "end": { "line": 568, "column": 21 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 18277, "end": 21189, "loc": { "start": { "line": 568, "column": 23 }, "end": { "line": 640, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 18288, "end": 18400, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 572, "column": 9 } }, "test": { "type": "MemberExpression", "start": 18292, "end": 18308, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 569, "column": 28 } }, "object": { "type": "Identifier", "start": 18292, "end": 18297, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 569, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18298, "end": 18308, "loc": { "start": { "line": 569, "column": 18 }, "end": { "line": 569, "column": 28 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18310, "end": 18400, "loc": { "start": { "line": 569, "column": 30 }, "end": { "line": 572, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 18325, "end": 18348, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 35 } }, "expression": { "type": "CallExpression", "start": 18325, "end": 18347, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 18325, "end": 18345, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 32 } }, "object": { "type": "Identifier", "start": 18325, "end": 18330, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18331, "end": 18345, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 32 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 18362, "end": 18389, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 39 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18412, "end": 18467, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 18412, "end": 18466, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18412, "end": 18446, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 42 } }, "object": { "type": "Identifier", "start": 18412, "end": 18432, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 28 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" }, "property": { "type": "Identifier", "start": 18433, "end": 18446, "loc": { "start": { "line": 574, "column": 29 }, "end": { "line": 574, "column": 42 }, "identifierName": "lastTouchTime" }, "name": "lastTouchTime" }, "computed": false }, "right": { "type": "CallExpression", "start": 18449, "end": 18466, "loc": { "start": { "line": 574, "column": 45 }, "end": { "line": 574, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 18449, "end": 18464, "loc": { "start": { "line": 574, "column": 45 }, "end": { "line": 574, "column": 60 } }, "object": { "type": "Identifier", "start": 18449, "end": 18460, "loc": { "start": { "line": 574, "column": 45 }, "end": { "line": 574, "column": 56 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 18461, "end": 18464, "loc": { "start": { "line": 574, "column": 57 }, "end": { "line": 574, "column": 60 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 18479, "end": 21085, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 635, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 18483, "end": 18509, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 38 } }, "left": { "type": "MemberExpression", "start": 18483, "end": 18503, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 32 } }, "object": { "type": "MemberExpression", "start": 18483, "end": 18496, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 25 } }, "object": { "type": "Identifier", "start": 18483, "end": 18488, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18489, "end": 18496, "loc": { "start": { "line": 576, "column": 18 }, "end": { "line": 576, "column": 25 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "Identifier", "start": 18497, "end": 18503, "loc": { "start": { "line": 576, "column": 26 }, "end": { "line": 576, "column": 32 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 18508, "end": 18509, "loc": { "start": { "line": 576, "column": 37 }, "end": { "line": 576, "column": 38 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 18511, "end": 18648, "loc": { "start": { "line": 576, "column": 40 }, "end": { "line": 579, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 18526, "end": 18557, "loc": { "start": { "line": 577, "column": 12 }, "end": { "line": 577, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18532, "end": 18556, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 42 } }, "id": { "type": "Identifier", "start": 18532, "end": 18537, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 23 }, "identifierName": "touch" }, "name": "touch" }, "init": { "type": "MemberExpression", "start": 18540, "end": 18556, "loc": { "start": { "line": 577, "column": 26 }, "end": { "line": 577, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18540, "end": 18553, "loc": { "start": { "line": 577, "column": 26 }, "end": { "line": 577, "column": 39 } }, "object": { "type": "Identifier", "start": 18540, "end": 18545, "loc": { "start": { "line": 577, "column": 26 }, "end": { "line": 577, "column": 31 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18546, "end": 18553, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 39 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 18554, "end": 18555, "loc": { "start": { "line": 577, "column": 40 }, "end": { "line": 577, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 18571, "end": 18637, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 78 } }, "expression": { "type": "CallExpression", "start": 18571, "end": 18636, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 18571, "end": 18606, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 47 } }, "object": { "type": "ThisExpression", "start": 18571, "end": 18575, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 16 } } }, "property": { "type": "Identifier", "start": 18576, "end": 18606, "loc": { "start": { "line": 578, "column": 17 }, "end": { "line": 578, "column": 47 }, "identifierName": "combinedSingleTouchMoveHandler" }, "name": "combinedSingleTouchMoveHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 18607, "end": 18620, "loc": { "start": { "line": 578, "column": 48 }, "end": { "line": 578, "column": 61 } }, "object": { "type": "Identifier", "start": 18607, "end": 18612, "loc": { "start": { "line": 578, "column": 48 }, "end": { "line": 578, "column": 53 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 18613, "end": 18620, "loc": { "start": { "line": 578, "column": 54 }, "end": { "line": 578, "column": 61 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 18622, "end": 18635, "loc": { "start": { "line": 578, "column": 63 }, "end": { "line": 578, "column": 76 } }, "object": { "type": "Identifier", "start": 18622, "end": 18627, "loc": { "start": { "line": 578, "column": 63 }, "end": { "line": 578, "column": 68 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 18628, "end": 18635, "loc": { "start": { "line": 578, "column": 69 }, "end": { "line": 578, "column": 76 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 18654, "end": 21085, "loc": { "start": { "line": 579, "column": 15 }, "end": { "line": 635, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 18658, "end": 18684, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 45 } }, "left": { "type": "MemberExpression", "start": 18658, "end": 18678, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 39 } }, "object": { "type": "MemberExpression", "start": 18658, "end": 18671, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 32 } }, "object": { "type": "Identifier", "start": 18658, "end": 18663, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 24 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18664, "end": 18671, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 32 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "Identifier", "start": 18672, "end": 18678, "loc": { "start": { "line": 579, "column": 33 }, "end": { "line": 579, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 18683, "end": 18684, "loc": { "start": { "line": 579, "column": 44 }, "end": { "line": 579, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 18686, "end": 21085, "loc": { "start": { "line": 579, "column": 47 }, "end": { "line": 635, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 18701, "end": 21074, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 634, "column": 13 } }, "test": { "type": "MemberExpression", "start": 18705, "end": 18727, "loc": { "start": { "line": 580, "column": 16 }, "end": { "line": 580, "column": 38 } }, "object": { "type": "ThisExpression", "start": 18705, "end": 18709, "loc": { "start": { "line": 580, "column": 16 }, "end": { "line": 580, "column": 20 } } }, "property": { "type": "Identifier", "start": 18710, "end": 18727, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 38 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18729, "end": 21074, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 634, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 18748, "end": 18780, "loc": { "start": { "line": 581, "column": 16 }, "end": { "line": 581, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18754, "end": 18779, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 47 } }, "id": { "type": "Identifier", "start": 18754, "end": 18760, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 28 }, "identifierName": "touch1" }, "name": "touch1" }, "init": { "type": "MemberExpression", "start": 18763, "end": 18779, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 47 } }, "object": { "type": "MemberExpression", "start": 18763, "end": 18776, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 44 } }, "object": { "type": "Identifier", "start": 18763, "end": 18768, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 36 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18769, "end": 18776, "loc": { "start": { "line": 581, "column": 37 }, "end": { "line": 581, "column": 44 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 18777, "end": 18778, "loc": { "start": { "line": 581, "column": 45 }, "end": { "line": 581, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18798, "end": 18830, "loc": { "start": { "line": 582, "column": 16 }, "end": { "line": 582, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18804, "end": 18829, "loc": { "start": { "line": 582, "column": 22 }, "end": { "line": 582, "column": 47 } }, "id": { "type": "Identifier", "start": 18804, "end": 18810, "loc": { "start": { "line": 582, "column": 22 }, "end": { "line": 582, "column": 28 }, "identifierName": "touch2" }, "name": "touch2" }, "init": { "type": "MemberExpression", "start": 18813, "end": 18829, "loc": { "start": { "line": 582, "column": 31 }, "end": { "line": 582, "column": 47 } }, "object": { "type": "MemberExpression", "start": 18813, "end": 18826, "loc": { "start": { "line": 582, "column": 31 }, "end": { "line": 582, "column": 44 } }, "object": { "type": "Identifier", "start": 18813, "end": 18818, "loc": { "start": { "line": 582, "column": 31 }, "end": { "line": 582, "column": 36 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18819, "end": 18826, "loc": { "start": { "line": 582, "column": 37 }, "end": { "line": 582, "column": 44 }, "identifierName": "touches" }, "name": "touches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 18827, "end": 18828, "loc": { "start": { "line": 582, "column": 45 }, "end": { "line": 582, "column": 46 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 18850, "end": 19027, "loc": { "start": { "line": 584, "column": 16 }, "end": { "line": 587, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18856, "end": 19026, "loc": { "start": { "line": 584, "column": 22 }, "end": { "line": 587, "column": 17 } }, "id": { "type": "Identifier", "start": 18856, "end": 18873, "loc": { "start": { "line": 584, "column": 22 }, "end": { "line": 584, "column": 39 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" }, "init": { "type": "ArrayExpression", "start": 18876, "end": 19026, "loc": { "start": { "line": 584, "column": 42 }, "end": { "line": 587, "column": 17 } }, "elements": [ { "type": "NewExpression", "start": 18899, "end": 18941, "loc": { "start": { "line": 585, "column": 20 }, "end": { "line": 585, "column": 62 } }, "callee": { "type": "Identifier", "start": 18903, "end": 18909, "loc": { "start": { "line": 585, "column": 24 }, "end": { "line": 585, "column": 30 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 18910, "end": 18924, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 45 } }, "object": { "type": "Identifier", "start": 18910, "end": 18916, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 37 }, "identifierName": "touch1" }, "name": "touch1" }, "property": { "type": "Identifier", "start": 18917, "end": 18924, "loc": { "start": { "line": 585, "column": 38 }, "end": { "line": 585, "column": 45 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 18926, "end": 18940, "loc": { "start": { "line": 585, "column": 47 }, "end": { "line": 585, "column": 61 } }, "object": { "type": "Identifier", "start": 18926, "end": 18932, "loc": { "start": { "line": 585, "column": 47 }, "end": { "line": 585, "column": 53 }, "identifierName": "touch1" }, "name": "touch1" }, "property": { "type": "Identifier", "start": 18933, "end": 18940, "loc": { "start": { "line": 585, "column": 54 }, "end": { "line": 585, "column": 61 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] }, { "type": "NewExpression", "start": 18964, "end": 19006, "loc": { "start": { "line": 586, "column": 20 }, "end": { "line": 586, "column": 62 } }, "callee": { "type": "Identifier", "start": 18968, "end": 18974, "loc": { "start": { "line": 586, "column": 24 }, "end": { "line": 586, "column": 30 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 18975, "end": 18989, "loc": { "start": { "line": 586, "column": 31 }, "end": { "line": 586, "column": 45 } }, "object": { "type": "Identifier", "start": 18975, "end": 18981, "loc": { "start": { "line": 586, "column": 31 }, "end": { "line": 586, "column": 37 }, "identifierName": "touch2" }, "name": "touch2" }, "property": { "type": "Identifier", "start": 18982, "end": 18989, "loc": { "start": { "line": 586, "column": 38 }, "end": { "line": 586, "column": 45 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 18991, "end": 19005, "loc": { "start": { "line": 586, "column": 47 }, "end": { "line": 586, "column": 61 } }, "object": { "type": "Identifier", "start": 18991, "end": 18997, "loc": { "start": { "line": 586, "column": 47 }, "end": { "line": 586, "column": 53 }, "identifierName": "touch2" }, "name": "touch2" }, "property": { "type": "Identifier", "start": 18998, "end": 19005, "loc": { "start": { "line": 586, "column": 54 }, "end": { "line": 586, "column": 61 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Get distance of taps last time and now", "start": 19047, "end": 19088, "loc": { "start": { "line": 589, "column": 16 }, "end": { "line": 589, "column": 57 } } } ] }, { "type": "VariableDeclaration", "start": 19106, "end": 19191, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19112, "end": 19190, "loc": { "start": { "line": 590, "column": 22 }, "end": { "line": 590, "column": 100 } }, "id": { "type": "Identifier", "start": 19112, "end": 19124, "loc": { "start": { "line": 590, "column": 22 }, "end": { "line": 590, "column": 34 }, "identifierName": "lastDistance" }, "name": "lastDistance", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19127, "end": 19190, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 19127, "end": 19162, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 72 } }, "object": { "type": "MemberExpression", "start": 19127, "end": 19153, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 63 } }, "object": { "type": "MemberExpression", "start": 19127, "end": 19150, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 60 } }, "object": { "type": "ThisExpression", "start": 19127, "end": 19131, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 41 } } }, "property": { "type": "Identifier", "start": 19132, "end": 19150, "loc": { "start": { "line": 590, "column": 42 }, "end": { "line": 590, "column": 60 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 19151, "end": 19152, "loc": { "start": { "line": 590, "column": 61 }, "end": { "line": 590, "column": 62 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 19154, "end": 19162, "loc": { "start": { "line": 590, "column": 64 }, "end": { "line": 590, "column": 72 }, "identifierName": "distance" }, "name": "distance" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19163, "end": 19189, "loc": { "start": { "line": 590, "column": 73 }, "end": { "line": 590, "column": 99 } }, "object": { "type": "MemberExpression", "start": 19163, "end": 19186, "loc": { "start": { "line": 590, "column": 73 }, "end": { "line": 590, "column": 96 } }, "object": { "type": "ThisExpression", "start": 19163, "end": 19167, "loc": { "start": { "line": 590, "column": 73 }, "end": { "line": 590, "column": 77 } } }, "property": { "type": "Identifier", "start": 19168, "end": 19186, "loc": { "start": { "line": 590, "column": 78 }, "end": { "line": 590, "column": 96 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 19187, "end": 19188, "loc": { "start": { "line": 590, "column": 97 }, "end": { "line": 590, "column": 98 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Get distance of taps last time and now", "start": 19047, "end": 19088, "loc": { "start": { "line": 589, "column": 16 }, "end": { "line": 589, "column": 57 } } } ] }, { "type": "VariableDeclaration", "start": 19209, "end": 19282, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 89 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19215, "end": 19281, "loc": { "start": { "line": 591, "column": 22 }, "end": { "line": 591, "column": 88 } }, "id": { "type": "Identifier", "start": 19215, "end": 19227, "loc": { "start": { "line": 591, "column": 22 }, "end": { "line": 591, "column": 34 }, "identifierName": "thisDistance" }, "name": "thisDistance" }, "init": { "type": "CallExpression", "start": 19230, "end": 19281, "loc": { "start": { "line": 591, "column": 37 }, "end": { "line": 591, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 19230, "end": 19259, "loc": { "start": { "line": 591, "column": 37 }, "end": { "line": 591, "column": 66 } }, "object": { "type": "MemberExpression", "start": 19230, "end": 19250, "loc": { "start": { "line": 591, "column": 37 }, "end": { "line": 591, "column": 57 } }, "object": { "type": "Identifier", "start": 19230, "end": 19247, "loc": { "start": { "line": 591, "column": 37 }, "end": { "line": 591, "column": 54 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" }, "property": { "type": "NumericLiteral", "start": 19248, "end": 19249, "loc": { "start": { "line": 591, "column": 55 }, "end": { "line": 591, "column": 56 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 19251, "end": 19259, "loc": { "start": { "line": 591, "column": 58 }, "end": { "line": 591, "column": 66 }, "identifierName": "distance" }, "name": "distance" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19260, "end": 19280, "loc": { "start": { "line": 591, "column": 67 }, "end": { "line": 591, "column": 87 } }, "object": { "type": "Identifier", "start": 19260, "end": 19277, "loc": { "start": { "line": 591, "column": 67 }, "end": { "line": 591, "column": 84 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" }, "property": { "type": "NumericLiteral", "start": 19278, "end": 19279, "loc": { "start": { "line": 591, "column": 85 }, "end": { "line": 591, "column": 86 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " IMPORTANT to do math max here to avoid NaN and causing an invalid zoom level", "start": 19302, "end": 19381, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 95 } } } ] }, { "type": "VariableDeclaration", "start": 19399, "end": 19463, "loc": { "start": { "line": 594, "column": 16 }, "end": { "line": 594, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19405, "end": 19462, "loc": { "start": { "line": 594, "column": 22 }, "end": { "line": 594, "column": 79 } }, "id": { "type": "Identifier", "start": 19405, "end": 19415, "loc": { "start": { "line": 594, "column": 22 }, "end": { "line": 594, "column": 32 }, "identifierName": "difference" }, "name": "difference", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 19418, "end": 19462, "loc": { "start": { "line": 594, "column": 35 }, "end": { "line": 594, "column": 79 } }, "left": { "type": "Identifier", "start": 19418, "end": 19430, "loc": { "start": { "line": 594, "column": 35 }, "end": { "line": 594, "column": 47 }, "identifierName": "thisDistance" }, "name": "thisDistance" }, "operator": "/", "right": { "type": "CallExpression", "start": 19433, "end": 19462, "loc": { "start": { "line": 594, "column": 50 }, "end": { "line": 594, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 19433, "end": 19441, "loc": { "start": { "line": 594, "column": 50 }, "end": { "line": 594, "column": 58 } }, "object": { "type": "Identifier", "start": 19433, "end": 19437, "loc": { "start": { "line": 594, "column": 50 }, "end": { "line": 594, "column": 54 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19438, "end": 19441, "loc": { "start": { "line": 594, "column": 55 }, "end": { "line": 594, "column": 58 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 19442, "end": 19447, "loc": { "start": { "line": 594, "column": 59 }, "end": { "line": 594, "column": 64 } }, "extra": { "rawValue": 0.001, "raw": "0.001" }, "value": 0.001 }, { "type": "Identifier", "start": 19449, "end": 19461, "loc": { "start": { "line": 594, "column": 66 }, "end": { "line": 594, "column": 78 }, "identifierName": "lastDistance" }, "name": "lastDistance" } ] } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " IMPORTANT to do math max here to avoid NaN and causing an invalid zoom level", "start": 19302, "end": 19381, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 95 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Find old center of zoom", "start": 19483, "end": 19509, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 19527, "end": 19610, "loc": { "start": { "line": 597, "column": 16 }, "end": { "line": 597, "column": 99 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19531, "end": 19609, "loc": { "start": { "line": 597, "column": 20 }, "end": { "line": 597, "column": 98 } }, "id": { "type": "Identifier", "start": 19531, "end": 19540, "loc": { "start": { "line": 597, "column": 20 }, "end": { "line": 597, "column": 29 }, "identifierName": "oldCenter" }, "name": "oldCenter", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19543, "end": 19609, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 19543, "end": 19581, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 70 } }, "object": { "type": "MemberExpression", "start": 19543, "end": 19569, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 58 } }, "object": { "type": "MemberExpression", "start": 19543, "end": 19566, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 55 } }, "object": { "type": "ThisExpression", "start": 19543, "end": 19547, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 36 } } }, "property": { "type": "Identifier", "start": 19548, "end": 19566, "loc": { "start": { "line": 597, "column": 37 }, "end": { "line": 597, "column": 55 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 19567, "end": 19568, "loc": { "start": { "line": 597, "column": 56 }, "end": { "line": 597, "column": 57 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 19570, "end": 19581, "loc": { "start": { "line": 597, "column": 59 }, "end": { "line": 597, "column": 70 }, "identifierName": "centerPoint" }, "name": "centerPoint" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19582, "end": 19608, "loc": { "start": { "line": 597, "column": 71 }, "end": { "line": 597, "column": 97 } }, "object": { "type": "MemberExpression", "start": 19582, "end": 19605, "loc": { "start": { "line": 597, "column": 71 }, "end": { "line": 597, "column": 94 } }, "object": { "type": "ThisExpression", "start": 19582, "end": 19586, "loc": { "start": { "line": 597, "column": 71 }, "end": { "line": 597, "column": 75 } } }, "property": { "type": "Identifier", "start": 19587, "end": 19605, "loc": { "start": { "line": 597, "column": 76 }, "end": { "line": 597, "column": 94 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 19606, "end": 19607, "loc": { "start": { "line": 597, "column": 95 }, "end": { "line": 597, "column": 96 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Find old center of zoom", "start": 19483, "end": 19509, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Find new center of zoom", "start": 19630, "end": 19656, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 19674, "end": 19742, "loc": { "start": { "line": 600, "column": 16 }, "end": { "line": 600, "column": 84 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19678, "end": 19741, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 83 } }, "id": { "type": "Identifier", "start": 19678, "end": 19684, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 26 }, "identifierName": "center" }, "name": "center", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19687, "end": 19741, "loc": { "start": { "line": 600, "column": 29 }, "end": { "line": 600, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 19687, "end": 19719, "loc": { "start": { "line": 600, "column": 29 }, "end": { "line": 600, "column": 61 } }, "object": { "type": "MemberExpression", "start": 19687, "end": 19707, "loc": { "start": { "line": 600, "column": 29 }, "end": { "line": 600, "column": 49 } }, "object": { "type": "Identifier", "start": 19687, "end": 19704, "loc": { "start": { "line": 600, "column": 29 }, "end": { "line": 600, "column": 46 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" }, "property": { "type": "NumericLiteral", "start": 19705, "end": 19706, "loc": { "start": { "line": 600, "column": 47 }, "end": { "line": 600, "column": 48 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 19708, "end": 19719, "loc": { "start": { "line": 600, "column": 50 }, "end": { "line": 600, "column": 61 }, "identifierName": "centerPoint" }, "name": "centerPoint" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19720, "end": 19740, "loc": { "start": { "line": 600, "column": 62 }, "end": { "line": 600, "column": 82 } }, "object": { "type": "Identifier", "start": 19720, "end": 19737, "loc": { "start": { "line": 600, "column": 62 }, "end": { "line": 600, "column": 79 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" }, "property": { "type": "NumericLiteral", "start": 19738, "end": 19739, "loc": { "start": { "line": 600, "column": 80 }, "end": { "line": 600, "column": 81 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Find new center of zoom", "start": 19630, "end": 19656, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 42 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Compute movement", "start": 19762, "end": 19781, "loc": { "start": { "line": 602, "column": 16 }, "end": { "line": 602, "column": 35 } } } ] }, { "type": "VariableDeclaration", "start": 19799, "end": 19836, "loc": { "start": { "line": 603, "column": 16 }, "end": { "line": 603, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19803, "end": 19835, "loc": { "start": { "line": 603, "column": 20 }, "end": { "line": 603, "column": 52 } }, "id": { "type": "Identifier", "start": 19803, "end": 19811, "loc": { "start": { "line": 603, "column": 20 }, "end": { "line": 603, "column": 28 }, "identifierName": "movement" }, "name": "movement", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19814, "end": 19835, "loc": { "start": { "line": 603, "column": 31 }, "end": { "line": 603, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 19814, "end": 19827, "loc": { "start": { "line": 603, "column": 31 }, "end": { "line": 603, "column": 44 } }, "object": { "type": "Identifier", "start": 19814, "end": 19823, "loc": { "start": { "line": 603, "column": 31 }, "end": { "line": 603, "column": 40 }, "identifierName": "oldCenter" }, "name": "oldCenter" }, "property": { "type": "Identifier", "start": 19824, "end": 19827, "loc": { "start": { "line": 603, "column": 41 }, "end": { "line": 603, "column": 44 }, "identifierName": "sub" }, "name": "sub" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19828, "end": 19834, "loc": { "start": { "line": 603, "column": 45 }, "end": { "line": 603, "column": 51 }, "identifierName": "center" }, "name": "center" } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Compute movement", "start": 19762, "end": 19781, "loc": { "start": { "line": 602, "column": 16 }, "end": { "line": 602, "column": 35 } } } ] }, { "type": "ExpressionStatement", "start": 19854, "end": 19899, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 19854, "end": 19898, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 60 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 19854, "end": 19867, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19854, "end": 19865, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19854, "end": 19858, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 20 } } }, "property": { "type": "Identifier", "start": 19859, "end": 19865, "loc": { "start": { "line": 604, "column": 21 }, "end": { "line": 604, "column": 27 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 19866, "end": 19867, "loc": { "start": { "line": 604, "column": 28 }, "end": { "line": 604, "column": 29 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19871, "end": 19898, "loc": { "start": { "line": 604, "column": 33 }, "end": { "line": 604, "column": 60 } }, "left": { "type": "MemberExpression", "start": 19871, "end": 19881, "loc": { "start": { "line": 604, "column": 33 }, "end": { "line": 604, "column": 43 } }, "object": { "type": "Identifier", "start": 19871, "end": 19879, "loc": { "start": { "line": 604, "column": 33 }, "end": { "line": 604, "column": 41 }, "identifierName": "movement" }, "name": "movement" }, "property": { "type": "Identifier", "start": 19880, "end": 19881, "loc": { "start": { "line": 604, "column": 42 }, "end": { "line": 604, "column": 43 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "/", "right": { "type": "MemberExpression", "start": 19884, "end": 19898, "loc": { "start": { "line": 604, "column": 46 }, "end": { "line": 604, "column": 60 } }, "object": { "type": "ThisExpression", "start": 19884, "end": 19888, "loc": { "start": { "line": 604, "column": 46 }, "end": { "line": 604, "column": 50 } } }, "property": { "type": "Identifier", "start": 19889, "end": 19898, "loc": { "start": { "line": 604, "column": 51 }, "end": { "line": 604, "column": 60 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 19917, "end": 19962, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 19917, "end": 19961, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 60 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 19917, "end": 19930, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 29 } }, "object": { "type": "MemberExpression", "start": 19917, "end": 19928, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19917, "end": 19921, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 20 } } }, "property": { "type": "Identifier", "start": 19922, "end": 19928, "loc": { "start": { "line": 605, "column": 21 }, "end": { "line": 605, "column": 27 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 19929, "end": 19930, "loc": { "start": { "line": 605, "column": 28 }, "end": { "line": 605, "column": 29 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 19934, "end": 19961, "loc": { "start": { "line": 605, "column": 33 }, "end": { "line": 605, "column": 60 } }, "left": { "type": "MemberExpression", "start": 19934, "end": 19944, "loc": { "start": { "line": 605, "column": 33 }, "end": { "line": 605, "column": 43 } }, "object": { "type": "Identifier", "start": 19934, "end": 19942, "loc": { "start": { "line": 605, "column": 33 }, "end": { "line": 605, "column": 41 }, "identifierName": "movement" }, "name": "movement" }, "property": { "type": "Identifier", "start": 19943, "end": 19944, "loc": { "start": { "line": 605, "column": 42 }, "end": { "line": 605, "column": 43 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "/", "right": { "type": "MemberExpression", "start": 19947, "end": 19961, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 605, "column": 60 } }, "object": { "type": "ThisExpression", "start": 19947, "end": 19951, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 605, "column": 50 } } }, "property": { "type": "Identifier", "start": 19952, "end": 19961, "loc": { "start": { "line": 605, "column": 51 }, "end": { "line": 605, "column": 60 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } }, "trailingComments": [ { "type": "CommentLine", "value": " Compute zoom", "start": 19982, "end": 19997, "loc": { "start": { "line": 607, "column": 16 }, "end": { "line": 607, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 20015, "end": 20098, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 99 } }, "expression": { "type": "AssignmentExpression", "start": 20015, "end": 20097, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 98 } }, "operator": "=", "left": { "type": "Identifier", "start": 20015, "end": 20021, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 22 }, "identifierName": "center" }, "name": "center", "leadingComments": null }, "right": { "type": "CallExpression", "start": 20024, "end": 20097, "loc": { "start": { "line": 608, "column": 25 }, "end": { "line": 608, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 20024, "end": 20034, "loc": { "start": { "line": 608, "column": 25 }, "end": { "line": 608, "column": 35 } }, "object": { "type": "Identifier", "start": 20024, "end": 20030, "loc": { "start": { "line": 608, "column": 25 }, "end": { "line": 608, "column": 31 }, "identifierName": "center" }, "name": "center" }, "property": { "type": "Identifier", "start": 20031, "end": 20034, "loc": { "start": { "line": 608, "column": 32 }, "end": { "line": 608, "column": 35 }, "identifierName": "sub" }, "name": "sub" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 20035, "end": 20096, "loc": { "start": { "line": 608, "column": 36 }, "end": { "line": 608, "column": 97 } }, "callee": { "type": "Identifier", "start": 20039, "end": 20045, "loc": { "start": { "line": 608, "column": 40 }, "end": { "line": 608, "column": 46 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "BinaryExpression", "start": 20046, "end": 20069, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "column": 70 } }, "left": { "type": "MemberExpression", "start": 20046, "end": 20065, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "column": 66 } }, "object": { "type": "MemberExpression", "start": 20046, "end": 20055, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "column": 56 } }, "object": { "type": "ThisExpression", "start": 20046, "end": 20050, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "column": 51 } } }, "property": { "type": "Identifier", "start": 20051, "end": 20055, "loc": { "start": { "line": 608, "column": 52 }, "end": { "line": 608, "column": 56 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 20056, "end": 20065, "loc": { "start": { "line": 608, "column": 57 }, "end": { "line": 608, "column": 66 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 20068, "end": 20069, "loc": { "start": { "line": 608, "column": 69 }, "end": { "line": 608, "column": 70 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "BinaryExpression", "start": 20071, "end": 20095, "loc": { "start": { "line": 608, "column": 72 }, "end": { "line": 608, "column": 96 } }, "left": { "type": "MemberExpression", "start": 20071, "end": 20091, "loc": { "start": { "line": 608, "column": 72 }, "end": { "line": 608, "column": 92 } }, "object": { "type": "MemberExpression", "start": 20071, "end": 20080, "loc": { "start": { "line": 608, "column": 72 }, "end": { "line": 608, "column": 81 } }, "object": { "type": "ThisExpression", "start": 20071, "end": 20075, "loc": { "start": { "line": 608, "column": 72 }, "end": { "line": 608, "column": 76 } } }, "property": { "type": "Identifier", "start": 20076, "end": 20080, "loc": { "start": { "line": 608, "column": 77 }, "end": { "line": 608, "column": 81 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 20081, "end": 20091, "loc": { "start": { "line": 608, "column": 82 }, "end": { "line": 608, "column": 92 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "/", "right": { "type": "NumericLiteral", "start": 20094, "end": 20095, "loc": { "start": { "line": 608, "column": 95 }, "end": { "line": 608, "column": 96 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ] } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Compute zoom", "start": 19982, "end": 19997, "loc": { "start": { "line": 607, "column": 16 }, "end": { "line": 607, "column": 31 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Apply zoom", "start": 20118, "end": 20131, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 20149, "end": 20499, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 620, "column": 18 } }, "expression": { "type": "CallExpression", "start": 20149, "end": 20498, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 620, "column": 17 } }, "callee": { "type": "Identifier", "start": 20149, "end": 20155, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 22 }, "identifierName": "assert" }, "name": "assert", "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 20178, "end": 20205, "loc": { "start": { "line": 612, "column": 20 }, "end": { "line": 612, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 20178, "end": 20193, "loc": { "start": { "line": 612, "column": 20 }, "end": { "line": 612, "column": 35 } }, "object": { "type": "Identifier", "start": 20178, "end": 20184, "loc": { "start": { "line": 612, "column": 20 }, "end": { "line": 612, "column": 26 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 20185, "end": 20193, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 35 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20194, "end": 20204, "loc": { "start": { "line": 612, "column": 36 }, "end": { "line": 612, "column": 46 }, "identifierName": "difference" }, "name": "difference" } ] }, { "type": "BinaryExpression", "start": 20228, "end": 20479, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 619, "column": 27 } }, "left": { "type": "BinaryExpression", "start": 20228, "end": 20448, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 618, "column": 36 } }, "left": { "type": "BinaryExpression", "start": 20228, "end": 20408, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 617, "column": 34 } }, "left": { "type": "BinaryExpression", "start": 20228, "end": 20370, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 616, "column": 36 } }, "left": { "type": "BinaryExpression", "start": 20228, "end": 20330, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 615, "column": 32 } }, "left": { "type": "BinaryExpression", "start": 20228, "end": 20294, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 614, "column": 34 } }, "left": { "type": "StringLiteral", "start": 20228, "end": 20256, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 48 } }, "extra": { "rawValue": "Invalid pinch difference: ", "raw": "\"Invalid pinch difference: \"" }, "value": "Invalid pinch difference: " }, "operator": "+", "right": { "type": "Identifier", "start": 20284, "end": 20294, "loc": { "start": { "line": 614, "column": 24 }, "end": { "line": 614, "column": 34 }, "identifierName": "difference" }, "name": "difference" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 20322, "end": 20330, "loc": { "start": { "line": 615, "column": 24 }, "end": { "line": 615, "column": 32 } }, "extra": { "rawValue": "(last=", "raw": "\"(last=\"" }, "value": "(last=" } }, "operator": "+", "right": { "type": "Identifier", "start": 20358, "end": 20370, "loc": { "start": { "line": 616, "column": 24 }, "end": { "line": 616, "column": 36 }, "identifierName": "lastDistance" }, "name": "lastDistance" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 20398, "end": 20408, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 34 } }, "extra": { "rawValue": ", new = ", "raw": "\", new = \"" }, "value": ", new = " } }, "operator": "+", "right": { "type": "Identifier", "start": 20436, "end": 20448, "loc": { "start": { "line": 618, "column": 24 }, "end": { "line": 618, "column": 36 }, "identifierName": "thisDistance" }, "name": "thisDistance" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 20476, "end": 20479, "loc": { "start": { "line": 619, "column": 24 }, "end": { "line": 619, "column": 27 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Apply zoom", "start": 20118, "end": 20131, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 20517, "end": 20546, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 20517, "end": 20545, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 44 } }, "operator": "*=", "left": { "type": "MemberExpression", "start": 20517, "end": 20531, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 30 } }, "object": { "type": "ThisExpression", "start": 20517, "end": 20521, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 20 } } }, "property": { "type": "Identifier", "start": 20522, "end": 20531, "loc": { "start": { "line": 621, "column": 21 }, "end": { "line": 621, "column": 30 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "Identifier", "start": 20535, "end": 20545, "loc": { "start": { "line": 621, "column": 34 }, "end": { "line": 621, "column": 44 }, "identifierName": "difference" }, "name": "difference" } }, "trailingComments": [ { "type": "CommentLine", "value": " Stick to pivot point", "start": 20566, "end": 20589, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 39 } } } ] }, { "type": "VariableDeclaration", "start": 20607, "end": 20693, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 102 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20613, "end": 20692, "loc": { "start": { "line": 624, "column": 22 }, "end": { "line": 624, "column": 101 } }, "id": { "type": "Identifier", "start": 20613, "end": 20623, "loc": { "start": { "line": 624, "column": 22 }, "end": { "line": 624, "column": 32 }, "identifierName": "correcture" }, "name": "correcture", "leadingComments": null }, "init": { "type": "CallExpression", "start": 20626, "end": 20692, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 101 } }, "callee": { "type": "MemberExpression", "start": 20626, "end": 20676, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 85 } }, "object": { "type": "CallExpression", "start": 20626, "end": 20663, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 20626, "end": 20647, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 56 } }, "object": { "type": "Identifier", "start": 20626, "end": 20632, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 41 }, "identifierName": "center" }, "name": "center" }, "property": { "type": "Identifier", "start": 20633, "end": 20647, "loc": { "start": { "line": 624, "column": 42 }, "end": { "line": 624, "column": 56 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 20648, "end": 20662, "loc": { "start": { "line": 624, "column": 57 }, "end": { "line": 624, "column": 71 } }, "left": { "type": "Identifier", "start": 20648, "end": 20658, "loc": { "start": { "line": 624, "column": 57 }, "end": { "line": 624, "column": 67 }, "identifierName": "difference" }, "name": "difference" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 20661, "end": 20662, "loc": { "start": { "line": 624, "column": 70 }, "end": { "line": 624, "column": 71 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, "property": { "type": "Identifier", "start": 20664, "end": 20676, "loc": { "start": { "line": 624, "column": 73 }, "end": { "line": 624, "column": 85 }, "identifierName": "divideScalar" }, "name": "divideScalar" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20677, "end": 20691, "loc": { "start": { "line": 624, "column": 86 }, "end": { "line": 624, "column": 100 } }, "object": { "type": "ThisExpression", "start": 20677, "end": 20681, "loc": { "start": { "line": 624, "column": 86 }, "end": { "line": 624, "column": 90 } } }, "property": { "type": "Identifier", "start": 20682, "end": 20691, "loc": { "start": { "line": 624, "column": 91 }, "end": { "line": 624, "column": 100 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Stick to pivot point", "start": 20566, "end": 20589, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 20713, "end": 20755, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 20713, "end": 20754, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20713, "end": 20724, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 27 } }, "object": { "type": "ThisExpression", "start": 20713, "end": 20717, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 20 } } }, "property": { "type": "Identifier", "start": 20718, "end": 20724, "loc": { "start": { "line": 626, "column": 21 }, "end": { "line": 626, "column": 27 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 20727, "end": 20754, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 20727, "end": 20742, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20727, "end": 20738, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 41 } }, "object": { "type": "ThisExpression", "start": 20727, "end": 20731, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 34 } } }, "property": { "type": "Identifier", "start": 20732, "end": 20738, "loc": { "start": { "line": 626, "column": 35 }, "end": { "line": 626, "column": 41 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 20739, "end": 20742, "loc": { "start": { "line": 626, "column": 42 }, "end": { "line": 626, "column": 45 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20743, "end": 20753, "loc": { "start": { "line": 626, "column": 46 }, "end": { "line": 626, "column": 56 }, "identifierName": "correcture" }, "name": "correcture" } ] } } }, { "type": "ExpressionStatement", "start": 20773, "end": 20817, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 20773, "end": 20816, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20773, "end": 20796, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 39 } }, "object": { "type": "ThisExpression", "start": 20773, "end": 20777, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 20 } } }, "property": { "type": "Identifier", "start": 20778, "end": 20796, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 39 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "right": { "type": "Identifier", "start": 20799, "end": 20816, "loc": { "start": { "line": 627, "column": 42 }, "end": { "line": 627, "column": 59 }, "identifierName": "newPinchPositions" }, "name": "newPinchPositions" } } }, { "type": "ExpressionStatement", "start": 20835, "end": 20885, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 66 } }, "expression": { "type": "CallExpression", "start": 20835, "end": 20884, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 20835, "end": 20864, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 45 } }, "object": { "type": "MemberExpression", "start": 20835, "end": 20855, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20835, "end": 20839, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 20 } } }, "property": { "type": "Identifier", "start": 20840, "end": 20855, "loc": { "start": { "line": 628, "column": 21 }, "end": { "line": 628, "column": 36 }, "identifierName": "userInteraction" }, "name": "userInteraction" }, "computed": false }, "property": { "type": "Identifier", "start": 20856, "end": 20864, "loc": { "start": { "line": 628, "column": 37 }, "end": { "line": 628, "column": 45 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 20865, "end": 20883, "loc": { "start": { "line": 628, "column": 46 }, "end": { "line": 628, "column": 64 }, "identifierName": "USER_INTERACT_MOVE" }, "name": "USER_INTERACT_MOVE" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Since we zoomed, abort any programmed zooming", "start": 20905, "end": 20953, "loc": { "start": { "line": 630, "column": 16 }, "end": { "line": 630, "column": 64 } } } ] }, { "type": "IfStatement", "start": 20971, "end": 21059, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 633, "column": 17 } }, "test": { "type": "MemberExpression", "start": 20975, "end": 20991, "loc": { "start": { "line": 631, "column": 20 }, "end": { "line": 631, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20975, "end": 20979, "loc": { "start": { "line": 631, "column": 20 }, "end": { "line": 631, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20980, "end": 20991, "loc": { "start": { "line": 631, "column": 25 }, "end": { "line": 631, "column": 36 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20993, "end": 21059, "loc": { "start": { "line": 631, "column": 38 }, "end": { "line": 633, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21016, "end": 21040, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 21016, "end": 21039, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21016, "end": 21032, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 36 } }, "object": { "type": "ThisExpression", "start": 21016, "end": 21020, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 24 } } }, "property": { "type": "Identifier", "start": 21021, "end": 21032, "loc": { "start": { "line": 632, "column": 25 }, "end": { "line": 632, "column": 36 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "NullLiteral", "start": 21035, "end": 21039, "loc": { "start": { "line": 632, "column": 39 }, "end": { "line": 632, "column": 43 } } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Since we zoomed, abort any programmed zooming", "start": 20905, "end": 20953, "loc": { "start": { "line": 630, "column": 16 }, "end": { "line": 630, "column": 64 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 21097, "end": 21127, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 38 } } } ] }, { "type": "ExpressionStatement", "start": 21137, "end": 21159, "loc": { "start": { "line": 638, "column": 8 }, "end": { "line": 638, "column": 30 } }, "expression": { "type": "CallExpression", "start": 21137, "end": 21158, "loc": { "start": { "line": 638, "column": 8 }, "end": { "line": 638, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 21137, "end": 21156, "loc": { "start": { "line": 638, "column": 8 }, "end": { "line": 638, "column": 27 } }, "object": { "type": "ThisExpression", "start": 21137, "end": 21141, "loc": { "start": { "line": 638, "column": 8 }, "end": { "line": 638, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21142, "end": 21156, "loc": { "start": { "line": 638, "column": 13 }, "end": { "line": 638, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 21097, "end": 21127, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 38 } } } ] }, { "type": "ReturnStatement", "start": 21169, "end": 21182, "loc": { "start": { "line": 639, "column": 8 }, "end": { "line": 639, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 21176, "end": 21181, "loc": { "start": { "line": 639, "column": 15 }, "end": { "line": 639, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch move handler\r\n * @param {TouchEvent} event\r\n ", "start": 18179, "end": 18252, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 567, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch end and cancel handler\r\n * @param {TouchEvent=} event\r\n ", "start": 21197, "end": 21281, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 645, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 21287, "end": 21824, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 662, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21287, "end": 21297, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 14 }, "identifierName": "onTouchEnd" }, "name": "onTouchEnd", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21298, "end": 21303, "loc": { "start": { "line": 646, "column": 15 }, "end": { "line": 646, "column": 20 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 21305, "end": 21824, "loc": { "start": { "line": 646, "column": 22 }, "end": { "line": 662, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 21316, "end": 21477, "loc": { "start": { "line": 647, "column": 8 }, "end": { "line": 652, "column": 9 } }, "test": { "type": "Identifier", "start": 21320, "end": 21325, "loc": { "start": { "line": 647, "column": 12 }, "end": { "line": 647, "column": 17 }, "identifierName": "event" }, "name": "event" }, "consequent": { "type": "BlockStatement", "start": 21327, "end": 21477, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 652, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 21342, "end": 21466, "loc": { "start": { "line": 648, "column": 12 }, "end": { "line": 651, "column": 13 } }, "test": { "type": "MemberExpression", "start": 21346, "end": 21362, "loc": { "start": { "line": 648, "column": 16 }, "end": { "line": 648, "column": 32 } }, "object": { "type": "Identifier", "start": 21346, "end": 21351, "loc": { "start": { "line": 648, "column": 16 }, "end": { "line": 648, "column": 21 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 21352, "end": 21362, "loc": { "start": { "line": 648, "column": 22 }, "end": { "line": 648, "column": 32 }, "identifierName": "cancelable" }, "name": "cancelable" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 21364, "end": 21466, "loc": { "start": { "line": 648, "column": 34 }, "end": { "line": 651, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 21383, "end": 21406, "loc": { "start": { "line": 649, "column": 16 }, "end": { "line": 649, "column": 39 } }, "expression": { "type": "CallExpression", "start": 21383, "end": 21405, "loc": { "start": { "line": 649, "column": 16 }, "end": { "line": 649, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 21383, "end": 21403, "loc": { "start": { "line": 649, "column": 16 }, "end": { "line": 649, "column": 36 } }, "object": { "type": "Identifier", "start": 21383, "end": 21388, "loc": { "start": { "line": 649, "column": 16 }, "end": { "line": 649, "column": 21 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 21389, "end": 21403, "loc": { "start": { "line": 649, "column": 22 }, "end": { "line": 649, "column": 36 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " event.stopPropagation();", "start": 21424, "end": 21451, "loc": { "start": { "line": 650, "column": 16 }, "end": { "line": 650, "column": 43 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 21489, "end": 21544, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 21489, "end": 21543, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21489, "end": 21523, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 42 } }, "object": { "type": "Identifier", "start": 21489, "end": 21509, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 28 }, "identifierName": "clickDetectorGlobals" }, "name": "clickDetectorGlobals" }, "property": { "type": "Identifier", "start": 21510, "end": 21523, "loc": { "start": { "line": 654, "column": 29 }, "end": { "line": 654, "column": 42 }, "identifierName": "lastTouchTime" }, "name": "lastTouchTime" }, "computed": false }, "right": { "type": "CallExpression", "start": 21526, "end": 21543, "loc": { "start": { "line": 654, "column": 45 }, "end": { "line": 654, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 21526, "end": 21541, "loc": { "start": { "line": 654, "column": 45 }, "end": { "line": 654, "column": 60 } }, "object": { "type": "Identifier", "start": 21526, "end": 21537, "loc": { "start": { "line": 654, "column": 45 }, "end": { "line": 654, "column": 56 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 21538, "end": 21541, "loc": { "start": { "line": 654, "column": 57 }, "end": { "line": 654, "column": 60 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 21554, "end": 21668, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 657, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 21558, "end": 21591, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 45 } }, "left": { "type": "MemberExpression", "start": 21558, "end": 21585, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 39 } }, "object": { "type": "MemberExpression", "start": 21558, "end": 21578, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 32 } }, "object": { "type": "Identifier", "start": 21558, "end": 21563, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 17 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 21564, "end": 21578, "loc": { "start": { "line": 655, "column": 18 }, "end": { "line": 655, "column": 32 }, "identifierName": "changedTouches" }, "name": "changedTouches" }, "computed": false }, "property": { "type": "Identifier", "start": 21579, "end": 21585, "loc": { "start": { "line": 655, "column": 33 }, "end": { "line": 655, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 21590, "end": 21591, "loc": { "start": { "line": 655, "column": 44 }, "end": { "line": 655, "column": 45 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 21593, "end": 21668, "loc": { "start": { "line": 655, "column": 47 }, "end": { "line": 657, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 21608, "end": 21657, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 61 } }, "expression": { "type": "CallExpression", "start": 21608, "end": 21656, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 21608, "end": 21619, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 23 } }, "object": { "type": "Identifier", "start": 21608, "end": 21614, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 21615, "end": 21619, "loc": { "start": { "line": 656, "column": 19 }, "end": { "line": 656, "column": 23 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21620, "end": 21655, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 59 } }, "extra": { "rawValue": "Touch end without changed touches", "raw": "\"Touch end without changed touches\"" }, "value": "Touch end without changed touches" } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 21680, "end": 21718, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21686, "end": 21717, "loc": { "start": { "line": 659, "column": 14 }, "end": { "line": 659, "column": 45 } }, "id": { "type": "Identifier", "start": 21686, "end": 21691, "loc": { "start": { "line": 659, "column": 14 }, "end": { "line": 659, "column": 19 }, "identifierName": "touch" }, "name": "touch" }, "init": { "type": "MemberExpression", "start": 21694, "end": 21717, "loc": { "start": { "line": 659, "column": 22 }, "end": { "line": 659, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21694, "end": 21714, "loc": { "start": { "line": 659, "column": 22 }, "end": { "line": 659, "column": 42 } }, "object": { "type": "Identifier", "start": 21694, "end": 21699, "loc": { "start": { "line": 659, "column": 22 }, "end": { "line": 659, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 21700, "end": 21714, "loc": { "start": { "line": 659, "column": 28 }, "end": { "line": 659, "column": 42 }, "identifierName": "changedTouches" }, "name": "changedTouches" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 21715, "end": 21716, "loc": { "start": { "line": 659, "column": 43 }, "end": { "line": 659, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 21728, "end": 21794, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 74 } }, "expression": { "type": "CallExpression", "start": 21728, "end": 21793, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 21728, "end": 21763, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 43 } }, "object": { "type": "ThisExpression", "start": 21728, "end": 21732, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 12 } } }, "property": { "type": "Identifier", "start": 21733, "end": 21763, "loc": { "start": { "line": 660, "column": 13 }, "end": { "line": 660, "column": 43 }, "identifierName": "combinedSingleTouchStopHandler" }, "name": "combinedSingleTouchStopHandler" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21764, "end": 21777, "loc": { "start": { "line": 660, "column": 44 }, "end": { "line": 660, "column": 57 } }, "object": { "type": "Identifier", "start": 21764, "end": 21769, "loc": { "start": { "line": 660, "column": 44 }, "end": { "line": 660, "column": 49 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 21770, "end": 21777, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 57 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 21779, "end": 21792, "loc": { "start": { "line": 660, "column": 59 }, "end": { "line": 660, "column": 72 } }, "object": { "type": "Identifier", "start": 21779, "end": 21784, "loc": { "start": { "line": 660, "column": 59 }, "end": { "line": 660, "column": 64 }, "identifierName": "touch" }, "name": "touch" }, "property": { "type": "Identifier", "start": 21785, "end": 21792, "loc": { "start": { "line": 660, "column": 65 }, "end": { "line": 660, "column": 72 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } }, { "type": "ReturnStatement", "start": 21804, "end": 21817, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 21811, "end": 21816, "loc": { "start": { "line": 661, "column": 15 }, "end": { "line": 661, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Touch end and cancel handler\r\n * @param {TouchEvent=} event\r\n ", "start": 21197, "end": 21281, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 645, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch start handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 21832, "end": 21933, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 668, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 21939, "end": 22463, "loc": { "start": { "line": 669, "column": 4 }, "end": { "line": 682, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21939, "end": 21970, "loc": { "start": { "line": 669, "column": 4 }, "end": { "line": 669, "column": 35 }, "identifierName": "combinedSingleTouchStartHandler" }, "name": "combinedSingleTouchStartHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21971, "end": 21972, "loc": { "start": { "line": 669, "column": 36 }, "end": { "line": 669, "column": 37 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 21974, "end": 21975, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 40 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 21977, "end": 22463, "loc": { "start": { "line": 669, "column": 42 }, "end": { "line": 682, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 21988, "end": 22017, "loc": { "start": { "line": 670, "column": 8 }, "end": { "line": 670, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21994, "end": 22016, "loc": { "start": { "line": 670, "column": 14 }, "end": { "line": 670, "column": 36 } }, "id": { "type": "Identifier", "start": 21994, "end": 21997, "loc": { "start": { "line": 670, "column": 14 }, "end": { "line": 670, "column": 17 }, "identifierName": "pos" }, "name": "pos" }, "init": { "type": "NewExpression", "start": 22000, "end": 22016, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 36 } }, "callee": { "type": "Identifier", "start": 22004, "end": 22010, "loc": { "start": { "line": 670, "column": 24 }, "end": { "line": 670, "column": 30 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "Identifier", "start": 22011, "end": 22012, "loc": { "start": { "line": 670, "column": 31 }, "end": { "line": 670, "column": 32 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 22014, "end": 22015, "loc": { "start": { "line": 670, "column": 34 }, "end": { "line": 670, "column": 35 }, "identifierName": "y" }, "name": "y" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 22027, "end": 22184, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 674, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 22031, "end": 22107, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 88 } }, "left": { "type": "CallExpression", "start": 22031, "end": 22086, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 22031, "end": 22059, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22031, "end": 22050, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22031, "end": 22035, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 16 } } }, "property": { "type": "Identifier", "start": 22036, "end": 22050, "loc": { "start": { "line": 671, "column": 17 }, "end": { "line": 671, "column": 31 }, "identifierName": "downPreHandler" }, "name": "downPreHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 22051, "end": 22059, "loc": { "start": { "line": 671, "column": 32 }, "end": { "line": 671, "column": 40 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22060, "end": 22063, "loc": { "start": { "line": 671, "column": 41 }, "end": { "line": 671, "column": 44 }, "identifierName": "pos" }, "name": "pos" }, { "type": "MemberExpression", "start": 22065, "end": 22085, "loc": { "start": { "line": 671, "column": 46 }, "end": { "line": 671, "column": 66 } }, "object": { "type": "Identifier", "start": 22065, "end": 22080, "loc": { "start": { "line": 671, "column": 46 }, "end": { "line": 671, "column": 61 }, "identifierName": "enumMouseButton" }, "name": "enumMouseButton" }, "property": { "type": "Identifier", "start": 22081, "end": 22085, "loc": { "start": { "line": 671, "column": 62 }, "end": { "line": 671, "column": 66 }, "identifierName": "left" }, "name": "left" }, "computed": false } ] }, "operator": "===", "right": { "type": "Identifier", "start": 22091, "end": 22107, "loc": { "start": { "line": 671, "column": 72 }, "end": { "line": 671, "column": 88 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } }, "consequent": { "type": "BlockStatement", "start": 22109, "end": 22184, "loc": { "start": { "line": 671, "column": 90 }, "end": { "line": 674, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 22166, "end": 22173, "loc": { "start": { "line": 673, "column": 12 }, "end": { "line": 673, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Somebody else captured it", "start": 22124, "end": 22152, "loc": { "start": { "line": 672, "column": 12 }, "end": { "line": 672, "column": 40 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 22196, "end": 22242, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 22196, "end": 22241, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22196, "end": 22222, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 34 } }, "object": { "type": "ThisExpression", "start": 22196, "end": 22200, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 12 } } }, "property": { "type": "Identifier", "start": 22201, "end": 22222, "loc": { "start": { "line": 676, "column": 13 }, "end": { "line": 676, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "NewExpression", "start": 22225, "end": 22241, "loc": { "start": { "line": 676, "column": 37 }, "end": { "line": 676, "column": 53 } }, "callee": { "type": "Identifier", "start": 22229, "end": 22235, "loc": { "start": { "line": 676, "column": 41 }, "end": { "line": 676, "column": 47 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 22236, "end": 22237, "loc": { "start": { "line": 676, "column": 48 }, "end": { "line": 676, "column": 49 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 22239, "end": 22240, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 52 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } }, { "type": "ExpressionStatement", "start": 22252, "end": 22280, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 22252, "end": 22279, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22252, "end": 22272, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 28 } }, "object": { "type": "ThisExpression", "start": 22252, "end": 22256, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 12 } } }, "property": { "type": "Identifier", "start": 22257, "end": 22272, "loc": { "start": { "line": 677, "column": 13 }, "end": { "line": 677, "column": 28 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 22275, "end": 22279, "loc": { "start": { "line": 677, "column": 31 }, "end": { "line": 677, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 22290, "end": 22320, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 22290, "end": 22319, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22290, "end": 22313, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22290, "end": 22294, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 12 } } }, "property": { "type": "Identifier", "start": 22295, "end": 22313, "loc": { "start": { "line": 678, "column": 13 }, "end": { "line": 678, "column": 31 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "right": { "type": "Identifier", "start": 22316, "end": 22319, "loc": { "start": { "line": 678, "column": 34 }, "end": { "line": 678, "column": 37 }, "identifierName": "pos" }, "name": "pos" } } }, { "type": "ExpressionStatement", "start": 22330, "end": 22369, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 22330, "end": 22368, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22330, "end": 22361, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 39 } }, "object": { "type": "ThisExpression", "start": 22330, "end": 22334, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 12 } } }, "property": { "type": "Identifier", "start": 22335, "end": 22361, "loc": { "start": { "line": 679, "column": 13 }, "end": { "line": 679, "column": 39 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "right": { "type": "NullLiteral", "start": 22364, "end": 22368, "loc": { "start": { "line": 679, "column": 42 }, "end": { "line": 679, "column": 46 } } } } }, { "type": "ExpressionStatement", "start": 22379, "end": 22410, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 22379, "end": 22409, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22379, "end": 22405, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 34 } }, "object": { "type": "ThisExpression", "start": 22379, "end": 22383, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 12 } } }, "property": { "type": "Identifier", "start": 22384, "end": 22405, "loc": { "start": { "line": 680, "column": 13 }, "end": { "line": 680, "column": 34 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 22408, "end": 22409, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 22420, "end": 22456, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 22420, "end": 22455, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22420, "end": 22447, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 35 } }, "object": { "type": "ThisExpression", "start": 22420, "end": 22424, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 12 } } }, "property": { "type": "Identifier", "start": 22425, "end": 22447, "loc": { "start": { "line": 681, "column": 13 }, "end": { "line": 681, "column": 35 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 22450, "end": 22455, "loc": { "start": { "line": 681, "column": 38 }, "end": { "line": 681, "column": 43 } }, "value": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch start handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 21832, "end": 21933, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 668, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch move handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 22471, "end": 22571, "loc": { "start": { "line": 684, "column": 4 }, "end": { "line": 688, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 22577, "end": 23747, "loc": { "start": { "line": 689, "column": 4 }, "end": { "line": 720, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 22577, "end": 22607, "loc": { "start": { "line": 689, "column": 4 }, "end": { "line": 689, "column": 34 }, "identifierName": "combinedSingleTouchMoveHandler" }, "name": "combinedSingleTouchMoveHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22608, "end": 22609, "loc": { "start": { "line": 689, "column": 35 }, "end": { "line": 689, "column": 36 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 22611, "end": 22612, "loc": { "start": { "line": 689, "column": 38 }, "end": { "line": 689, "column": 39 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 22614, "end": 23747, "loc": { "start": { "line": 689, "column": 41 }, "end": { "line": 720, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 22625, "end": 22654, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 690, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22631, "end": 22653, "loc": { "start": { "line": 690, "column": 14 }, "end": { "line": 690, "column": 36 } }, "id": { "type": "Identifier", "start": 22631, "end": 22634, "loc": { "start": { "line": 690, "column": 14 }, "end": { "line": 690, "column": 17 }, "identifierName": "pos" }, "name": "pos" }, "init": { "type": "NewExpression", "start": 22637, "end": 22653, "loc": { "start": { "line": 690, "column": 20 }, "end": { "line": 690, "column": 36 } }, "callee": { "type": "Identifier", "start": 22641, "end": 22647, "loc": { "start": { "line": 690, "column": 24 }, "end": { "line": 690, "column": 30 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "Identifier", "start": 22648, "end": 22649, "loc": { "start": { "line": 690, "column": 31 }, "end": { "line": 690, "column": 32 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 22651, "end": 22652, "loc": { "start": { "line": 690, "column": 34 }, "end": { "line": 690, "column": 35 }, "identifierName": "y" }, "name": "y" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 22664, "end": 22799, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 694, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 22668, "end": 22722, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 66 } }, "left": { "type": "CallExpression", "start": 22668, "end": 22701, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 22668, "end": 22696, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 40 } }, "object": { "type": "MemberExpression", "start": 22668, "end": 22687, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 31 } }, "object": { "type": "ThisExpression", "start": 22668, "end": 22672, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 16 } } }, "property": { "type": "Identifier", "start": 22673, "end": 22687, "loc": { "start": { "line": 691, "column": 17 }, "end": { "line": 691, "column": 31 }, "identifierName": "movePreHandler" }, "name": "movePreHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 22688, "end": 22696, "loc": { "start": { "line": 691, "column": 32 }, "end": { "line": 691, "column": 40 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22697, "end": 22700, "loc": { "start": { "line": 691, "column": 41 }, "end": { "line": 691, "column": 44 }, "identifierName": "pos" }, "name": "pos" } ] }, "operator": "===", "right": { "type": "Identifier", "start": 22706, "end": 22722, "loc": { "start": { "line": 691, "column": 50 }, "end": { "line": 691, "column": 66 }, "identifierName": "STOP_PROPAGATION" }, "name": "STOP_PROPAGATION" } }, "consequent": { "type": "BlockStatement", "start": 22724, "end": 22799, "loc": { "start": { "line": 691, "column": 68 }, "end": { "line": 694, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 22781, "end": 22788, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Somebody else captured it", "start": 22739, "end": 22767, "loc": { "start": { "line": 692, "column": 12 }, "end": { "line": 692, "column": 40 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 22811, "end": 22877, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 698, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 22815, "end": 22836, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 22816, "end": 22836, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 33 } }, "object": { "type": "ThisExpression", "start": 22816, "end": 22820, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 17 } } }, "property": { "type": "Identifier", "start": 22821, "end": 22836, "loc": { "start": { "line": 696, "column": 18 }, "end": { "line": 696, "column": 33 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 22838, "end": 22877, "loc": { "start": { "line": 696, "column": 35 }, "end": { "line": 698, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 22853, "end": 22866, "loc": { "start": { "line": 697, "column": 12 }, "end": { "line": 697, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 22860, "end": 22865, "loc": { "start": { "line": 697, "column": 19 }, "end": { "line": 697, "column": 24 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 22889, "end": 22963, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22893, "end": 22962, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 81 } }, "id": { "type": "Identifier", "start": 22893, "end": 22898, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 17 }, "identifierName": "delta" }, "name": "delta" }, "init": { "type": "CallExpression", "start": 22901, "end": 22962, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 22901, "end": 22946, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 65 } }, "object": { "type": "CallExpression", "start": 22901, "end": 22933, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 22901, "end": 22928, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 47 } }, "object": { "type": "MemberExpression", "start": 22901, "end": 22924, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 43 } }, "object": { "type": "ThisExpression", "start": 22901, "end": 22905, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 24 } } }, "property": { "type": "Identifier", "start": 22906, "end": 22924, "loc": { "start": { "line": 700, "column": 25 }, "end": { "line": 700, "column": 43 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "property": { "type": "Identifier", "start": 22925, "end": 22928, "loc": { "start": { "line": 700, "column": 44 }, "end": { "line": 700, "column": 47 }, "identifierName": "sub" }, "name": "sub" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22929, "end": 22932, "loc": { "start": { "line": 700, "column": 48 }, "end": { "line": 700, "column": 51 }, "identifierName": "pos" }, "name": "pos" } ] }, "property": { "type": "Identifier", "start": 22934, "end": 22946, "loc": { "start": { "line": 700, "column": 53 }, "end": { "line": 700, "column": 65 }, "identifierName": "divideScalar" }, "name": "divideScalar" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 22947, "end": 22961, "loc": { "start": { "line": 700, "column": 66 }, "end": { "line": 700, "column": 80 } }, "object": { "type": "ThisExpression", "start": 22947, "end": 22951, "loc": { "start": { "line": 700, "column": 66 }, "end": { "line": 700, "column": 70 } } }, "property": { "type": "Identifier", "start": 22952, "end": 22961, "loc": { "start": { "line": 700, "column": 71 }, "end": { "line": 700, "column": 80 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 22973, "end": 23176, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 704, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 22977, "end": 23019, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 54 } }, "left": { "type": "Identifier", "start": 22977, "end": 22985, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 22989, "end": 23019, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 54 } }, "object": { "type": "MemberExpression", "start": 22989, "end": 23007, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 42 } }, "object": { "type": "Identifier", "start": 22989, "end": 23001, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 23002, "end": 23007, "loc": { "start": { "line": 701, "column": 37 }, "end": { "line": 701, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 23008, "end": 23019, "loc": { "start": { "line": 701, "column": 43 }, "end": { "line": 701, "column": 54 }, "identifierName": "testCulling" }, "name": "testCulling" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 23021, "end": 23176, "loc": { "start": { "line": 701, "column": 56 }, "end": { "line": 704, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23115, "end": 23165, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 23115, "end": 23164, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", "start": 23115, "end": 23120, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 17 }, "identifierName": "delta" }, "name": "delta", "leadingComments": null }, "right": { "type": "CallExpression", "start": 23123, "end": 23164, "loc": { "start": { "line": 703, "column": 20 }, "end": { "line": 703, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 23123, "end": 23143, "loc": { "start": { "line": 703, "column": 20 }, "end": { "line": 703, "column": 40 } }, "object": { "type": "Identifier", "start": 23123, "end": 23128, "loc": { "start": { "line": 703, "column": 20 }, "end": { "line": 703, "column": 25 }, "identifierName": "delta" }, "name": "delta" }, "property": { "type": "Identifier", "start": 23129, "end": 23143, "loc": { "start": { "line": 703, "column": 26 }, "end": { "line": 703, "column": 40 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 23144, "end": 23163, "loc": { "start": { "line": 703, "column": 41 }, "end": { "line": 703, "column": 60 } }, "left": { "type": "MemberExpression", "start": 23144, "end": 23158, "loc": { "start": { "line": 703, "column": 41 }, "end": { "line": 703, "column": 55 } }, "object": { "type": "ThisExpression", "start": 23144, "end": 23148, "loc": { "start": { "line": 703, "column": 41 }, "end": { "line": 703, "column": 45 } } }, "property": { "type": "Identifier", "start": 23149, "end": 23158, "loc": { "start": { "line": 703, "column": 46 }, "end": { "line": 703, "column": 55 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "*", "right": { "type": "UnaryExpression", "start": 23161, "end": 23163, "loc": { "start": { "line": 703, "column": 58 }, "end": { "line": 703, "column": 60 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 23162, "end": 23163, "loc": { "start": { "line": 703, "column": 59 }, "end": { "line": 703, "column": 60 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " When testing culling, we see everything from the same distance", "start": 23036, "end": 23101, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 77 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 23188, "end": 23268, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 88 } }, "expression": { "type": "AssignmentExpression", "start": 23188, "end": 23267, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 87 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23188, "end": 23215, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 35 } }, "object": { "type": "ThisExpression", "start": 23188, "end": 23192, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 12 } } }, "property": { "type": "Identifier", "start": 23193, "end": 23215, "loc": { "start": { "line": 706, "column": 13 }, "end": { "line": 706, "column": 35 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 23218, "end": 23267, "loc": { "start": { "line": 706, "column": 38 }, "end": { "line": 706, "column": 87 } }, "left": { "type": "MemberExpression", "start": 23218, "end": 23245, "loc": { "start": { "line": 706, "column": 38 }, "end": { "line": 706, "column": 65 } }, "object": { "type": "ThisExpression", "start": 23218, "end": 23222, "loc": { "start": { "line": 706, "column": 38 }, "end": { "line": 706, "column": 42 } } }, "property": { "type": "Identifier", "start": 23223, "end": 23245, "loc": { "start": { "line": 706, "column": 43 }, "end": { "line": 706, "column": 65 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "operator": "||", "right": { "type": "BinaryExpression", "start": 23249, "end": 23267, "loc": { "start": { "line": 706, "column": 69 }, "end": { "line": 706, "column": 87 } }, "left": { "type": "CallExpression", "start": 23249, "end": 23263, "loc": { "start": { "line": 706, "column": 69 }, "end": { "line": 706, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 23249, "end": 23261, "loc": { "start": { "line": 706, "column": 69 }, "end": { "line": 706, "column": 81 } }, "object": { "type": "Identifier", "start": 23249, "end": 23254, "loc": { "start": { "line": 706, "column": 69 }, "end": { "line": 706, "column": 74 }, "identifierName": "delta" }, "name": "delta" }, "property": { "type": "Identifier", "start": 23255, "end": 23261, "loc": { "start": { "line": 706, "column": 75 }, "end": { "line": 706, "column": 81 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] }, "operator": ">", "right": { "type": "NumericLiteral", "start": 23266, "end": 23267, "loc": { "start": { "line": 706, "column": 86 }, "end": { "line": 706, "column": 87 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } } }, { "type": "ExpressionStatement", "start": 23278, "end": 23315, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 23278, "end": 23314, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23278, "end": 23289, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 19 } }, "object": { "type": "ThisExpression", "start": 23278, "end": 23282, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 12 } } }, "property": { "type": "Identifier", "start": 23283, "end": 23289, "loc": { "start": { "line": 707, "column": 13 }, "end": { "line": 707, "column": 19 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 23292, "end": 23314, "loc": { "start": { "line": 707, "column": 22 }, "end": { "line": 707, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23292, "end": 23307, "loc": { "start": { "line": 707, "column": 22 }, "end": { "line": 707, "column": 37 } }, "object": { "type": "MemberExpression", "start": 23292, "end": 23303, "loc": { "start": { "line": 707, "column": 22 }, "end": { "line": 707, "column": 33 } }, "object": { "type": "ThisExpression", "start": 23292, "end": 23296, "loc": { "start": { "line": 707, "column": 22 }, "end": { "line": 707, "column": 26 } } }, "property": { "type": "Identifier", "start": 23297, "end": 23303, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 33 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 23304, "end": 23307, "loc": { "start": { "line": 707, "column": 34 }, "end": { "line": 707, "column": 37 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23308, "end": 23313, "loc": { "start": { "line": 707, "column": 38 }, "end": { "line": 707, "column": 43 }, "identifierName": "delta" }, "name": "delta" } ] } } }, { "type": "ExpressionStatement", "start": 23327, "end": 23494, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 23327, "end": 23493, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 711, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23327, "end": 23353, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 34 } }, "object": { "type": "ThisExpression", "start": 23327, "end": 23331, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 12 } } }, "property": { "type": "Identifier", "start": 23332, "end": 23353, "loc": { "start": { "line": 709, "column": 13 }, "end": { "line": 709, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "CallExpression", "start": 23356, "end": 23493, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 711, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 23356, "end": 23448, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 711, "column": 16 } }, "object": { "type": "CallExpression", "start": 23356, "end": 23430, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 710, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 23356, "end": 23411, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 710, "column": 27 } }, "object": { "type": "MemberExpression", "start": 23356, "end": 23382, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 709, "column": 63 } }, "object": { "type": "ThisExpression", "start": 23356, "end": 23360, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 709, "column": 41 } } }, "property": { "type": "Identifier", "start": 23361, "end": 23382, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "column": 63 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 23397, "end": 23411, "loc": { "start": { "line": 710, "column": 13 }, "end": { "line": 710, "column": 27 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23412, "end": 23429, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 45 }, "identifierName": "velocitySmoothing" }, "name": "velocitySmoothing" } ] }, "property": { "type": "Identifier", "start": 23445, "end": 23448, "loc": { "start": { "line": 711, "column": 13 }, "end": { "line": 711, "column": 16 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 23449, "end": 23492, "loc": { "start": { "line": 711, "column": 17 }, "end": { "line": 711, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 23449, "end": 23469, "loc": { "start": { "line": 711, "column": 17 }, "end": { "line": 711, "column": 37 } }, "object": { "type": "Identifier", "start": 23449, "end": 23454, "loc": { "start": { "line": 711, "column": 17 }, "end": { "line": 711, "column": 22 }, "identifierName": "delta" }, "name": "delta" }, "property": { "type": "Identifier", "start": 23455, "end": 23469, "loc": { "start": { "line": 711, "column": 23 }, "end": { "line": 711, "column": 37 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 23470, "end": 23491, "loc": { "start": { "line": 711, "column": 38 }, "end": { "line": 711, "column": 59 } }, "left": { "type": "NumericLiteral", "start": 23470, "end": 23471, "loc": { "start": { "line": 711, "column": 38 }, "end": { "line": 711, "column": 39 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "-", "right": { "type": "Identifier", "start": 23474, "end": 23491, "loc": { "start": { "line": 711, "column": 42 }, "end": { "line": 711, "column": 59 }, "identifierName": "velocitySmoothing" }, "name": "velocitySmoothing" } } ] } ] } } }, { "type": "ExpressionStatement", "start": 23506, "end": 23536, "loc": { "start": { "line": 713, "column": 8 }, "end": { "line": 713, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 23506, "end": 23535, "loc": { "start": { "line": 713, "column": 8 }, "end": { "line": 713, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23506, "end": 23529, "loc": { "start": { "line": 713, "column": 8 }, "end": { "line": 713, "column": 31 } }, "object": { "type": "ThisExpression", "start": 23506, "end": 23510, "loc": { "start": { "line": 713, "column": 8 }, "end": { "line": 713, "column": 12 } } }, "property": { "type": "Identifier", "start": 23511, "end": 23529, "loc": { "start": { "line": 713, "column": 13 }, "end": { "line": 713, "column": 31 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "right": { "type": "Identifier", "start": 23532, "end": 23535, "loc": { "start": { "line": 713, "column": 34 }, "end": { "line": 713, "column": 37 }, "identifierName": "pos" }, "name": "pos" } } }, { "type": "ExpressionStatement", "start": 23546, "end": 23596, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 58 } }, "expression": { "type": "CallExpression", "start": 23546, "end": 23595, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 23546, "end": 23575, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 37 } }, "object": { "type": "MemberExpression", "start": 23546, "end": 23566, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 28 } }, "object": { "type": "ThisExpression", "start": 23546, "end": 23550, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 12 } } }, "property": { "type": "Identifier", "start": 23551, "end": 23566, "loc": { "start": { "line": 714, "column": 13 }, "end": { "line": 714, "column": 28 }, "identifierName": "userInteraction" }, "name": "userInteraction" }, "computed": false }, "property": { "type": "Identifier", "start": 23567, "end": 23575, "loc": { "start": { "line": 714, "column": 29 }, "end": { "line": 714, "column": 37 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23576, "end": 23594, "loc": { "start": { "line": 714, "column": 38 }, "end": { "line": 714, "column": 56 }, "identifierName": "USER_INTERACT_MOVE" }, "name": "USER_INTERACT_MOVE" } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Since we moved, abort any programmed moving", "start": 23608, "end": 23654, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 54 } } } ] }, { "type": "IfStatement", "start": 23664, "end": 23740, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 719, "column": 9 } }, "test": { "type": "MemberExpression", "start": 23668, "end": 23686, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 30 } }, "object": { "type": "ThisExpression", "start": 23668, "end": 23672, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 23673, "end": 23686, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 30 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 23688, "end": 23740, "loc": { "start": { "line": 717, "column": 32 }, "end": { "line": 719, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23703, "end": 23729, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 23703, "end": 23728, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23703, "end": 23721, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 30 } }, "object": { "type": "ThisExpression", "start": 23703, "end": 23707, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 16 } } }, "property": { "type": "Identifier", "start": 23708, "end": 23721, "loc": { "start": { "line": 718, "column": 17 }, "end": { "line": 718, "column": 30 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NullLiteral", "start": 23724, "end": 23728, "loc": { "start": { "line": 718, "column": 33 }, "end": { "line": 718, "column": 37 } } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Since we moved, abort any programmed moving", "start": 23608, "end": 23654, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 54 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch move handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 22471, "end": 22571, "loc": { "start": { "line": 684, "column": 4 }, "end": { "line": 688, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch stop handler\r\n ", "start": 23755, "end": 23803, "loc": { "start": { "line": 722, "column": 4 }, "end": { "line": 724, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 23809, "end": 24378, "loc": { "start": { "line": 725, "column": 4 }, "end": { "line": 737, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 23809, "end": 23839, "loc": { "start": { "line": 725, "column": 4 }, "end": { "line": 725, "column": 34 }, "identifierName": "combinedSingleTouchStopHandler" }, "name": "combinedSingleTouchStopHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23840, "end": 23841, "loc": { "start": { "line": 725, "column": 35 }, "end": { "line": 725, "column": 36 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 23843, "end": 23844, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 39 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 23846, "end": 24378, "loc": { "start": { "line": 725, "column": 41 }, "end": { "line": 737, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 23857, "end": 24315, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 735, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 23861, "end": 23907, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 58 } }, "left": { "type": "MemberExpression", "start": 23861, "end": 23881, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 32 } }, "object": { "type": "ThisExpression", "start": 23861, "end": 23865, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 16 } } }, "property": { "type": "Identifier", "start": 23866, "end": 23881, "loc": { "start": { "line": 726, "column": 17 }, "end": { "line": 726, "column": 32 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "operator": "||", "right": { "type": "MemberExpression", "start": 23885, "end": 23907, "loc": { "start": { "line": 726, "column": 36 }, "end": { "line": 726, "column": 58 } }, "object": { "type": "ThisExpression", "start": 23885, "end": 23889, "loc": { "start": { "line": 726, "column": 36 }, "end": { "line": 726, "column": 40 } } }, "property": { "type": "Identifier", "start": 23890, "end": 23907, "loc": { "start": { "line": 726, "column": 41 }, "end": { "line": 726, "column": 58 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 23909, "end": 24315, "loc": { "start": { "line": 726, "column": 60 }, "end": { "line": 735, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23924, "end": 23953, "loc": { "start": { "line": 727, "column": 12 }, "end": { "line": 727, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 23924, "end": 23952, "loc": { "start": { "line": 727, "column": 12 }, "end": { "line": 727, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23924, "end": 23944, "loc": { "start": { "line": 727, "column": 12 }, "end": { "line": 727, "column": 32 } }, "object": { "type": "ThisExpression", "start": 23924, "end": 23928, "loc": { "start": { "line": 727, "column": 12 }, "end": { "line": 727, "column": 16 } } }, "property": { "type": "Identifier", "start": 23929, "end": 23944, "loc": { "start": { "line": 727, "column": 17 }, "end": { "line": 727, "column": 32 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23947, "end": 23952, "loc": { "start": { "line": 727, "column": 35 }, "end": { "line": 727, "column": 40 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 23967, "end": 23998, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 23967, "end": 23997, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23967, "end": 23989, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 34 } }, "object": { "type": "ThisExpression", "start": 23967, "end": 23971, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 16 } } }, "property": { "type": "Identifier", "start": 23972, "end": 23989, "loc": { "start": { "line": 728, "column": 17 }, "end": { "line": 728, "column": 34 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23992, "end": 23997, "loc": { "start": { "line": 728, "column": 37 }, "end": { "line": 728, "column": 42 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 24012, "end": 24043, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24012, "end": 24042, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24012, "end": 24035, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 35 } }, "object": { "type": "ThisExpression", "start": 24012, "end": 24016, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 16 } } }, "property": { "type": "Identifier", "start": 24017, "end": 24035, "loc": { "start": { "line": 729, "column": 17 }, "end": { "line": 729, "column": 35 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "right": { "type": "NullLiteral", "start": 24038, "end": 24042, "loc": { "start": { "line": 729, "column": 38 }, "end": { "line": 729, "column": 42 } } } } }, { "type": "ExpressionStatement", "start": 24057, "end": 24096, "loc": { "start": { "line": 730, "column": 12 }, "end": { "line": 730, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 24057, "end": 24095, "loc": { "start": { "line": 730, "column": 12 }, "end": { "line": 730, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24057, "end": 24088, "loc": { "start": { "line": 730, "column": 12 }, "end": { "line": 730, "column": 43 } }, "object": { "type": "ThisExpression", "start": 24057, "end": 24061, "loc": { "start": { "line": 730, "column": 12 }, "end": { "line": 730, "column": 16 } } }, "property": { "type": "Identifier", "start": 24062, "end": 24088, "loc": { "start": { "line": 730, "column": 17 }, "end": { "line": 730, "column": 43 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "right": { "type": "NullLiteral", "start": 24091, "end": 24095, "loc": { "start": { "line": 730, "column": 46 }, "end": { "line": 730, "column": 50 } } } } }, { "type": "ExpressionStatement", "start": 24110, "end": 24141, "loc": { "start": { "line": 731, "column": 12 }, "end": { "line": 731, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24110, "end": 24140, "loc": { "start": { "line": 731, "column": 12 }, "end": { "line": 731, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24110, "end": 24136, "loc": { "start": { "line": 731, "column": 12 }, "end": { "line": 731, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24110, "end": 24114, "loc": { "start": { "line": 731, "column": 12 }, "end": { "line": 731, "column": 16 } } }, "property": { "type": "Identifier", "start": 24115, "end": 24136, "loc": { "start": { "line": 731, "column": 17 }, "end": { "line": 731, "column": 38 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 24139, "end": 24140, "loc": { "start": { "line": 731, "column": 41 }, "end": { "line": 731, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 24155, "end": 24186, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24155, "end": 24185, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24155, "end": 24178, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 35 } }, "object": { "type": "ThisExpression", "start": 24155, "end": 24159, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 16 } } }, "property": { "type": "Identifier", "start": 24160, "end": 24178, "loc": { "start": { "line": 732, "column": 17 }, "end": { "line": 732, "column": 35 }, "identifierName": "lastPinchPositions" }, "name": "lastPinchPositions" }, "computed": false }, "right": { "type": "NullLiteral", "start": 24181, "end": 24185, "loc": { "start": { "line": 732, "column": 38 }, "end": { "line": 732, "column": 42 } } } } }, { "type": "ExpressionStatement", "start": 24200, "end": 24254, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 66 } }, "expression": { "type": "CallExpression", "start": 24200, "end": 24253, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 24200, "end": 24229, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 41 } }, "object": { "type": "MemberExpression", "start": 24200, "end": 24220, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 32 } }, "object": { "type": "ThisExpression", "start": 24200, "end": 24204, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 16 } } }, "property": { "type": "Identifier", "start": 24205, "end": 24220, "loc": { "start": { "line": 733, "column": 17 }, "end": { "line": 733, "column": 32 }, "identifierName": "userInteraction" }, "name": "userInteraction" }, "computed": false }, "property": { "type": "Identifier", "start": 24221, "end": 24229, "loc": { "start": { "line": 733, "column": 33 }, "end": { "line": 733, "column": 41 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24230, "end": 24252, "loc": { "start": { "line": 733, "column": 42 }, "end": { "line": 733, "column": 64 }, "identifierName": "USER_INTERACT_TOUCHEND" }, "name": "USER_INTERACT_TOUCHEND" } ] } }, { "type": "ExpressionStatement", "start": 24268, "end": 24304, "loc": { "start": { "line": 734, "column": 12 }, "end": { "line": 734, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 24268, "end": 24303, "loc": { "start": { "line": 734, "column": 12 }, "end": { "line": 734, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24268, "end": 24295, "loc": { "start": { "line": 734, "column": 12 }, "end": { "line": 734, "column": 39 } }, "object": { "type": "ThisExpression", "start": 24268, "end": 24272, "loc": { "start": { "line": 734, "column": 12 }, "end": { "line": 734, "column": 16 } } }, "property": { "type": "Identifier", "start": 24273, "end": 24295, "loc": { "start": { "line": 734, "column": 17 }, "end": { "line": 734, "column": 39 }, "identifierName": "didMoveSinceTouchStart" }, "name": "didMoveSinceTouchStart" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 24298, "end": 24303, "loc": { "start": { "line": 734, "column": 42 }, "end": { "line": 734, "column": 47 } }, "value": false } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 24325, "end": 24371, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 54 } }, "expression": { "type": "CallExpression", "start": 24325, "end": 24370, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 24325, "end": 24352, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 35 } }, "object": { "type": "MemberExpression", "start": 24325, "end": 24343, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 26 } }, "object": { "type": "ThisExpression", "start": 24325, "end": 24329, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 12 } } }, "property": { "type": "Identifier", "start": 24330, "end": 24343, "loc": { "start": { "line": 736, "column": 13 }, "end": { "line": 736, "column": 26 }, "identifierName": "upPostHandler" }, "name": "upPostHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 24344, "end": 24352, "loc": { "start": { "line": 736, "column": 27 }, "end": { "line": 736, "column": 35 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 24353, "end": 24369, "loc": { "start": { "line": 736, "column": 36 }, "end": { "line": 736, "column": 52 } }, "callee": { "type": "Identifier", "start": 24357, "end": 24363, "loc": { "start": { "line": 736, "column": 40 }, "end": { "line": 736, "column": 46 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "Identifier", "start": 24364, "end": 24365, "loc": { "start": { "line": 736, "column": 47 }, "end": { "line": 736, "column": 48 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 24367, "end": 24368, "loc": { "start": { "line": 736, "column": 50 }, "end": { "line": 736, "column": 51 }, "identifierName": "y" }, "name": "y" } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal touch stop handler\r\n ", "start": 23755, "end": 23803, "loc": { "start": { "line": 722, "column": 4 }, "end": { "line": 724, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps the camera zoom level within the allowed range\r\n ", "start": 24386, "end": 24460, "loc": { "start": { "line": 739, "column": 4 }, "end": { "line": 741, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 24466, "end": 25113, "loc": { "start": { "line": 742, "column": 4 }, "end": { "line": 755, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 24466, "end": 24480, "loc": { "start": { "line": 742, "column": 4 }, "end": { "line": 742, "column": 18 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 24483, "end": 25113, "loc": { "start": { "line": 742, "column": 21 }, "end": { "line": 755, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 24494, "end": 24581, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 745, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 24498, "end": 24546, "loc": { "start": { "line": 743, "column": 12 }, "end": { "line": 743, "column": 60 } }, "left": { "type": "Identifier", "start": 24498, "end": 24506, "loc": { "start": { "line": 743, "column": 12 }, "end": { "line": 743, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 24510, "end": 24546, "loc": { "start": { "line": 743, "column": 24 }, "end": { "line": 743, "column": 60 } }, "object": { "type": "MemberExpression", "start": 24510, "end": 24528, "loc": { "start": { "line": 743, "column": 24 }, "end": { "line": 743, "column": 42 } }, "object": { "type": "Identifier", "start": 24510, "end": 24522, "loc": { "start": { "line": 743, "column": 24 }, "end": { "line": 743, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 24523, "end": 24528, "loc": { "start": { "line": 743, "column": 37 }, "end": { "line": 743, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 24529, "end": 24546, "loc": { "start": { "line": 743, "column": 43 }, "end": { "line": 743, "column": 60 }, "identifierName": "disableZoomLimits" }, "name": "disableZoomLimits" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 24548, "end": 24581, "loc": { "start": { "line": 743, "column": 62 }, "end": { "line": 745, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 24563, "end": 24570, "loc": { "start": { "line": 744, "column": 12 }, "end": { "line": 744, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 24591, "end": 24637, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 746, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24597, "end": 24636, "loc": { "start": { "line": 746, "column": 14 }, "end": { "line": 746, "column": 53 } }, "id": { "type": "Identifier", "start": 24597, "end": 24604, "loc": { "start": { "line": 746, "column": 14 }, "end": { "line": 746, "column": 21 }, "identifierName": "wrapper" }, "name": "wrapper" }, "init": { "type": "MemberExpression", "start": 24607, "end": 24636, "loc": { "start": { "line": 746, "column": 24 }, "end": { "line": 746, "column": 53 } }, "object": { "type": "MemberExpression", "start": 24607, "end": 24620, "loc": { "start": { "line": 746, "column": 24 }, "end": { "line": 746, "column": 37 } }, "object": { "type": "MemberExpression", "start": 24607, "end": 24616, "loc": { "start": { "line": 746, "column": 24 }, "end": { "line": 746, "column": 33 } }, "object": { "type": "ThisExpression", "start": 24607, "end": 24611, "loc": { "start": { "line": 746, "column": 24 }, "end": { "line": 746, "column": 28 } } }, "property": { "type": "Identifier", "start": 24612, "end": 24616, "loc": { "start": { "line": 746, "column": 29 }, "end": { "line": 746, "column": 33 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 24617, "end": 24620, "loc": { "start": { "line": 746, "column": 34 }, "end": { "line": 746, "column": 37 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 24621, "end": 24636, "loc": { "start": { "line": 746, "column": 38 }, "end": { "line": 746, "column": 53 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 24649, "end": 24745, "loc": { "start": { "line": 748, "column": 8 }, "end": { "line": 748, "column": 104 } }, "expression": { "type": "CallExpression", "start": 24649, "end": 24744, "loc": { "start": { "line": 748, "column": 8 }, "end": { "line": 748, "column": 103 } }, "callee": { "type": "Identifier", "start": 24649, "end": 24655, "loc": { "start": { "line": 748, "column": 8 }, "end": { "line": 748, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 24656, "end": 24687, "loc": { "start": { "line": 748, "column": 15 }, "end": { "line": 748, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 24656, "end": 24671, "loc": { "start": { "line": 748, "column": 15 }, "end": { "line": 748, "column": 30 } }, "object": { "type": "Identifier", "start": 24656, "end": 24662, "loc": { "start": { "line": 748, "column": 15 }, "end": { "line": 748, "column": 21 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 24663, "end": 24671, "loc": { "start": { "line": 748, "column": 22 }, "end": { "line": 748, "column": 30 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 24672, "end": 24686, "loc": { "start": { "line": 748, "column": 31 }, "end": { "line": 748, "column": 45 } }, "object": { "type": "ThisExpression", "start": 24672, "end": 24676, "loc": { "start": { "line": 748, "column": 31 }, "end": { "line": 748, "column": 35 } } }, "property": { "type": "Identifier", "start": 24677, "end": 24686, "loc": { "start": { "line": 748, "column": 36 }, "end": { "line": 748, "column": 45 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 24689, "end": 24743, "loc": { "start": { "line": 748, "column": 48 }, "end": { "line": 748, "column": 102 } }, "left": { "type": "StringLiteral", "start": 24689, "end": 24726, "loc": { "start": { "line": 748, "column": 48 }, "end": { "line": 748, "column": 85 } }, "extra": { "rawValue": "Invalid zoom level *before* clamp: ", "raw": "\"Invalid zoom level *before* clamp: \"" }, "value": "Invalid zoom level *before* clamp: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 24729, "end": 24743, "loc": { "start": { "line": 748, "column": 88 }, "end": { "line": 748, "column": 102 } }, "object": { "type": "ThisExpression", "start": 24729, "end": 24733, "loc": { "start": { "line": 748, "column": 88 }, "end": { "line": 748, "column": 92 } } }, "property": { "type": "Identifier", "start": 24734, "end": 24743, "loc": { "start": { "line": 748, "column": 93 }, "end": { "line": 748, "column": 102 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } }, { "type": "ExpressionStatement", "start": 24755, "end": 24846, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 99 } }, "expression": { "type": "AssignmentExpression", "start": 24755, "end": 24845, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24755, "end": 24769, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 22 } }, "object": { "type": "ThisExpression", "start": 24755, "end": 24759, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 12 } } }, "property": { "type": "Identifier", "start": 24760, "end": 24769, "loc": { "start": { "line": 749, "column": 13 }, "end": { "line": 749, "column": 22 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "CallExpression", "start": 24772, "end": 24845, "loc": { "start": { "line": 749, "column": 25 }, "end": { "line": 749, "column": 98 } }, "callee": { "type": "Identifier", "start": 24772, "end": 24777, "loc": { "start": { "line": 749, "column": 25 }, "end": { "line": 749, "column": 30 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "MemberExpression", "start": 24778, "end": 24792, "loc": { "start": { "line": 749, "column": 31 }, "end": { "line": 749, "column": 45 } }, "object": { "type": "ThisExpression", "start": 24778, "end": 24782, "loc": { "start": { "line": 749, "column": 31 }, "end": { "line": 749, "column": 35 } } }, "property": { "type": "Identifier", "start": 24783, "end": 24792, "loc": { "start": { "line": 749, "column": 36 }, "end": { "line": 749, "column": 45 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, { "type": "CallExpression", "start": 24794, "end": 24818, "loc": { "start": { "line": 749, "column": 47 }, "end": { "line": 749, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 24794, "end": 24816, "loc": { "start": { "line": 749, "column": 47 }, "end": { "line": 749, "column": 69 } }, "object": { "type": "Identifier", "start": 24794, "end": 24801, "loc": { "start": { "line": 749, "column": 47 }, "end": { "line": 749, "column": 54 }, "identifierName": "wrapper" }, "name": "wrapper" }, "property": { "type": "Identifier", "start": 24802, "end": 24816, "loc": { "start": { "line": 749, "column": 55 }, "end": { "line": 749, "column": 69 }, "identifierName": "getMinimumZoom" }, "name": "getMinimumZoom" }, "computed": false }, "arguments": [] }, { "type": "CallExpression", "start": 24820, "end": 24844, "loc": { "start": { "line": 749, "column": 73 }, "end": { "line": 749, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 24820, "end": 24842, "loc": { "start": { "line": 749, "column": 73 }, "end": { "line": 749, "column": 95 } }, "object": { "type": "Identifier", "start": 24820, "end": 24827, "loc": { "start": { "line": 749, "column": 73 }, "end": { "line": 749, "column": 80 }, "identifierName": "wrapper" }, "name": "wrapper" }, "property": { "type": "Identifier", "start": 24828, "end": 24842, "loc": { "start": { "line": 749, "column": 81 }, "end": { "line": 749, "column": 95 }, "identifierName": "getMaximumZoom" }, "name": "getMaximumZoom" }, "computed": false }, "arguments": [] } ] } } }, { "type": "ExpressionStatement", "start": 24856, "end": 24951, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 103 } }, "expression": { "type": "CallExpression", "start": 24856, "end": 24950, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 102 } }, "callee": { "type": "Identifier", "start": 24856, "end": 24862, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 24863, "end": 24894, "loc": { "start": { "line": 750, "column": 15 }, "end": { "line": 750, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 24863, "end": 24878, "loc": { "start": { "line": 750, "column": 15 }, "end": { "line": 750, "column": 30 } }, "object": { "type": "Identifier", "start": 24863, "end": 24869, "loc": { "start": { "line": 750, "column": 15 }, "end": { "line": 750, "column": 21 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 24870, "end": 24878, "loc": { "start": { "line": 750, "column": 22 }, "end": { "line": 750, "column": 30 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 24879, "end": 24893, "loc": { "start": { "line": 750, "column": 31 }, "end": { "line": 750, "column": 45 } }, "object": { "type": "ThisExpression", "start": 24879, "end": 24883, "loc": { "start": { "line": 750, "column": 31 }, "end": { "line": 750, "column": 35 } } }, "property": { "type": "Identifier", "start": 24884, "end": 24893, "loc": { "start": { "line": 750, "column": 36 }, "end": { "line": 750, "column": 45 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 24896, "end": 24949, "loc": { "start": { "line": 750, "column": 48 }, "end": { "line": 750, "column": 101 } }, "left": { "type": "StringLiteral", "start": 24896, "end": 24932, "loc": { "start": { "line": 750, "column": 48 }, "end": { "line": 750, "column": 84 } }, "extra": { "rawValue": "Invalid zoom level *after* clamp: ", "raw": "\"Invalid zoom level *after* clamp: \"" }, "value": "Invalid zoom level *after* clamp: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 24935, "end": 24949, "loc": { "start": { "line": 750, "column": 87 }, "end": { "line": 750, "column": 101 } }, "object": { "type": "ThisExpression", "start": 24935, "end": 24939, "loc": { "start": { "line": 750, "column": 87 }, "end": { "line": 750, "column": 91 } } }, "property": { "type": "Identifier", "start": 24940, "end": 24949, "loc": { "start": { "line": 750, "column": 92 }, "end": { "line": 750, "column": 101 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } }, { "type": "IfStatement", "start": 24963, "end": 25106, "loc": { "start": { "line": 752, "column": 8 }, "end": { "line": 754, "column": 9 } }, "test": { "type": "MemberExpression", "start": 24967, "end": 24983, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 752, "column": 28 } }, "object": { "type": "ThisExpression", "start": 24967, "end": 24971, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 752, "column": 16 } } }, "property": { "type": "Identifier", "start": 24972, "end": 24983, "loc": { "start": { "line": 752, "column": 17 }, "end": { "line": 752, "column": 28 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 24985, "end": 25106, "loc": { "start": { "line": 752, "column": 30 }, "end": { "line": 754, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 25000, "end": 25095, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 107 } }, "expression": { "type": "AssignmentExpression", "start": 25000, "end": 25094, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 106 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25000, "end": 25016, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 28 } }, "object": { "type": "ThisExpression", "start": 25000, "end": 25004, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 16 } } }, "property": { "type": "Identifier", "start": 25005, "end": 25016, "loc": { "start": { "line": 753, "column": 17 }, "end": { "line": 753, "column": 28 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "CallExpression", "start": 25019, "end": 25094, "loc": { "start": { "line": 753, "column": 31 }, "end": { "line": 753, "column": 106 } }, "callee": { "type": "Identifier", "start": 25019, "end": 25024, "loc": { "start": { "line": 753, "column": 31 }, "end": { "line": 753, "column": 36 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "MemberExpression", "start": 25025, "end": 25041, "loc": { "start": { "line": 753, "column": 37 }, "end": { "line": 753, "column": 53 } }, "object": { "type": "ThisExpression", "start": 25025, "end": 25029, "loc": { "start": { "line": 753, "column": 37 }, "end": { "line": 753, "column": 41 } } }, "property": { "type": "Identifier", "start": 25030, "end": 25041, "loc": { "start": { "line": 753, "column": 42 }, "end": { "line": 753, "column": 53 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, { "type": "CallExpression", "start": 25043, "end": 25067, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 25043, "end": 25065, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 77 } }, "object": { "type": "Identifier", "start": 25043, "end": 25050, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 62 }, "identifierName": "wrapper" }, "name": "wrapper" }, "property": { "type": "Identifier", "start": 25051, "end": 25065, "loc": { "start": { "line": 753, "column": 63 }, "end": { "line": 753, "column": 77 }, "identifierName": "getMinimumZoom" }, "name": "getMinimumZoom" }, "computed": false }, "arguments": [] }, { "type": "CallExpression", "start": 25069, "end": 25093, "loc": { "start": { "line": 753, "column": 81 }, "end": { "line": 753, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 25069, "end": 25091, "loc": { "start": { "line": 753, "column": 81 }, "end": { "line": 753, "column": 103 } }, "object": { "type": "Identifier", "start": 25069, "end": 25076, "loc": { "start": { "line": 753, "column": 81 }, "end": { "line": 753, "column": 88 }, "identifierName": "wrapper" }, "name": "wrapper" }, "property": { "type": "Identifier", "start": 25077, "end": 25091, "loc": { "start": { "line": 753, "column": 89 }, "end": { "line": 753, "column": 103 }, "identifierName": "getMaximumZoom" }, "name": "getMaximumZoom" }, "computed": false }, "arguments": [] } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clamps the camera zoom level within the allowed range\r\n ", "start": 24386, "end": 24460, "loc": { "start": { "line": 739, "column": 4 }, "end": { "line": 741, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the camera\r\n * @param {number} dt Delta time in milliseconds\r\n ", "start": 25121, "end": 25214, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 760, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 25220, "end": 26152, "loc": { "start": { "line": 761, "column": 4 }, "end": { "line": 783, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 25220, "end": 25226, "loc": { "start": { "line": 761, "column": 4 }, "end": { "line": 761, "column": 10 }, "identifierName": "update" }, "name": "update", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 25227, "end": 25229, "loc": { "start": { "line": 761, "column": 11 }, "end": { "line": 761, "column": 13 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 25231, "end": 26152, "loc": { "start": { "line": 761, "column": 15 }, "end": { "line": 783, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 25242, "end": 25264, "loc": { "start": { "line": 762, "column": 8 }, "end": { "line": 762, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 25242, "end": 25263, "loc": { "start": { "line": 762, "column": 8 }, "end": { "line": 762, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 25242, "end": 25244, "loc": { "start": { "line": 762, "column": 8 }, "end": { "line": 762, "column": 10 }, "identifierName": "dt" }, "name": "dt" }, "right": { "type": "CallExpression", "start": 25247, "end": 25263, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 25247, "end": 25255, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 21 } }, "object": { "type": "Identifier", "start": 25247, "end": 25251, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 17 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 25252, "end": 25255, "loc": { "start": { "line": 762, "column": 18 }, "end": { "line": 762, "column": 21 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25256, "end": 25258, "loc": { "start": { "line": 762, "column": 22 }, "end": { "line": 762, "column": 24 }, "identifierName": "dt" }, "name": "dt" }, { "type": "NumericLiteral", "start": 25260, "end": 25262, "loc": { "start": { "line": 762, "column": 26 }, "end": { "line": 762, "column": 28 } }, "extra": { "rawValue": 33, "raw": "33" }, "value": 33 } ] } } }, { "type": "ExpressionStatement", "start": 25274, "end": 25308, "loc": { "start": { "line": 763, "column": 8 }, "end": { "line": 763, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 25274, "end": 25307, "loc": { "start": { "line": 763, "column": 8 }, "end": { "line": 763, "column": 41 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 25274, "end": 25301, "loc": { "start": { "line": 763, "column": 8 }, "end": { "line": 763, "column": 35 } }, "object": { "type": "ThisExpression", "start": 25274, "end": 25278, "loc": { "start": { "line": 763, "column": 8 }, "end": { "line": 763, "column": 12 } } }, "property": { "type": "Identifier", "start": 25279, "end": 25301, "loc": { "start": { "line": 763, "column": 13 }, "end": { "line": 763, "column": 35 }, "identifierName": "cameraUpdateTimeBucket" }, "name": "cameraUpdateTimeBucket" }, "computed": false }, "right": { "type": "Identifier", "start": 25305, "end": 25307, "loc": { "start": { "line": 763, "column": 39 }, "end": { "line": 763, "column": 41 }, "identifierName": "dt" }, "name": "dt" } }, "trailingComments": [ { "type": "CommentLine", "value": " Simulate movement of N FPS", "start": 25320, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 37 } } } ] }, { "type": "VariableDeclaration", "start": 25359, "end": 25385, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25365, "end": 25384, "loc": { "start": { "line": 766, "column": 14 }, "end": { "line": 766, "column": 33 } }, "id": { "type": "Identifier", "start": 25365, "end": 25380, "loc": { "start": { "line": 766, "column": 14 }, "end": { "line": 766, "column": 29 }, "identifierName": "updatesPerFrame" }, "name": "updatesPerFrame", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 25383, "end": 25384, "loc": { "start": { "line": 766, "column": 32 }, "end": { "line": 766, "column": 33 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Simulate movement of N FPS", "start": 25320, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 37 } } } ] }, { "type": "VariableDeclaration", "start": 25395, "end": 25455, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25401, "end": 25454, "loc": { "start": { "line": 767, "column": 14 }, "end": { "line": 767, "column": 67 } }, "id": { "type": "Identifier", "start": 25401, "end": 25418, "loc": { "start": { "line": 767, "column": 14 }, "end": { "line": 767, "column": 31 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" }, "init": { "type": "BinaryExpression", "start": 25421, "end": 25454, "loc": { "start": { "line": 767, "column": 34 }, "end": { "line": 767, "column": 67 } }, "left": { "type": "NumericLiteral", "start": 25421, "end": 25427, "loc": { "start": { "line": 767, "column": 34 }, "end": { "line": 767, "column": 40 } }, "extra": { "rawValue": 1000, "raw": "1000.0" }, "value": 1000 }, "operator": "/", "right": { "type": "BinaryExpression", "start": 25431, "end": 25453, "loc": { "start": { "line": 767, "column": 44 }, "end": { "line": 767, "column": 66 } }, "left": { "type": "NumericLiteral", "start": 25431, "end": 25435, "loc": { "start": { "line": 767, "column": 44 }, "end": { "line": 767, "column": 48 } }, "extra": { "rawValue": 60, "raw": "60.0" }, "value": 60 }, "operator": "*", "right": { "type": "Identifier", "start": 25438, "end": 25453, "loc": { "start": { "line": 767, "column": 51 }, "end": { "line": 767, "column": 66 }, "identifierName": "updatesPerFrame" }, "name": "updatesPerFrame" }, "extra": { "parenthesized": true, "parenStart": 25430 } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 25467, "end": 25528, "loc": { "start": { "line": 769, "column": 8 }, "end": { "line": 769, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25471, "end": 25527, "loc": { "start": { "line": 769, "column": 12 }, "end": { "line": 769, "column": 68 } }, "id": { "type": "Identifier", "start": 25471, "end": 25474, "loc": { "start": { "line": 769, "column": 12 }, "end": { "line": 769, "column": 15 }, "identifierName": "now" }, "name": "now" }, "init": { "type": "BinaryExpression", "start": 25477, "end": 25527, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 68 } }, "left": { "type": "CallExpression", "start": 25477, "end": 25503, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 25477, "end": 25501, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 42 } }, "object": { "type": "MemberExpression", "start": 25477, "end": 25491, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 32 } }, "object": { "type": "MemberExpression", "start": 25477, "end": 25486, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25477, "end": 25481, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 22 } } }, "property": { "type": "Identifier", "start": 25482, "end": 25486, "loc": { "start": { "line": 769, "column": 23 }, "end": { "line": 769, "column": 27 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 25487, "end": 25491, "loc": { "start": { "line": 769, "column": 28 }, "end": { "line": 769, "column": 32 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 25492, "end": 25501, "loc": { "start": { "line": 769, "column": 33 }, "end": { "line": 769, "column": 42 }, "identifierName": "systemNow" }, "name": "systemNow" }, "computed": false }, "arguments": [] }, "operator": "-", "right": { "type": "BinaryExpression", "start": 25506, "end": 25527, "loc": { "start": { "line": 769, "column": 47 }, "end": { "line": 769, "column": 68 } }, "left": { "type": "NumericLiteral", "start": 25506, "end": 25507, "loc": { "start": { "line": 769, "column": 47 }, "end": { "line": 769, "column": 48 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 }, "operator": "*", "right": { "type": "Identifier", "start": 25510, "end": 25527, "loc": { "start": { "line": 769, "column": 51 }, "end": { "line": 769, "column": 68 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } } } } ], "kind": "let" }, { "type": "WhileStatement", "start": 25540, "end": 26113, "loc": { "start": { "line": 771, "column": 8 }, "end": { "line": 781, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 25547, "end": 25594, "loc": { "start": { "line": 771, "column": 15 }, "end": { "line": 771, "column": 62 } }, "left": { "type": "MemberExpression", "start": 25547, "end": 25574, "loc": { "start": { "line": 771, "column": 15 }, "end": { "line": 771, "column": 42 } }, "object": { "type": "ThisExpression", "start": 25547, "end": 25551, "loc": { "start": { "line": 771, "column": 15 }, "end": { "line": 771, "column": 19 } } }, "property": { "type": "Identifier", "start": 25552, "end": 25574, "loc": { "start": { "line": 771, "column": 20 }, "end": { "line": 771, "column": 42 }, "identifierName": "cameraUpdateTimeBucket" }, "name": "cameraUpdateTimeBucket" }, "computed": false }, "operator": ">", "right": { "type": "Identifier", "start": 25577, "end": 25594, "loc": { "start": { "line": 771, "column": 45 }, "end": { "line": 771, "column": 62 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } }, "body": { "type": "BlockStatement", "start": 25596, "end": 26113, "loc": { "start": { "line": 771, "column": 64 }, "end": { "line": 781, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 25611, "end": 25636, "loc": { "start": { "line": 772, "column": 12 }, "end": { "line": 772, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 25611, "end": 25635, "loc": { "start": { "line": 772, "column": 12 }, "end": { "line": 772, "column": 36 } }, "operator": "+=", "left": { "type": "Identifier", "start": 25611, "end": 25614, "loc": { "start": { "line": 772, "column": 12 }, "end": { "line": 772, "column": 15 }, "identifierName": "now" }, "name": "now" }, "right": { "type": "Identifier", "start": 25618, "end": 25635, "loc": { "start": { "line": 772, "column": 19 }, "end": { "line": 772, "column": 36 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } } }, { "type": "ExpressionStatement", "start": 25650, "end": 25699, "loc": { "start": { "line": 773, "column": 12 }, "end": { "line": 773, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 25650, "end": 25698, "loc": { "start": { "line": 773, "column": 12 }, "end": { "line": 773, "column": 60 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 25650, "end": 25677, "loc": { "start": { "line": 773, "column": 12 }, "end": { "line": 773, "column": 39 } }, "object": { "type": "ThisExpression", "start": 25650, "end": 25654, "loc": { "start": { "line": 773, "column": 12 }, "end": { "line": 773, "column": 16 } } }, "property": { "type": "Identifier", "start": 25655, "end": 25677, "loc": { "start": { "line": 773, "column": 17 }, "end": { "line": 773, "column": 39 }, "identifierName": "cameraUpdateTimeBucket" }, "name": "cameraUpdateTimeBucket" }, "computed": false }, "right": { "type": "Identifier", "start": 25681, "end": 25698, "loc": { "start": { "line": 773, "column": 43 }, "end": { "line": 773, "column": 60 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } } }, { "type": "ExpressionStatement", "start": 25715, "end": 25766, "loc": { "start": { "line": 775, "column": 12 }, "end": { "line": 775, "column": 63 } }, "expression": { "type": "CallExpression", "start": 25715, "end": 25765, "loc": { "start": { "line": 775, "column": 12 }, "end": { "line": 775, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 25715, "end": 25741, "loc": { "start": { "line": 775, "column": 12 }, "end": { "line": 775, "column": 38 } }, "object": { "type": "ThisExpression", "start": 25715, "end": 25719, "loc": { "start": { "line": 775, "column": 12 }, "end": { "line": 775, "column": 16 } } }, "property": { "type": "Identifier", "start": 25720, "end": 25741, "loc": { "start": { "line": 775, "column": 17 }, "end": { "line": 775, "column": 38 }, "identifierName": "internalUpdatePanning" }, "name": "internalUpdatePanning" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25742, "end": 25745, "loc": { "start": { "line": 775, "column": 39 }, "end": { "line": 775, "column": 42 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 25747, "end": 25764, "loc": { "start": { "line": 775, "column": 44 }, "end": { "line": 775, "column": 61 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } }, { "type": "ExpressionStatement", "start": 25780, "end": 25836, "loc": { "start": { "line": 776, "column": 12 }, "end": { "line": 776, "column": 68 } }, "expression": { "type": "CallExpression", "start": 25780, "end": 25835, "loc": { "start": { "line": 776, "column": 12 }, "end": { "line": 776, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 25780, "end": 25811, "loc": { "start": { "line": 776, "column": 12 }, "end": { "line": 776, "column": 43 } }, "object": { "type": "ThisExpression", "start": 25780, "end": 25784, "loc": { "start": { "line": 776, "column": 12 }, "end": { "line": 776, "column": 16 } } }, "property": { "type": "Identifier", "start": 25785, "end": 25811, "loc": { "start": { "line": 776, "column": 17 }, "end": { "line": 776, "column": 43 }, "identifierName": "internalUpdateMousePanning" }, "name": "internalUpdateMousePanning" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25812, "end": 25815, "loc": { "start": { "line": 776, "column": 44 }, "end": { "line": 776, "column": 47 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 25817, "end": 25834, "loc": { "start": { "line": 776, "column": 49 }, "end": { "line": 776, "column": 66 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } }, { "type": "ExpressionStatement", "start": 25850, "end": 25901, "loc": { "start": { "line": 777, "column": 12 }, "end": { "line": 777, "column": 63 } }, "expression": { "type": "CallExpression", "start": 25850, "end": 25900, "loc": { "start": { "line": 777, "column": 12 }, "end": { "line": 777, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 25850, "end": 25876, "loc": { "start": { "line": 777, "column": 12 }, "end": { "line": 777, "column": 38 } }, "object": { "type": "ThisExpression", "start": 25850, "end": 25854, "loc": { "start": { "line": 777, "column": 12 }, "end": { "line": 777, "column": 16 } } }, "property": { "type": "Identifier", "start": 25855, "end": 25876, "loc": { "start": { "line": 777, "column": 17 }, "end": { "line": 777, "column": 38 }, "identifierName": "internalUpdateZooming" }, "name": "internalUpdateZooming" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25877, "end": 25880, "loc": { "start": { "line": 777, "column": 39 }, "end": { "line": 777, "column": 42 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 25882, "end": 25899, "loc": { "start": { "line": 777, "column": 44 }, "end": { "line": 777, "column": 61 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } }, { "type": "ExpressionStatement", "start": 25915, "end": 25968, "loc": { "start": { "line": 778, "column": 12 }, "end": { "line": 778, "column": 65 } }, "expression": { "type": "CallExpression", "start": 25915, "end": 25967, "loc": { "start": { "line": 778, "column": 12 }, "end": { "line": 778, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 25915, "end": 25943, "loc": { "start": { "line": 778, "column": 12 }, "end": { "line": 778, "column": 40 } }, "object": { "type": "ThisExpression", "start": 25915, "end": 25919, "loc": { "start": { "line": 778, "column": 12 }, "end": { "line": 778, "column": 16 } } }, "property": { "type": "Identifier", "start": 25920, "end": 25943, "loc": { "start": { "line": 778, "column": 17 }, "end": { "line": 778, "column": 40 }, "identifierName": "internalUpdateCentering" }, "name": "internalUpdateCentering" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25944, "end": 25947, "loc": { "start": { "line": 778, "column": 41 }, "end": { "line": 778, "column": 44 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 25949, "end": 25966, "loc": { "start": { "line": 778, "column": 46 }, "end": { "line": 778, "column": 63 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } }, { "type": "ExpressionStatement", "start": 25982, "end": 26031, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 61 } }, "expression": { "type": "CallExpression", "start": 25982, "end": 26030, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 25982, "end": 26006, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 36 } }, "object": { "type": "ThisExpression", "start": 25982, "end": 25986, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 16 } } }, "property": { "type": "Identifier", "start": 25987, "end": 26006, "loc": { "start": { "line": 779, "column": 17 }, "end": { "line": 779, "column": 36 }, "identifierName": "internalUpdateShake" }, "name": "internalUpdateShake" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 26007, "end": 26010, "loc": { "start": { "line": 779, "column": 37 }, "end": { "line": 779, "column": 40 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 26012, "end": 26029, "loc": { "start": { "line": 779, "column": 42 }, "end": { "line": 779, "column": 59 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } }, { "type": "ExpressionStatement", "start": 26045, "end": 26102, "loc": { "start": { "line": 780, "column": 12 }, "end": { "line": 780, "column": 69 } }, "expression": { "type": "CallExpression", "start": 26045, "end": 26101, "loc": { "start": { "line": 780, "column": 12 }, "end": { "line": 780, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 26045, "end": 26077, "loc": { "start": { "line": 780, "column": 12 }, "end": { "line": 780, "column": 44 } }, "object": { "type": "ThisExpression", "start": 26045, "end": 26049, "loc": { "start": { "line": 780, "column": 12 }, "end": { "line": 780, "column": 16 } } }, "property": { "type": "Identifier", "start": 26050, "end": 26077, "loc": { "start": { "line": 780, "column": 17 }, "end": { "line": 780, "column": 44 }, "identifierName": "internalUpdateKeyboardForce" }, "name": "internalUpdateKeyboardForce" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 26078, "end": 26081, "loc": { "start": { "line": 780, "column": 45 }, "end": { "line": 780, "column": 48 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 26083, "end": 26100, "loc": { "start": { "line": 780, "column": 50 }, "end": { "line": 780, "column": 67 }, "identifierName": "physicsStepSizeMs" }, "name": "physicsStepSizeMs" } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 26123, "end": 26145, "loc": { "start": { "line": 782, "column": 8 }, "end": { "line": 782, "column": 30 } }, "expression": { "type": "CallExpression", "start": 26123, "end": 26144, "loc": { "start": { "line": 782, "column": 8 }, "end": { "line": 782, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 26123, "end": 26142, "loc": { "start": { "line": 782, "column": 8 }, "end": { "line": 782, "column": 27 } }, "object": { "type": "ThisExpression", "start": 26123, "end": 26127, "loc": { "start": { "line": 782, "column": 8 }, "end": { "line": 782, "column": 12 } } }, "property": { "type": "Identifier", "start": 26128, "end": 26142, "loc": { "start": { "line": 782, "column": 13 }, "end": { "line": 782, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the camera\r\n * @param {number} dt Delta time in milliseconds\r\n ", "start": 25121, "end": 25214, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 760, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Prepares a context to transform it\r\n * @param {CanvasRenderingContext2D} context\r\n ", "start": 26160, "end": 26265, "loc": { "start": { "line": 785, "column": 4 }, "end": { "line": 788, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 26271, "end": 26779, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 809, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 26271, "end": 26280, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 789, "column": 13 }, "identifierName": "transform" }, "name": "transform", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 26281, "end": 26288, "loc": { "start": { "line": 789, "column": 14 }, "end": { "line": 789, "column": 21 }, "identifierName": "context" }, "name": "context" } ], "body": { "type": "BlockStatement", "start": 26290, "end": 26779, "loc": { "start": { "line": 789, "column": 23 }, "end": { "line": 809, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 26301, "end": 26436, "loc": { "start": { "line": 790, "column": 8 }, "end": { "line": 793, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 26305, "end": 26347, "loc": { "start": { "line": 790, "column": 12 }, "end": { "line": 790, "column": 54 } }, "left": { "type": "Identifier", "start": 26305, "end": 26313, "loc": { "start": { "line": 790, "column": 12 }, "end": { "line": 790, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 26317, "end": 26347, "loc": { "start": { "line": 790, "column": 24 }, "end": { "line": 790, "column": 54 } }, "object": { "type": "MemberExpression", "start": 26317, "end": 26335, "loc": { "start": { "line": 790, "column": 24 }, "end": { "line": 790, "column": 42 } }, "object": { "type": "Identifier", "start": 26317, "end": 26329, "loc": { "start": { "line": 790, "column": 24 }, "end": { "line": 790, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 26330, "end": 26335, "loc": { "start": { "line": 790, "column": 37 }, "end": { "line": 790, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 26336, "end": 26347, "loc": { "start": { "line": 790, "column": 43 }, "end": { "line": 790, "column": 54 }, "identifierName": "testCulling" }, "name": "testCulling" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 26349, "end": 26436, "loc": { "start": { "line": 790, "column": 56 }, "end": { "line": 793, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 26364, "end": 26404, "loc": { "start": { "line": 791, "column": 12 }, "end": { "line": 791, "column": 52 } }, "expression": { "type": "CallExpression", "start": 26364, "end": 26403, "loc": { "start": { "line": 791, "column": 12 }, "end": { "line": 791, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 26364, "end": 26381, "loc": { "start": { "line": 791, "column": 12 }, "end": { "line": 791, "column": 29 } }, "object": { "type": "Identifier", "start": 26364, "end": 26371, "loc": { "start": { "line": 791, "column": 12 }, "end": { "line": 791, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 26372, "end": 26381, "loc": { "start": { "line": 791, "column": 20 }, "end": { "line": 791, "column": 29 }, "identifierName": "transform" }, "name": "transform" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 26382, "end": 26383, "loc": { "start": { "line": 791, "column": 30 }, "end": { "line": 791, "column": 31 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "NumericLiteral", "start": 26385, "end": 26386, "loc": { "start": { "line": 791, "column": 33 }, "end": { "line": 791, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 26388, "end": 26389, "loc": { "start": { "line": 791, "column": 36 }, "end": { "line": 791, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 26391, "end": 26392, "loc": { "start": { "line": 791, "column": 39 }, "end": { "line": 791, "column": 40 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "NumericLiteral", "start": 26394, "end": 26397, "loc": { "start": { "line": 791, "column": 42 }, "end": { "line": 791, "column": 45 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 }, { "type": "NumericLiteral", "start": 26399, "end": 26402, "loc": { "start": { "line": 791, "column": 47 }, "end": { "line": 791, "column": 50 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] } }, { "type": "ReturnStatement", "start": 26418, "end": 26425, "loc": { "start": { "line": 792, "column": 12 }, "end": { "line": 792, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 26448, "end": 26470, "loc": { "start": { "line": 795, "column": 8 }, "end": { "line": 795, "column": 30 } }, "expression": { "type": "CallExpression", "start": 26448, "end": 26469, "loc": { "start": { "line": 795, "column": 8 }, "end": { "line": 795, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 26448, "end": 26467, "loc": { "start": { "line": 795, "column": 8 }, "end": { "line": 795, "column": 27 } }, "object": { "type": "ThisExpression", "start": 26448, "end": 26452, "loc": { "start": { "line": 795, "column": 8 }, "end": { "line": 795, "column": 12 } } }, "property": { "type": "Identifier", "start": 26453, "end": 26467, "loc": { "start": { "line": 795, "column": 13 }, "end": { "line": 795, "column": 27 }, "identifierName": "clampZoomLevel" }, "name": "clampZoomLevel" }, "computed": false }, "arguments": [] } }, { "type": "VariableDeclaration", "start": 26480, "end": 26508, "loc": { "start": { "line": 796, "column": 8 }, "end": { "line": 796, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 26486, "end": 26507, "loc": { "start": { "line": 796, "column": 14 }, "end": { "line": 796, "column": 35 } }, "id": { "type": "Identifier", "start": 26486, "end": 26490, "loc": { "start": { "line": 796, "column": 14 }, "end": { "line": 796, "column": 18 }, "identifierName": "zoom" }, "name": "zoom" }, "init": { "type": "MemberExpression", "start": 26493, "end": 26507, "loc": { "start": { "line": 796, "column": 21 }, "end": { "line": 796, "column": 35 } }, "object": { "type": "ThisExpression", "start": 26493, "end": 26497, "loc": { "start": { "line": 796, "column": 21 }, "end": { "line": 796, "column": 25 } } }, "property": { "type": "Identifier", "start": 26498, "end": 26507, "loc": { "start": { "line": 796, "column": 26 }, "end": { "line": 796, "column": 35 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 26520, "end": 26772, "loc": { "start": { "line": 798, "column": 8 }, "end": { "line": 808, "column": 10 } }, "expression": { "type": "CallExpression", "start": 26520, "end": 26771, "loc": { "start": { "line": 798, "column": 8 }, "end": { "line": 808, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 26520, "end": 26537, "loc": { "start": { "line": 798, "column": 8 }, "end": { "line": 798, "column": 25 } }, "object": { "type": "Identifier", "start": 26520, "end": 26527, "loc": { "start": { "line": 798, "column": 8 }, "end": { "line": 798, "column": 15 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 26528, "end": 26537, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 798, "column": 25 }, "identifierName": "transform" }, "name": "transform" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 26588, "end": 26592, "loc": { "start": { "line": 800, "column": 12 }, "end": { "line": 800, "column": 16 }, "identifierName": "zoom" }, "name": "zoom", "leadingComments": [ { "type": "CommentLine", "value": " Scale, skew, rotate", "start": 26552, "end": 26574, "loc": { "start": { "line": 799, "column": 12 }, "end": { "line": 799, "column": 34 } } } ] }, { "type": "NumericLiteral", "start": 26607, "end": 26608, "loc": { "start": { "line": 801, "column": 12 }, "end": { "line": 801, "column": 13 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 26623, "end": 26624, "loc": { "start": { "line": 802, "column": 12 }, "end": { "line": 802, "column": 13 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 26639, "end": 26643, "loc": { "start": { "line": 803, "column": 12 }, "end": { "line": 803, "column": 16 }, "identifierName": "zoom" }, "name": "zoom" }, { "type": "BinaryExpression", "start": 26686, "end": 26716, "loc": { "start": { "line": 806, "column": 12 }, "end": { "line": 806, "column": 42 } }, "left": { "type": "UnaryExpression", "start": 26686, "end": 26691, "loc": { "start": { "line": 806, "column": 12 }, "end": { "line": 806, "column": 17 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 26687, "end": 26691, "loc": { "start": { "line": 806, "column": 13 }, "end": { "line": 806, "column": 17 }, "identifierName": "zoom" }, "name": "zoom", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "*", "right": { "type": "CallExpression", "start": 26694, "end": 26716, "loc": { "start": { "line": 806, "column": 20 }, "end": { "line": 806, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 26694, "end": 26714, "loc": { "start": { "line": 806, "column": 20 }, "end": { "line": 806, "column": 40 } }, "object": { "type": "ThisExpression", "start": 26694, "end": 26698, "loc": { "start": { "line": 806, "column": 20 }, "end": { "line": 806, "column": 24 } } }, "property": { "type": "Identifier", "start": 26699, "end": 26714, "loc": { "start": { "line": 806, "column": 25 }, "end": { "line": 806, "column": 40 }, "identifierName": "getViewportLeft" }, "name": "getViewportLeft" }, "computed": false }, "arguments": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Translate", "start": 26660, "end": 26672, "loc": { "start": { "line": 805, "column": 12 }, "end": { "line": 805, "column": 24 } } } ] }, { "type": "BinaryExpression", "start": 26731, "end": 26760, "loc": { "start": { "line": 807, "column": 12 }, "end": { "line": 807, "column": 41 } }, "left": { "type": "UnaryExpression", "start": 26731, "end": 26736, "loc": { "start": { "line": 807, "column": 12 }, "end": { "line": 807, "column": 17 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 26732, "end": 26736, "loc": { "start": { "line": 807, "column": 13 }, "end": { "line": 807, "column": 17 }, "identifierName": "zoom" }, "name": "zoom" }, "extra": { "parenthesizedArgument": false } }, "operator": "*", "right": { "type": "CallExpression", "start": 26739, "end": 26760, "loc": { "start": { "line": 807, "column": 20 }, "end": { "line": 807, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 26739, "end": 26758, "loc": { "start": { "line": 807, "column": 20 }, "end": { "line": 807, "column": 39 } }, "object": { "type": "ThisExpression", "start": 26739, "end": 26743, "loc": { "start": { "line": 807, "column": 20 }, "end": { "line": 807, "column": 24 } } }, "property": { "type": "Identifier", "start": 26744, "end": 26758, "loc": { "start": { "line": 807, "column": 25 }, "end": { "line": 807, "column": 39 }, "identifierName": "getViewportTop" }, "name": "getViewportTop" }, "computed": false }, "arguments": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Prepares a context to transform it\r\n * @param {CanvasRenderingContext2D} context\r\n ", "start": 26160, "end": 26265, "loc": { "start": { "line": 785, "column": 4 }, "end": { "line": 788, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal shake handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 26787, "end": 26916, "loc": { "start": { "line": 811, "column": 4 }, "end": { "line": 815, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 26922, "end": 27028, "loc": { "start": { "line": 816, "column": 4 }, "end": { "line": 818, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 26922, "end": 26941, "loc": { "start": { "line": 816, "column": 4 }, "end": { "line": 816, "column": 23 }, "identifierName": "internalUpdateShake" }, "name": "internalUpdateShake", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 26942, "end": 26945, "loc": { "start": { "line": 816, "column": 24 }, "end": { "line": 816, "column": 27 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 26947, "end": 26949, "loc": { "start": { "line": 816, "column": 29 }, "end": { "line": 816, "column": 31 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 26951, "end": 27028, "loc": { "start": { "line": 816, "column": 33 }, "end": { "line": 818, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 26962, "end": 27021, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 26962, "end": 27020, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26962, "end": 26979, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 25 } }, "object": { "type": "ThisExpression", "start": 26962, "end": 26966, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 12 } } }, "property": { "type": "Identifier", "start": 26967, "end": 26979, "loc": { "start": { "line": 817, "column": 13 }, "end": { "line": 817, "column": 25 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "right": { "type": "CallExpression", "start": 26982, "end": 27020, "loc": { "start": { "line": 817, "column": 28 }, "end": { "line": 817, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 26982, "end": 27014, "loc": { "start": { "line": 817, "column": 28 }, "end": { "line": 817, "column": 60 } }, "object": { "type": "MemberExpression", "start": 26982, "end": 26999, "loc": { "start": { "line": 817, "column": 28 }, "end": { "line": 817, "column": 45 } }, "object": { "type": "ThisExpression", "start": 26982, "end": 26986, "loc": { "start": { "line": 817, "column": 28 }, "end": { "line": 817, "column": 32 } } }, "property": { "type": "Identifier", "start": 26987, "end": 26999, "loc": { "start": { "line": 817, "column": 33 }, "end": { "line": 817, "column": 45 }, "identifierName": "currentShake" }, "name": "currentShake" }, "computed": false }, "property": { "type": "Identifier", "start": 27000, "end": 27014, "loc": { "start": { "line": 817, "column": 46 }, "end": { "line": 817, "column": 60 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 27015, "end": 27019, "loc": { "start": { "line": 817, "column": 61 }, "end": { "line": 817, "column": 65 } }, "extra": { "rawValue": 0.92, "raw": "0.92" }, "value": 0.92 } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal shake handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 26787, "end": 26916, "loc": { "start": { "line": 811, "column": 4 }, "end": { "line": 815, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal pan handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 27036, "end": 27163, "loc": { "start": { "line": 820, "column": 4 }, "end": { "line": 824, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 27169, "end": 28942, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 861, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 27169, "end": 27190, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 825, "column": 25 }, "identifierName": "internalUpdatePanning" }, "name": "internalUpdatePanning", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 27191, "end": 27194, "loc": { "start": { "line": 825, "column": 26 }, "end": { "line": 825, "column": 29 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 27196, "end": 27198, "loc": { "start": { "line": 825, "column": 31 }, "end": { "line": 825, "column": 33 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 27200, "end": 28942, "loc": { "start": { "line": 825, "column": 35 }, "end": { "line": 861, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 27211, "end": 27303, "loc": { "start": { "line": 826, "column": 8 }, "end": { "line": 826, "column": 100 } }, "declarations": [ { "type": "VariableDeclarator", "start": 27217, "end": 27302, "loc": { "start": { "line": 826, "column": 14 }, "end": { "line": 826, "column": 99 } }, "id": { "type": "Identifier", "start": 27217, "end": 27229, "loc": { "start": { "line": 826, "column": 14 }, "end": { "line": 826, "column": 26 }, "identifierName": "baseStrength" }, "name": "baseStrength" }, "init": { "type": "BinaryExpression", "start": 27232, "end": 27302, "loc": { "start": { "line": 826, "column": 29 }, "end": { "line": 826, "column": 99 } }, "left": { "type": "Identifier", "start": 27232, "end": 27248, "loc": { "start": { "line": 826, "column": 29 }, "end": { "line": 826, "column": 45 }, "identifierName": "velocityStrength" }, "name": "velocityStrength" }, "operator": "*", "right": { "type": "CallExpression", "start": 27251, "end": 27302, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 27251, "end": 27300, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 97 } }, "object": { "type": "MemberExpression", "start": 27251, "end": 27280, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 77 } }, "object": { "type": "MemberExpression", "start": 27251, "end": 27264, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 61 } }, "object": { "type": "MemberExpression", "start": 27251, "end": 27260, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 57 } }, "object": { "type": "ThisExpression", "start": 27251, "end": 27255, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 52 } } }, "property": { "type": "Identifier", "start": 27256, "end": 27260, "loc": { "start": { "line": 826, "column": 53 }, "end": { "line": 826, "column": 57 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 27261, "end": 27264, "loc": { "start": { "line": 826, "column": 58 }, "end": { "line": 826, "column": 61 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 27265, "end": 27280, "loc": { "start": { "line": 826, "column": 62 }, "end": { "line": 826, "column": 77 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "property": { "type": "Identifier", "start": 27281, "end": 27300, "loc": { "start": { "line": 826, "column": 78 }, "end": { "line": 826, "column": 97 }, "identifierName": "getTouchPanStrength" }, "name": "getTouchPanStrength" }, "computed": false }, "arguments": [] } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 27315, "end": 27400, "loc": { "start": { "line": 828, "column": 8 }, "end": { "line": 828, "column": 93 } }, "expression": { "type": "AssignmentExpression", "start": 27315, "end": 27399, "loc": { "start": { "line": 828, "column": 8 }, "end": { "line": 828, "column": 92 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 27315, "end": 27341, "loc": { "start": { "line": 828, "column": 8 }, "end": { "line": 828, "column": 34 } }, "object": { "type": "ThisExpression", "start": 27315, "end": 27319, "loc": { "start": { "line": 828, "column": 8 }, "end": { "line": 828, "column": 12 } } }, "property": { "type": "Identifier", "start": 27320, "end": 27341, "loc": { "start": { "line": 828, "column": 13 }, "end": { "line": 828, "column": 34 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "right": { "type": "CallExpression", "start": 27344, "end": 27399, "loc": { "start": { "line": 828, "column": 37 }, "end": { "line": 828, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 27344, "end": 27385, "loc": { "start": { "line": 828, "column": 37 }, "end": { "line": 828, "column": 78 } }, "object": { "type": "MemberExpression", "start": 27344, "end": 27370, "loc": { "start": { "line": 828, "column": 37 }, "end": { "line": 828, "column": 63 } }, "object": { "type": "ThisExpression", "start": 27344, "end": 27348, "loc": { "start": { "line": 828, "column": 37 }, "end": { "line": 828, "column": 41 } } }, "property": { "type": "Identifier", "start": 27349, "end": 27370, "loc": { "start": { "line": 828, "column": 42 }, "end": { "line": 828, "column": 63 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 27371, "end": 27385, "loc": { "start": { "line": 828, "column": 64 }, "end": { "line": 828, "column": 78 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 27386, "end": 27398, "loc": { "start": { "line": 828, "column": 79 }, "end": { "line": 828, "column": 91 }, "identifierName": "velocityFade" }, "name": "velocityFade" } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Check if the camera is being dragged but standing still: if not, zero out `touchPostMoveVelocity`.", "start": 27412, "end": 27513, "loc": { "start": { "line": 830, "column": 8 }, "end": { "line": 830, "column": 109 } } } ] }, { "type": "IfStatement", "start": 27523, "end": 28184, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 846, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 27527, "end": 27578, "loc": { "start": { "line": 831, "column": 12 }, "end": { "line": 831, "column": 63 } }, "left": { "type": "MemberExpression", "start": 27527, "end": 27547, "loc": { "start": { "line": 831, "column": 12 }, "end": { "line": 831, "column": 32 } }, "object": { "type": "ThisExpression", "start": 27527, "end": 27531, "loc": { "start": { "line": 831, "column": 12 }, "end": { "line": 831, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 27532, "end": 27547, "loc": { "start": { "line": 831, "column": 17 }, "end": { "line": 831, "column": 32 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 27551, "end": 27578, "loc": { "start": { "line": 831, "column": 36 }, "end": { "line": 831, "column": 63 } }, "left": { "type": "MemberExpression", "start": 27551, "end": 27569, "loc": { "start": { "line": 831, "column": 36 }, "end": { "line": 831, "column": 54 } }, "object": { "type": "ThisExpression", "start": 27551, "end": 27555, "loc": { "start": { "line": 831, "column": 36 }, "end": { "line": 831, "column": 40 } } }, "property": { "type": "Identifier", "start": 27556, "end": 27569, "loc": { "start": { "line": 831, "column": 41 }, "end": { "line": 831, "column": 54 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "===", "right": { "type": "NullLiteral", "start": 27574, "end": 27578, "loc": { "start": { "line": 831, "column": 59 }, "end": { "line": 831, "column": 63 } } } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 27580, "end": 28184, "loc": { "start": { "line": 831, "column": 65 }, "end": { "line": 846, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 27595, "end": 27898, "loc": { "start": { "line": 832, "column": 12 }, "end": { "line": 839, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 27617, "end": 27748, "loc": { "start": { "line": 833, "column": 16 }, "end": { "line": 834, "column": 86 } }, "left": { "type": "BinaryExpression", "start": 27617, "end": 27657, "loc": { "start": { "line": 833, "column": 16 }, "end": { "line": 833, "column": 56 } }, "left": { "type": "MemberExpression", "start": 27617, "end": 27648, "loc": { "start": { "line": 833, "column": 16 }, "end": { "line": 833, "column": 47 } }, "object": { "type": "ThisExpression", "start": 27617, "end": 27621, "loc": { "start": { "line": 833, "column": 16 }, "end": { "line": 833, "column": 20 } } }, "property": { "type": "Identifier", "start": 27622, "end": 27648, "loc": { "start": { "line": 833, "column": 21 }, "end": { "line": 833, "column": 47 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 27653, "end": 27657, "loc": { "start": { "line": 833, "column": 52 }, "end": { "line": 833, "column": 56 } } } }, "operator": "&&", "right": { "type": "CallExpression", "start": 27678, "end": 27748, "loc": { "start": { "line": 834, "column": 16 }, "end": { "line": 834, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 27678, "end": 27723, "loc": { "start": { "line": 834, "column": 16 }, "end": { "line": 834, "column": 61 } }, "object": { "type": "MemberExpression", "start": 27678, "end": 27709, "loc": { "start": { "line": 834, "column": 16 }, "end": { "line": 834, "column": 47 } }, "object": { "type": "ThisExpression", "start": 27678, "end": 27682, "loc": { "start": { "line": 834, "column": 16 }, "end": { "line": 834, "column": 20 } } }, "property": { "type": "Identifier", "start": 27683, "end": 27709, "loc": { "start": { "line": 834, "column": 21 }, "end": { "line": 834, "column": 47 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "property": { "type": "Identifier", "start": 27710, "end": 27723, "loc": { "start": { "line": 834, "column": 48 }, "end": { "line": 834, "column": 61 }, "identifierName": "equalsEpsilon" }, "name": "equalsEpsilon" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 27724, "end": 27747, "loc": { "start": { "line": 834, "column": 62 }, "end": { "line": 834, "column": 85 } }, "object": { "type": "ThisExpression", "start": 27724, "end": 27728, "loc": { "start": { "line": 834, "column": 62 }, "end": { "line": 834, "column": 66 } } }, "property": { "type": "Identifier", "start": 27729, "end": 27747, "loc": { "start": { "line": 834, "column": 67 }, "end": { "line": 834, "column": 85 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false } ] } }, "consequent": { "type": "BlockStatement", "start": 27764, "end": 27827, "loc": { "start": { "line": 835, "column": 14 }, "end": { "line": 837, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 27783, "end": 27812, "loc": { "start": { "line": 836, "column": 16 }, "end": { "line": 836, "column": 45 } }, "expression": { "type": "UpdateExpression", "start": 27783, "end": 27811, "loc": { "start": { "line": 836, "column": 16 }, "end": { "line": 836, "column": 44 } }, "operator": "++", "prefix": false, "argument": { "type": "MemberExpression", "start": 27783, "end": 27809, "loc": { "start": { "line": 836, "column": 16 }, "end": { "line": 836, "column": 42 } }, "object": { "type": "ThisExpression", "start": 27783, "end": 27787, "loc": { "start": { "line": 836, "column": 16 }, "end": { "line": 836, "column": 20 } } }, "property": { "type": "Identifier", "start": 27788, "end": 27809, "loc": { "start": { "line": 836, "column": 21 }, "end": { "line": 836, "column": 42 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 27833, "end": 27898, "loc": { "start": { "line": 837, "column": 19 }, "end": { "line": 839, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 27852, "end": 27883, "loc": { "start": { "line": 838, "column": 16 }, "end": { "line": 838, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 27852, "end": 27882, "loc": { "start": { "line": 838, "column": 16 }, "end": { "line": 838, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 27852, "end": 27878, "loc": { "start": { "line": 838, "column": 16 }, "end": { "line": 838, "column": 42 } }, "object": { "type": "ThisExpression", "start": 27852, "end": 27856, "loc": { "start": { "line": 838, "column": 16 }, "end": { "line": 838, "column": 20 } } }, "property": { "type": "Identifier", "start": 27857, "end": 27878, "loc": { "start": { "line": 838, "column": 21 }, "end": { "line": 838, "column": 42 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 27881, "end": 27882, "loc": { "start": { "line": 838, "column": 45 }, "end": { "line": 838, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 27912, "end": 27977, "loc": { "start": { "line": 840, "column": 12 }, "end": { "line": 840, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 27912, "end": 27976, "loc": { "start": { "line": 840, "column": 12 }, "end": { "line": 840, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 27912, "end": 27943, "loc": { "start": { "line": 840, "column": 12 }, "end": { "line": 840, "column": 43 } }, "object": { "type": "ThisExpression", "start": 27912, "end": 27916, "loc": { "start": { "line": 840, "column": 12 }, "end": { "line": 840, "column": 16 } } }, "property": { "type": "Identifier", "start": 27917, "end": 27943, "loc": { "start": { "line": 840, "column": 17 }, "end": { "line": 840, "column": 43 }, "identifierName": "lastMovingPositionLastTick" }, "name": "lastMovingPositionLastTick" }, "computed": false }, "right": { "type": "CallExpression", "start": 27946, "end": 27976, "loc": { "start": { "line": 840, "column": 46 }, "end": { "line": 840, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 27946, "end": 27974, "loc": { "start": { "line": 840, "column": 46 }, "end": { "line": 840, "column": 74 } }, "object": { "type": "MemberExpression", "start": 27946, "end": 27969, "loc": { "start": { "line": 840, "column": 46 }, "end": { "line": 840, "column": 69 } }, "object": { "type": "ThisExpression", "start": 27946, "end": 27950, "loc": { "start": { "line": 840, "column": 46 }, "end": { "line": 840, "column": 50 } } }, "property": { "type": "Identifier", "start": 27951, "end": 27969, "loc": { "start": { "line": 840, "column": 51 }, "end": { "line": 840, "column": 69 }, "identifierName": "lastMovingPosition" }, "name": "lastMovingPosition" }, "computed": false }, "property": { "type": "Identifier", "start": 27970, "end": 27974, "loc": { "start": { "line": 840, "column": 70 }, "end": { "line": 840, "column": 74 }, "identifierName": "copy" }, "name": "copy" }, "computed": false }, "arguments": [] } } }, { "type": "IfStatement", "start": 27993, "end": 28173, "loc": { "start": { "line": 842, "column": 12 }, "end": { "line": 845, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 27997, "end": 28053, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 72 } }, "left": { "type": "MemberExpression", "start": 27997, "end": 28023, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 42 } }, "object": { "type": "ThisExpression", "start": 27997, "end": 28001, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 20 } } }, "property": { "type": "Identifier", "start": 28002, "end": 28023, "loc": { "start": { "line": 842, "column": 21 }, "end": { "line": 842, "column": 42 }, "identifierName": "numTicksStandingStill" }, "name": "numTicksStandingStill" }, "computed": false }, "operator": ">=", "right": { "type": "Identifier", "start": 28027, "end": 28053, "loc": { "start": { "line": 842, "column": 46 }, "end": { "line": 842, "column": 72 }, "identifierName": "ticksBeforeErasingVelocity" }, "name": "ticksBeforeErasingVelocity" } }, "consequent": { "type": "BlockStatement", "start": 28055, "end": 28173, "loc": { "start": { "line": 842, "column": 74 }, "end": { "line": 845, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 28074, "end": 28107, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 28074, "end": 28106, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28074, "end": 28102, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 44 } }, "object": { "type": "MemberExpression", "start": 28074, "end": 28100, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 42 } }, "object": { "type": "ThisExpression", "start": 28074, "end": 28078, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 20 } } }, "property": { "type": "Identifier", "start": 28079, "end": 28100, "loc": { "start": { "line": 843, "column": 21 }, "end": { "line": 843, "column": 42 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28101, "end": 28102, "loc": { "start": { "line": 843, "column": 43 }, "end": { "line": 843, "column": 44 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 28105, "end": 28106, "loc": { "start": { "line": 843, "column": 47 }, "end": { "line": 843, "column": 48 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 28125, "end": 28158, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 28125, "end": 28157, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28125, "end": 28153, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 44 } }, "object": { "type": "MemberExpression", "start": 28125, "end": 28151, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 42 } }, "object": { "type": "ThisExpression", "start": 28125, "end": 28129, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 20 } } }, "property": { "type": "Identifier", "start": 28130, "end": 28151, "loc": { "start": { "line": 844, "column": 21 }, "end": { "line": 844, "column": 42 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28152, "end": 28153, "loc": { "start": { "line": 844, "column": 43 }, "end": { "line": 844, "column": 44 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 28156, "end": 28157, "loc": { "start": { "line": 844, "column": 47 }, "end": { "line": 844, "column": 48 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check if the camera is being dragged but standing still: if not, zero out `touchPostMoveVelocity`.", "start": 27412, "end": 27513, "loc": { "start": { "line": 830, "column": 8 }, "end": { "line": 830, "column": 109 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Check influence of past points", "start": 28194, "end": 28227, "loc": { "start": { "line": 847, "column": 8 }, "end": { "line": 847, "column": 41 } } } ] }, { "type": "IfStatement", "start": 28237, "end": 28935, "loc": { "start": { "line": 848, "column": 8 }, "end": { "line": 860, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 28241, "end": 28289, "loc": { "start": { "line": 848, "column": 12 }, "end": { "line": 848, "column": 60 } }, "left": { "type": "UnaryExpression", "start": 28241, "end": 28262, "loc": { "start": { "line": 848, "column": 12 }, "end": { "line": 848, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 28242, "end": 28262, "loc": { "start": { "line": 848, "column": 13 }, "end": { "line": 848, "column": 33 } }, "object": { "type": "ThisExpression", "start": 28242, "end": 28246, "loc": { "start": { "line": 848, "column": 13 }, "end": { "line": 848, "column": 17 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 28247, "end": 28262, "loc": { "start": { "line": 848, "column": 18 }, "end": { "line": 848, "column": 33 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 28266, "end": 28289, "loc": { "start": { "line": 848, "column": 37 }, "end": { "line": 848, "column": 60 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 28267, "end": 28289, "loc": { "start": { "line": 848, "column": 38 }, "end": { "line": 848, "column": 60 } }, "object": { "type": "ThisExpression", "start": 28267, "end": 28271, "loc": { "start": { "line": 848, "column": 38 }, "end": { "line": 848, "column": 42 } } }, "property": { "type": "Identifier", "start": 28272, "end": 28289, "loc": { "start": { "line": 848, "column": 43 }, "end": { "line": 848, "column": 60 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 28291, "end": 28935, "loc": { "start": { "line": 848, "column": 62 }, "end": { "line": 860, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 28306, "end": 28354, "loc": { "start": { "line": 849, "column": 12 }, "end": { "line": 849, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 28312, "end": 28353, "loc": { "start": { "line": 849, "column": 18 }, "end": { "line": 849, "column": 59 } }, "id": { "type": "Identifier", "start": 28312, "end": 28315, "loc": { "start": { "line": 849, "column": 18 }, "end": { "line": 849, "column": 21 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "CallExpression", "start": 28318, "end": 28353, "loc": { "start": { "line": 849, "column": 24 }, "end": { "line": 849, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 28318, "end": 28351, "loc": { "start": { "line": 849, "column": 24 }, "end": { "line": 849, "column": 57 } }, "object": { "type": "MemberExpression", "start": 28318, "end": 28344, "loc": { "start": { "line": 849, "column": 24 }, "end": { "line": 849, "column": 50 } }, "object": { "type": "ThisExpression", "start": 28318, "end": 28322, "loc": { "start": { "line": 849, "column": 24 }, "end": { "line": 849, "column": 28 } } }, "property": { "type": "Identifier", "start": 28323, "end": 28344, "loc": { "start": { "line": 849, "column": 29 }, "end": { "line": 849, "column": 50 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28345, "end": 28351, "loc": { "start": { "line": 849, "column": 51 }, "end": { "line": 849, "column": 57 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 28368, "end": 28608, "loc": { "start": { "line": 850, "column": 12 }, "end": { "line": 853, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 28372, "end": 28390, "loc": { "start": { "line": 850, "column": 16 }, "end": { "line": 850, "column": 34 } }, "left": { "type": "Identifier", "start": 28372, "end": 28375, "loc": { "start": { "line": 850, "column": 16 }, "end": { "line": 850, "column": 19 }, "identifierName": "len" }, "name": "len" }, "operator": ">=", "right": { "type": "Identifier", "start": 28379, "end": 28390, "loc": { "start": { "line": 850, "column": 23 }, "end": { "line": 850, "column": 34 }, "identifierName": "velocityMax" }, "name": "velocityMax" } }, "consequent": { "type": "BlockStatement", "start": 28392, "end": 28608, "loc": { "start": { "line": 850, "column": 36 }, "end": { "line": 853, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 28411, "end": 28493, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 98 } }, "expression": { "type": "AssignmentExpression", "start": 28411, "end": 28492, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 97 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28411, "end": 28439, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 44 } }, "object": { "type": "MemberExpression", "start": 28411, "end": 28437, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 42 } }, "object": { "type": "ThisExpression", "start": 28411, "end": 28415, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 20 } } }, "property": { "type": "Identifier", "start": 28416, "end": 28437, "loc": { "start": { "line": 851, "column": 21 }, "end": { "line": 851, "column": 42 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28438, "end": 28439, "loc": { "start": { "line": 851, "column": 43 }, "end": { "line": 851, "column": 44 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 28442, "end": 28492, "loc": { "start": { "line": 851, "column": 47 }, "end": { "line": 851, "column": 97 } }, "left": { "type": "BinaryExpression", "start": 28443, "end": 28485, "loc": { "start": { "line": 851, "column": 48 }, "end": { "line": 851, "column": 90 } }, "left": { "type": "MemberExpression", "start": 28443, "end": 28471, "loc": { "start": { "line": 851, "column": 48 }, "end": { "line": 851, "column": 76 } }, "object": { "type": "MemberExpression", "start": 28443, "end": 28469, "loc": { "start": { "line": 851, "column": 48 }, "end": { "line": 851, "column": 74 } }, "object": { "type": "ThisExpression", "start": 28443, "end": 28447, "loc": { "start": { "line": 851, "column": 48 }, "end": { "line": 851, "column": 52 } } }, "property": { "type": "Identifier", "start": 28448, "end": 28469, "loc": { "start": { "line": 851, "column": 53 }, "end": { "line": 851, "column": 74 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28470, "end": 28471, "loc": { "start": { "line": 851, "column": 75 }, "end": { "line": 851, "column": 76 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "Identifier", "start": 28474, "end": 28485, "loc": { "start": { "line": 851, "column": 79 }, "end": { "line": 851, "column": 90 }, "identifierName": "velocityMax" }, "name": "velocityMax" }, "extra": { "parenthesized": true, "parenStart": 28442 } }, "operator": "/", "right": { "type": "Identifier", "start": 28489, "end": 28492, "loc": { "start": { "line": 851, "column": 94 }, "end": { "line": 851, "column": 97 }, "identifierName": "len" }, "name": "len" } } } }, { "type": "ExpressionStatement", "start": 28511, "end": 28593, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 98 } }, "expression": { "type": "AssignmentExpression", "start": 28511, "end": 28592, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 97 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28511, "end": 28539, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 44 } }, "object": { "type": "MemberExpression", "start": 28511, "end": 28537, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 42 } }, "object": { "type": "ThisExpression", "start": 28511, "end": 28515, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 20 } } }, "property": { "type": "Identifier", "start": 28516, "end": 28537, "loc": { "start": { "line": 852, "column": 21 }, "end": { "line": 852, "column": 42 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28538, "end": 28539, "loc": { "start": { "line": 852, "column": 43 }, "end": { "line": 852, "column": 44 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 28542, "end": 28592, "loc": { "start": { "line": 852, "column": 47 }, "end": { "line": 852, "column": 97 } }, "left": { "type": "BinaryExpression", "start": 28543, "end": 28585, "loc": { "start": { "line": 852, "column": 48 }, "end": { "line": 852, "column": 90 } }, "left": { "type": "MemberExpression", "start": 28543, "end": 28571, "loc": { "start": { "line": 852, "column": 48 }, "end": { "line": 852, "column": 76 } }, "object": { "type": "MemberExpression", "start": 28543, "end": 28569, "loc": { "start": { "line": 852, "column": 48 }, "end": { "line": 852, "column": 74 } }, "object": { "type": "ThisExpression", "start": 28543, "end": 28547, "loc": { "start": { "line": 852, "column": 48 }, "end": { "line": 852, "column": 52 } } }, "property": { "type": "Identifier", "start": 28548, "end": 28569, "loc": { "start": { "line": 852, "column": 53 }, "end": { "line": 852, "column": 74 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28570, "end": 28571, "loc": { "start": { "line": 852, "column": 75 }, "end": { "line": 852, "column": 76 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "*", "right": { "type": "Identifier", "start": 28574, "end": 28585, "loc": { "start": { "line": 852, "column": 79 }, "end": { "line": 852, "column": 90 }, "identifierName": "velocityMax" }, "name": "velocityMax" }, "extra": { "parenthesized": true, "parenStart": 28542 } }, "operator": "/", "right": { "type": "Identifier", "start": 28589, "end": 28592, "loc": { "start": { "line": 852, "column": 94 }, "end": { "line": 852, "column": 97 }, "identifierName": "len" }, "name": "len" } } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 28624, "end": 28711, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 99 } }, "expression": { "type": "AssignmentExpression", "start": 28624, "end": 28710, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28624, "end": 28635, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 23 } }, "object": { "type": "ThisExpression", "start": 28624, "end": 28628, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 16 } } }, "property": { "type": "Identifier", "start": 28629, "end": 28635, "loc": { "start": { "line": 855, "column": 17 }, "end": { "line": 855, "column": 23 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 28638, "end": 28710, "loc": { "start": { "line": 855, "column": 26 }, "end": { "line": 855, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 28638, "end": 28653, "loc": { "start": { "line": 855, "column": 26 }, "end": { "line": 855, "column": 41 } }, "object": { "type": "MemberExpression", "start": 28638, "end": 28649, "loc": { "start": { "line": 855, "column": 26 }, "end": { "line": 855, "column": 37 } }, "object": { "type": "ThisExpression", "start": 28638, "end": 28642, "loc": { "start": { "line": 855, "column": 26 }, "end": { "line": 855, "column": 30 } } }, "property": { "type": "Identifier", "start": 28643, "end": 28649, "loc": { "start": { "line": 855, "column": 31 }, "end": { "line": 855, "column": 37 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 28650, "end": 28653, "loc": { "start": { "line": 855, "column": 38 }, "end": { "line": 855, "column": 41 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 28654, "end": 28709, "loc": { "start": { "line": 855, "column": 42 }, "end": { "line": 855, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 28654, "end": 28695, "loc": { "start": { "line": 855, "column": 42 }, "end": { "line": 855, "column": 83 } }, "object": { "type": "MemberExpression", "start": 28654, "end": 28680, "loc": { "start": { "line": 855, "column": 42 }, "end": { "line": 855, "column": 68 } }, "object": { "type": "ThisExpression", "start": 28654, "end": 28658, "loc": { "start": { "line": 855, "column": 42 }, "end": { "line": 855, "column": 46 } } }, "property": { "type": "Identifier", "start": 28659, "end": 28680, "loc": { "start": { "line": 855, "column": 47 }, "end": { "line": 855, "column": 68 }, "identifierName": "touchPostMoveVelocity" }, "name": "touchPostMoveVelocity" }, "computed": false }, "property": { "type": "Identifier", "start": 28681, "end": 28695, "loc": { "start": { "line": 855, "column": 69 }, "end": { "line": 855, "column": 83 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 28696, "end": 28708, "loc": { "start": { "line": 855, "column": 84 }, "end": { "line": 855, "column": 96 }, "identifierName": "baseStrength" }, "name": "baseStrength" } ] } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Panning", "start": 28727, "end": 28737, "loc": { "start": { "line": 857, "column": 12 }, "end": { "line": 857, "column": 22 } } } ] }, { "type": "ExpressionStatement", "start": 28751, "end": 28819, "loc": { "start": { "line": 858, "column": 12 }, "end": { "line": 858, "column": 80 } }, "expression": { "type": "AssignmentExpression", "start": 28751, "end": 28818, "loc": { "start": { "line": 858, "column": 12 }, "end": { "line": 858, "column": 79 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28751, "end": 28766, "loc": { "start": { "line": 858, "column": 12 }, "end": { "line": 858, "column": 27 } }, "object": { "type": "ThisExpression", "start": 28751, "end": 28755, "loc": { "start": { "line": 858, "column": 12 }, "end": { "line": 858, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 28756, "end": 28766, "loc": { "start": { "line": 858, "column": 17 }, "end": { "line": 858, "column": 27 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 28769, "end": 28818, "loc": { "start": { "line": 858, "column": 30 }, "end": { "line": 858, "column": 79 } }, "callee": { "type": "Identifier", "start": 28769, "end": 28778, "loc": { "start": { "line": 858, "column": 30 }, "end": { "line": 858, "column": 39 }, "identifierName": "mixVector" }, "name": "mixVector" }, "arguments": [ { "type": "MemberExpression", "start": 28779, "end": 28794, "loc": { "start": { "line": 858, "column": 40 }, "end": { "line": 858, "column": 55 } }, "object": { "type": "ThisExpression", "start": 28779, "end": 28783, "loc": { "start": { "line": 858, "column": 40 }, "end": { "line": 858, "column": 44 } } }, "property": { "type": "Identifier", "start": 28784, "end": 28794, "loc": { "start": { "line": 858, "column": 45 }, "end": { "line": 858, "column": 55 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false }, { "type": "MemberExpression", "start": 28796, "end": 28811, "loc": { "start": { "line": 858, "column": 57 }, "end": { "line": 858, "column": 72 } }, "object": { "type": "ThisExpression", "start": 28796, "end": 28800, "loc": { "start": { "line": 858, "column": 57 }, "end": { "line": 858, "column": 61 } } }, "property": { "type": "Identifier", "start": 28801, "end": 28811, "loc": { "start": { "line": 858, "column": 62 }, "end": { "line": 858, "column": 72 }, "identifierName": "desiredPan" }, "name": "desiredPan" }, "computed": false }, { "type": "NumericLiteral", "start": 28813, "end": 28817, "loc": { "start": { "line": 858, "column": 74 }, "end": { "line": 858, "column": 78 } }, "extra": { "rawValue": 0.06, "raw": "0.06" }, "value": 0.06 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Panning", "start": 28727, "end": 28737, "loc": { "start": { "line": 857, "column": 12 }, "end": { "line": 857, "column": 22 } } } ] }, { "type": "ExpressionStatement", "start": 28833, "end": 28924, "loc": { "start": { "line": 859, "column": 12 }, "end": { "line": 859, "column": 103 } }, "expression": { "type": "AssignmentExpression", "start": 28833, "end": 28923, "loc": { "start": { "line": 859, "column": 12 }, "end": { "line": 859, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 28833, "end": 28844, "loc": { "start": { "line": 859, "column": 12 }, "end": { "line": 859, "column": 23 } }, "object": { "type": "ThisExpression", "start": 28833, "end": 28837, "loc": { "start": { "line": 859, "column": 12 }, "end": { "line": 859, "column": 16 } } }, "property": { "type": "Identifier", "start": 28838, "end": 28844, "loc": { "start": { "line": 859, "column": 17 }, "end": { "line": 859, "column": 23 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 28847, "end": 28923, "loc": { "start": { "line": 859, "column": 26 }, "end": { "line": 859, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 28847, "end": 28862, "loc": { "start": { "line": 859, "column": 26 }, "end": { "line": 859, "column": 41 } }, "object": { "type": "MemberExpression", "start": 28847, "end": 28858, "loc": { "start": { "line": 859, "column": 26 }, "end": { "line": 859, "column": 37 } }, "object": { "type": "ThisExpression", "start": 28847, "end": 28851, "loc": { "start": { "line": 859, "column": 26 }, "end": { "line": 859, "column": 30 } } }, "property": { "type": "Identifier", "start": 28852, "end": 28858, "loc": { "start": { "line": 859, "column": 31 }, "end": { "line": 859, "column": 37 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 28859, "end": 28862, "loc": { "start": { "line": 859, "column": 38 }, "end": { "line": 859, "column": 41 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 28863, "end": 28922, "loc": { "start": { "line": 859, "column": 42 }, "end": { "line": 859, "column": 101 } }, "callee": { "type": "MemberExpression", "start": 28863, "end": 28893, "loc": { "start": { "line": 859, "column": 42 }, "end": { "line": 859, "column": 72 } }, "object": { "type": "MemberExpression", "start": 28863, "end": 28878, "loc": { "start": { "line": 859, "column": 42 }, "end": { "line": 859, "column": 57 } }, "object": { "type": "ThisExpression", "start": 28863, "end": 28867, "loc": { "start": { "line": 859, "column": 42 }, "end": { "line": 859, "column": 46 } } }, "property": { "type": "Identifier", "start": 28868, "end": 28878, "loc": { "start": { "line": 859, "column": 47 }, "end": { "line": 859, "column": 57 }, "identifierName": "currentPan" }, "name": "currentPan" }, "computed": false }, "property": { "type": "Identifier", "start": 28879, "end": 28893, "loc": { "start": { "line": 859, "column": 58 }, "end": { "line": 859, "column": 72 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 28894, "end": 28921, "loc": { "start": { "line": 859, "column": 73 }, "end": { "line": 859, "column": 100 } }, "left": { "type": "BinaryExpression", "start": 28895, "end": 28903, "loc": { "start": { "line": 859, "column": 74 }, "end": { "line": 859, "column": 82 } }, "left": { "type": "NumericLiteral", "start": 28895, "end": 28898, "loc": { "start": { "line": 859, "column": 74 }, "end": { "line": 859, "column": 77 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 }, "operator": "*", "right": { "type": "Identifier", "start": 28901, "end": 28903, "loc": { "start": { "line": 859, "column": 80 }, "end": { "line": 859, "column": 82 }, "identifierName": "dt" }, "name": "dt" }, "extra": { "parenthesized": true, "parenStart": 28894 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 28907, "end": 28921, "loc": { "start": { "line": 859, "column": 86 }, "end": { "line": 859, "column": 100 } }, "object": { "type": "ThisExpression", "start": 28907, "end": 28911, "loc": { "start": { "line": 859, "column": 86 }, "end": { "line": 859, "column": 90 } } }, "property": { "type": "Identifier", "start": 28912, "end": 28921, "loc": { "start": { "line": 859, "column": 91 }, "end": { "line": 859, "column": 100 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } ] } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Check influence of past points", "start": 28194, "end": 28227, "loc": { "start": { "line": 847, "column": 8 }, "end": { "line": 847, "column": 41 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal pan handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 27036, "end": 27163, "loc": { "start": { "line": 820, "column": 4 }, "end": { "line": 824, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal screen panning handler\r\n * @param {number} now\r\n * @param {number} dt\r\n ", "start": 28950, "end": 29057, "loc": { "start": { "line": 863, "column": 4 }, "end": { "line": 867, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 29063, "end": 30680, "loc": { "start": { "line": 868, "column": 4 }, "end": { "line": 924, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 29063, "end": 29089, "loc": { "start": { "line": 868, "column": 4 }, "end": { "line": 868, "column": 30 }, "identifierName": "internalUpdateMousePanning" }, "name": "internalUpdateMousePanning", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 29090, "end": 29093, "loc": { "start": { "line": 868, "column": 31 }, "end": { "line": 868, "column": 34 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 29095, "end": 29097, "loc": { "start": { "line": 868, "column": 36 }, "end": { "line": 868, "column": 38 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 29099, "end": 30680, "loc": { "start": { "line": 868, "column": 40 }, "end": { "line": 924, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 29110, "end": 29171, "loc": { "start": { "line": 869, "column": 8 }, "end": { "line": 871, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 29114, "end": 29136, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "column": 34 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 29115, "end": 29136, "loc": { "start": { "line": 869, "column": 13 }, "end": { "line": 869, "column": 34 } }, "object": { "type": "MemberExpression", "start": 29115, "end": 29128, "loc": { "start": { "line": 869, "column": 13 }, "end": { "line": 869, "column": 26 } }, "object": { "type": "MemberExpression", "start": 29115, "end": 29124, "loc": { "start": { "line": 869, "column": 13 }, "end": { "line": 869, "column": 22 } }, "object": { "type": "ThisExpression", "start": 29115, "end": 29119, "loc": { "start": { "line": 869, "column": 13 }, "end": { "line": 869, "column": 17 } } }, "property": { "type": "Identifier", "start": 29120, "end": 29124, "loc": { "start": { "line": 869, "column": 18 }, "end": { "line": 869, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29125, "end": 29128, "loc": { "start": { "line": 869, "column": 23 }, "end": { "line": 869, "column": 26 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 29129, "end": 29136, "loc": { "start": { "line": 869, "column": 27 }, "end": { "line": 869, "column": 34 }, "identifierName": "focused" }, "name": "focused" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 29138, "end": 29171, "loc": { "start": { "line": 869, "column": 36 }, "end": { "line": 871, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29153, "end": 29160, "loc": { "start": { "line": 870, "column": 12 }, "end": { "line": 870, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 29183, "end": 29305, "loc": { "start": { "line": 873, "column": 8 }, "end": { "line": 876, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 29187, "end": 29242, "loc": { "start": { "line": 873, "column": 12 }, "end": { "line": 873, "column": 67 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 29188, "end": 29242, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 67 } }, "object": { "type": "CallExpression", "start": 29188, "end": 29227, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 29188, "end": 29225, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 50 } }, "object": { "type": "MemberExpression", "start": 29188, "end": 29210, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 35 } }, "object": { "type": "MemberExpression", "start": 29188, "end": 29201, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 26 } }, "object": { "type": "MemberExpression", "start": 29188, "end": 29197, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 22 } }, "object": { "type": "ThisExpression", "start": 29188, "end": 29192, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 17 } } }, "property": { "type": "Identifier", "start": 29193, "end": 29197, "loc": { "start": { "line": 873, "column": 18 }, "end": { "line": 873, "column": 22 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29198, "end": 29201, "loc": { "start": { "line": 873, "column": 23 }, "end": { "line": 873, "column": 26 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 29202, "end": 29210, "loc": { "start": { "line": 873, "column": 27 }, "end": { "line": 873, "column": 35 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 29211, "end": 29225, "loc": { "start": { "line": 873, "column": 36 }, "end": { "line": 873, "column": 50 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 29228, "end": 29242, "loc": { "start": { "line": 873, "column": 53 }, "end": { "line": 873, "column": 67 }, "identifierName": "enableMousePan" }, "name": "enableMousePan" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 29244, "end": 29305, "loc": { "start": { "line": 873, "column": 69 }, "end": { "line": 876, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29287, "end": 29294, "loc": { "start": { "line": 875, "column": 12 }, "end": { "line": 875, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Not enabled", "start": 29259, "end": 29273, "loc": { "start": { "line": 874, "column": 12 }, "end": { "line": 874, "column": 26 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 29317, "end": 29362, "loc": { "start": { "line": 878, "column": 8 }, "end": { "line": 878, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 29323, "end": 29361, "loc": { "start": { "line": 878, "column": 14 }, "end": { "line": 878, "column": 52 } }, "id": { "type": "Identifier", "start": 29323, "end": 29331, "loc": { "start": { "line": 878, "column": 14 }, "end": { "line": 878, "column": 22 }, "identifierName": "mousePos" }, "name": "mousePos" }, "init": { "type": "MemberExpression", "start": 29334, "end": 29361, "loc": { "start": { "line": 878, "column": 25 }, "end": { "line": 878, "column": 52 } }, "object": { "type": "MemberExpression", "start": 29334, "end": 29347, "loc": { "start": { "line": 878, "column": 25 }, "end": { "line": 878, "column": 38 } }, "object": { "type": "MemberExpression", "start": 29334, "end": 29343, "loc": { "start": { "line": 878, "column": 25 }, "end": { "line": 878, "column": 34 } }, "object": { "type": "ThisExpression", "start": 29334, "end": 29338, "loc": { "start": { "line": 878, "column": 25 }, "end": { "line": 878, "column": 29 } } }, "property": { "type": "Identifier", "start": 29339, "end": 29343, "loc": { "start": { "line": 878, "column": 30 }, "end": { "line": 878, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29344, "end": 29347, "loc": { "start": { "line": 878, "column": 35 }, "end": { "line": 878, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 29348, "end": 29361, "loc": { "start": { "line": 878, "column": 39 }, "end": { "line": 878, "column": 52 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 29372, "end": 29420, "loc": { "start": { "line": 879, "column": 8 }, "end": { "line": 881, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 29376, "end": 29385, "loc": { "start": { "line": 879, "column": 12 }, "end": { "line": 879, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 29377, "end": 29385, "loc": { "start": { "line": 879, "column": 13 }, "end": { "line": 879, "column": 21 }, "identifierName": "mousePos" }, "name": "mousePos" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 29387, "end": 29420, "loc": { "start": { "line": 879, "column": 23 }, "end": { "line": 881, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29402, "end": 29409, "loc": { "start": { "line": 880, "column": 12 }, "end": { "line": 880, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 29432, "end": 29544, "loc": { "start": { "line": 883, "column": 8 }, "end": { "line": 885, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 29436, "end": 29509, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 85 } }, "left": { "type": "CallExpression", "start": 29436, "end": 29467, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 29436, "end": 29465, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 41 } }, "object": { "type": "MemberExpression", "start": 29436, "end": 29449, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 25 } }, "object": { "type": "MemberExpression", "start": 29436, "end": 29445, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 21 } }, "object": { "type": "ThisExpression", "start": 29436, "end": 29440, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 16 } } }, "property": { "type": "Identifier", "start": 29441, "end": 29445, "loc": { "start": { "line": 883, "column": 17 }, "end": { "line": 883, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29446, "end": 29449, "loc": { "start": { "line": 883, "column": 22 }, "end": { "line": 883, "column": 25 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 29450, "end": 29465, "loc": { "start": { "line": 883, "column": 26 }, "end": { "line": 883, "column": 41 }, "identifierName": "shouldPauseGame" }, "name": "shouldPauseGame" }, "computed": false }, "arguments": [] }, "operator": "||", "right": { "type": "CallExpression", "start": 29471, "end": 29509, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 29471, "end": 29507, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 83 } }, "object": { "type": "MemberExpression", "start": 29471, "end": 29484, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 60 } }, "object": { "type": "MemberExpression", "start": 29471, "end": 29480, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 56 } }, "object": { "type": "ThisExpression", "start": 29471, "end": 29475, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 51 } } }, "property": { "type": "Identifier", "start": 29476, "end": 29480, "loc": { "start": { "line": 883, "column": 52 }, "end": { "line": 883, "column": 56 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29481, "end": 29484, "loc": { "start": { "line": 883, "column": 57 }, "end": { "line": 883, "column": 60 }, "identifierName": "hud" }, "name": "hud" }, "computed": false }, "property": { "type": "Identifier", "start": 29485, "end": 29507, "loc": { "start": { "line": 883, "column": 61 }, "end": { "line": 883, "column": 83 }, "identifierName": "hasBlockingOverlayOpen" }, "name": "hasBlockingOverlayOpen" }, "computed": false }, "arguments": [] } }, "consequent": { "type": "BlockStatement", "start": 29511, "end": 29544, "loc": { "start": { "line": 883, "column": 87 }, "end": { "line": 885, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29526, "end": 29533, "loc": { "start": { "line": 884, "column": 12 }, "end": { "line": 884, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 29556, "end": 29747, "loc": { "start": { "line": 887, "column": 8 }, "end": { "line": 890, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 29560, "end": 29648, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 100 } }, "left": { "type": "LogicalExpression", "start": 29560, "end": 29622, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 74 } }, "left": { "type": "LogicalExpression", "start": 29560, "end": 29598, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 50 } }, "left": { "type": "MemberExpression", "start": 29560, "end": 29578, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 30 } }, "object": { "type": "ThisExpression", "start": 29560, "end": 29564, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 16 } } }, "property": { "type": "Identifier", "start": 29565, "end": 29578, "loc": { "start": { "line": 887, "column": 17 }, "end": { "line": 887, "column": 30 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "||", "right": { "type": "MemberExpression", "start": 29582, "end": 29598, "loc": { "start": { "line": 887, "column": 34 }, "end": { "line": 887, "column": 50 } }, "object": { "type": "ThisExpression", "start": 29582, "end": 29586, "loc": { "start": { "line": 887, "column": 34 }, "end": { "line": 887, "column": 38 } } }, "property": { "type": "Identifier", "start": 29587, "end": 29598, "loc": { "start": { "line": 887, "column": 39 }, "end": { "line": 887, "column": 50 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false } }, "operator": "||", "right": { "type": "MemberExpression", "start": 29602, "end": 29622, "loc": { "start": { "line": 887, "column": 54 }, "end": { "line": 887, "column": 74 } }, "object": { "type": "ThisExpression", "start": 29602, "end": 29606, "loc": { "start": { "line": 887, "column": 54 }, "end": { "line": 887, "column": 58 } } }, "property": { "type": "Identifier", "start": 29607, "end": 29622, "loc": { "start": { "line": 887, "column": 59 }, "end": { "line": 887, "column": 74 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false } }, "operator": "||", "right": { "type": "MemberExpression", "start": 29626, "end": 29648, "loc": { "start": { "line": 887, "column": 78 }, "end": { "line": 887, "column": 100 } }, "object": { "type": "ThisExpression", "start": 29626, "end": 29630, "loc": { "start": { "line": 887, "column": 78 }, "end": { "line": 887, "column": 82 } } }, "property": { "type": "Identifier", "start": 29631, "end": 29648, "loc": { "start": { "line": 887, "column": 83 }, "end": { "line": 887, "column": 100 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 29650, "end": 29747, "loc": { "start": { "line": 887, "column": 102 }, "end": { "line": 890, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29729, "end": 29736, "loc": { "start": { "line": 889, "column": 12 }, "end": { "line": 889, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Performing another method of movement right now", "start": 29665, "end": 29715, "loc": { "start": { "line": 888, "column": 12 }, "end": { "line": 888, "column": 62 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 29759, "end": 29996, "loc": { "start": { "line": 892, "column": 8 }, "end": { "line": 900, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 29777, "end": 29921, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 896, "column": 45 } }, "left": { "type": "LogicalExpression", "start": 29777, "end": 29871, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 895, "column": 44 } }, "left": { "type": "LogicalExpression", "start": 29777, "end": 29822, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 894, "column": 26 } }, "left": { "type": "BinaryExpression", "start": 29777, "end": 29791, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 893, "column": 26 } }, "left": { "type": "MemberExpression", "start": 29777, "end": 29787, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 893, "column": 22 } }, "object": { "type": "Identifier", "start": 29777, "end": 29785, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 893, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 29786, "end": 29787, "loc": { "start": { "line": 893, "column": 21 }, "end": { "line": 893, "column": 22 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 29790, "end": 29791, "loc": { "start": { "line": 893, "column": 25 }, "end": { "line": 893, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 29808, "end": 29822, "loc": { "start": { "line": 894, "column": 12 }, "end": { "line": 894, "column": 26 } }, "left": { "type": "MemberExpression", "start": 29808, "end": 29818, "loc": { "start": { "line": 894, "column": 12 }, "end": { "line": 894, "column": 22 } }, "object": { "type": "Identifier", "start": 29808, "end": 29816, "loc": { "start": { "line": 894, "column": 12 }, "end": { "line": 894, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 29817, "end": 29818, "loc": { "start": { "line": 894, "column": 21 }, "end": { "line": 894, "column": 22 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 29821, "end": 29822, "loc": { "start": { "line": 894, "column": 25 }, "end": { "line": 894, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 29839, "end": 29871, "loc": { "start": { "line": 895, "column": 12 }, "end": { "line": 895, "column": 44 } }, "left": { "type": "MemberExpression", "start": 29839, "end": 29849, "loc": { "start": { "line": 895, "column": 12 }, "end": { "line": 895, "column": 22 } }, "object": { "type": "Identifier", "start": 29839, "end": 29847, "loc": { "start": { "line": 895, "column": 12 }, "end": { "line": 895, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 29848, "end": 29849, "loc": { "start": { "line": 895, "column": 21 }, "end": { "line": 895, "column": 22 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": ">", "right": { "type": "MemberExpression", "start": 29852, "end": 29871, "loc": { "start": { "line": 895, "column": 25 }, "end": { "line": 895, "column": 44 } }, "object": { "type": "MemberExpression", "start": 29852, "end": 29861, "loc": { "start": { "line": 895, "column": 25 }, "end": { "line": 895, "column": 34 } }, "object": { "type": "ThisExpression", "start": 29852, "end": 29856, "loc": { "start": { "line": 895, "column": 25 }, "end": { "line": 895, "column": 29 } } }, "property": { "type": "Identifier", "start": 29857, "end": 29861, "loc": { "start": { "line": 895, "column": 30 }, "end": { "line": 895, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29862, "end": 29871, "loc": { "start": { "line": 895, "column": 35 }, "end": { "line": 895, "column": 44 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 29888, "end": 29921, "loc": { "start": { "line": 896, "column": 12 }, "end": { "line": 896, "column": 45 } }, "left": { "type": "MemberExpression", "start": 29888, "end": 29898, "loc": { "start": { "line": 896, "column": 12 }, "end": { "line": 896, "column": 22 } }, "object": { "type": "Identifier", "start": 29888, "end": 29896, "loc": { "start": { "line": 896, "column": 12 }, "end": { "line": 896, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 29897, "end": 29898, "loc": { "start": { "line": 896, "column": 21 }, "end": { "line": 896, "column": 22 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": ">", "right": { "type": "MemberExpression", "start": 29901, "end": 29921, "loc": { "start": { "line": 896, "column": 25 }, "end": { "line": 896, "column": 45 } }, "object": { "type": "MemberExpression", "start": 29901, "end": 29910, "loc": { "start": { "line": 896, "column": 25 }, "end": { "line": 896, "column": 34 } }, "object": { "type": "ThisExpression", "start": 29901, "end": 29905, "loc": { "start": { "line": 896, "column": 25 }, "end": { "line": 896, "column": 29 } } }, "property": { "type": "Identifier", "start": 29906, "end": 29910, "loc": { "start": { "line": 896, "column": 30 }, "end": { "line": 896, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 29911, "end": 29921, "loc": { "start": { "line": 896, "column": 35 }, "end": { "line": 896, "column": 45 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 29933, "end": 29996, "loc": { "start": { "line": 897, "column": 10 }, "end": { "line": 900, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 29978, "end": 29985, "loc": { "start": { "line": 899, "column": 12 }, "end": { "line": 899, "column": 19 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " Out of screen", "start": 29948, "end": 29964, "loc": { "start": { "line": 898, "column": 12 }, "end": { "line": 898, "column": 28 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 30008, "end": 30032, "loc": { "start": { "line": 902, "column": 8 }, "end": { "line": 902, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 30014, "end": 30031, "loc": { "start": { "line": 902, "column": 14 }, "end": { "line": 902, "column": 31 } }, "id": { "type": "Identifier", "start": 30014, "end": 30027, "loc": { "start": { "line": 902, "column": 14 }, "end": { "line": 902, "column": 27 }, "identifierName": "panAreaPixels" }, "name": "panAreaPixels" }, "init": { "type": "NumericLiteral", "start": 30030, "end": 30031, "loc": { "start": { "line": 902, "column": 30 }, "end": { "line": 902, "column": 31 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 30044, "end": 30077, "loc": { "start": { "line": 904, "column": 8 }, "end": { "line": 904, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 30050, "end": 30076, "loc": { "start": { "line": 904, "column": 14 }, "end": { "line": 904, "column": 40 } }, "id": { "type": "Identifier", "start": 30050, "end": 30061, "loc": { "start": { "line": 904, "column": 14 }, "end": { "line": 904, "column": 25 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "init": { "type": "NewExpression", "start": 30064, "end": 30076, "loc": { "start": { "line": 904, "column": 28 }, "end": { "line": 904, "column": 40 } }, "callee": { "type": "Identifier", "start": 30068, "end": 30074, "loc": { "start": { "line": 904, "column": 32 }, "end": { "line": 904, "column": 38 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 30087, "end": 30164, "loc": { "start": { "line": 905, "column": 8 }, "end": { "line": 907, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 30091, "end": 30117, "loc": { "start": { "line": 905, "column": 12 }, "end": { "line": 905, "column": 38 } }, "left": { "type": "MemberExpression", "start": 30091, "end": 30101, "loc": { "start": { "line": 905, "column": 12 }, "end": { "line": 905, "column": 22 } }, "object": { "type": "Identifier", "start": 30091, "end": 30099, "loc": { "start": { "line": 905, "column": 12 }, "end": { "line": 905, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 30100, "end": 30101, "loc": { "start": { "line": 905, "column": 21 }, "end": { "line": 905, "column": 22 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "<", "right": { "type": "Identifier", "start": 30104, "end": 30117, "loc": { "start": { "line": 905, "column": 25 }, "end": { "line": 905, "column": 38 }, "identifierName": "panAreaPixels" }, "name": "panAreaPixels" } }, "consequent": { "type": "BlockStatement", "start": 30119, "end": 30164, "loc": { "start": { "line": 905, "column": 40 }, "end": { "line": 907, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 30134, "end": 30153, "loc": { "start": { "line": 906, "column": 12 }, "end": { "line": 906, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 30134, "end": 30152, "loc": { "start": { "line": 906, "column": 12 }, "end": { "line": 906, "column": 30 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 30134, "end": 30147, "loc": { "start": { "line": 906, "column": 12 }, "end": { "line": 906, "column": 25 } }, "object": { "type": "Identifier", "start": 30134, "end": 30145, "loc": { "start": { "line": 906, "column": 12 }, "end": { "line": 906, "column": 23 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "property": { "type": "Identifier", "start": 30146, "end": 30147, "loc": { "start": { "line": 906, "column": 24 }, "end": { "line": 906, "column": 25 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 30151, "end": 30152, "loc": { "start": { "line": 906, "column": 29 }, "end": { "line": 906, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 30174, "end": 30273, "loc": { "start": { "line": 908, "column": 8 }, "end": { "line": 910, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 30178, "end": 30226, "loc": { "start": { "line": 908, "column": 12 }, "end": { "line": 908, "column": 60 } }, "left": { "type": "MemberExpression", "start": 30178, "end": 30188, "loc": { "start": { "line": 908, "column": 12 }, "end": { "line": 908, "column": 22 } }, "object": { "type": "Identifier", "start": 30178, "end": 30186, "loc": { "start": { "line": 908, "column": 12 }, "end": { "line": 908, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 30187, "end": 30188, "loc": { "start": { "line": 908, "column": 21 }, "end": { "line": 908, "column": 22 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": ">", "right": { "type": "BinaryExpression", "start": 30191, "end": 30226, "loc": { "start": { "line": 908, "column": 25 }, "end": { "line": 908, "column": 60 } }, "left": { "type": "MemberExpression", "start": 30191, "end": 30210, "loc": { "start": { "line": 908, "column": 25 }, "end": { "line": 908, "column": 44 } }, "object": { "type": "MemberExpression", "start": 30191, "end": 30200, "loc": { "start": { "line": 908, "column": 25 }, "end": { "line": 908, "column": 34 } }, "object": { "type": "ThisExpression", "start": 30191, "end": 30195, "loc": { "start": { "line": 908, "column": 25 }, "end": { "line": 908, "column": 29 } } }, "property": { "type": "Identifier", "start": 30196, "end": 30200, "loc": { "start": { "line": 908, "column": 30 }, "end": { "line": 908, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 30201, "end": 30210, "loc": { "start": { "line": 908, "column": 35 }, "end": { "line": 908, "column": 44 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 30213, "end": 30226, "loc": { "start": { "line": 908, "column": 47 }, "end": { "line": 908, "column": 60 }, "identifierName": "panAreaPixels" }, "name": "panAreaPixels" } } }, "consequent": { "type": "BlockStatement", "start": 30228, "end": 30273, "loc": { "start": { "line": 908, "column": 62 }, "end": { "line": 910, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 30243, "end": 30262, "loc": { "start": { "line": 909, "column": 12 }, "end": { "line": 909, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 30243, "end": 30261, "loc": { "start": { "line": 909, "column": 12 }, "end": { "line": 909, "column": 30 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 30243, "end": 30256, "loc": { "start": { "line": 909, "column": 12 }, "end": { "line": 909, "column": 25 } }, "object": { "type": "Identifier", "start": 30243, "end": 30254, "loc": { "start": { "line": 909, "column": 12 }, "end": { "line": 909, "column": 23 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "property": { "type": "Identifier", "start": 30255, "end": 30256, "loc": { "start": { "line": 909, "column": 24 }, "end": { "line": 909, "column": 25 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 30260, "end": 30261, "loc": { "start": { "line": 909, "column": 29 }, "end": { "line": 909, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 30285, "end": 30362, "loc": { "start": { "line": 912, "column": 8 }, "end": { "line": 914, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 30289, "end": 30315, "loc": { "start": { "line": 912, "column": 12 }, "end": { "line": 912, "column": 38 } }, "left": { "type": "MemberExpression", "start": 30289, "end": 30299, "loc": { "start": { "line": 912, "column": 12 }, "end": { "line": 912, "column": 22 } }, "object": { "type": "Identifier", "start": 30289, "end": 30297, "loc": { "start": { "line": 912, "column": 12 }, "end": { "line": 912, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 30298, "end": 30299, "loc": { "start": { "line": 912, "column": 21 }, "end": { "line": 912, "column": 22 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "<", "right": { "type": "Identifier", "start": 30302, "end": 30315, "loc": { "start": { "line": 912, "column": 25 }, "end": { "line": 912, "column": 38 }, "identifierName": "panAreaPixels" }, "name": "panAreaPixels" } }, "consequent": { "type": "BlockStatement", "start": 30317, "end": 30362, "loc": { "start": { "line": 912, "column": 40 }, "end": { "line": 914, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 30332, "end": 30351, "loc": { "start": { "line": 913, "column": 12 }, "end": { "line": 913, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 30332, "end": 30350, "loc": { "start": { "line": 913, "column": 12 }, "end": { "line": 913, "column": 30 } }, "operator": "-=", "left": { "type": "MemberExpression", "start": 30332, "end": 30345, "loc": { "start": { "line": 913, "column": 12 }, "end": { "line": 913, "column": 25 } }, "object": { "type": "Identifier", "start": 30332, "end": 30343, "loc": { "start": { "line": 913, "column": 12 }, "end": { "line": 913, "column": 23 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "property": { "type": "Identifier", "start": 30344, "end": 30345, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 25 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 30349, "end": 30350, "loc": { "start": { "line": 913, "column": 29 }, "end": { "line": 913, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 30372, "end": 30472, "loc": { "start": { "line": 915, "column": 8 }, "end": { "line": 917, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 30376, "end": 30425, "loc": { "start": { "line": 915, "column": 12 }, "end": { "line": 915, "column": 61 } }, "left": { "type": "MemberExpression", "start": 30376, "end": 30386, "loc": { "start": { "line": 915, "column": 12 }, "end": { "line": 915, "column": 22 } }, "object": { "type": "Identifier", "start": 30376, "end": 30384, "loc": { "start": { "line": 915, "column": 12 }, "end": { "line": 915, "column": 20 }, "identifierName": "mousePos" }, "name": "mousePos" }, "property": { "type": "Identifier", "start": 30385, "end": 30386, "loc": { "start": { "line": 915, "column": 21 }, "end": { "line": 915, "column": 22 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": ">", "right": { "type": "BinaryExpression", "start": 30389, "end": 30425, "loc": { "start": { "line": 915, "column": 25 }, "end": { "line": 915, "column": 61 } }, "left": { "type": "MemberExpression", "start": 30389, "end": 30409, "loc": { "start": { "line": 915, "column": 25 }, "end": { "line": 915, "column": 45 } }, "object": { "type": "MemberExpression", "start": 30389, "end": 30398, "loc": { "start": { "line": 915, "column": 25 }, "end": { "line": 915, "column": 34 } }, "object": { "type": "ThisExpression", "start": 30389, "end": 30393, "loc": { "start": { "line": 915, "column": 25 }, "end": { "line": 915, "column": 29 } } }, "property": { "type": "Identifier", "start": 30394, "end": 30398, "loc": { "start": { "line": 915, "column": 30 }, "end": { "line": 915, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 30399, "end": 30409, "loc": { "start": { "line": 915, "column": 35 }, "end": { "line": 915, "column": 45 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 30412, "end": 30425, "loc": { "start": { "line": 915, "column": 48 }, "end": { "line": 915, "column": 61 }, "identifierName": "panAreaPixels" }, "name": "panAreaPixels" } } }, "consequent": { "type": "BlockStatement", "start": 30427, "end": 30472, "loc": { "start": { "line": 915, "column": 63 }, "end": { "line": 917, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 30442, "end": 30461, "loc": { "start": { "line": 916, "column": 12 }, "end": { "line": 916, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 30442, "end": 30460, "loc": { "start": { "line": 916, "column": 12 }, "end": { "line": 916, "column": 30 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 30442, "end": 30455, "loc": { "start": { "line": 916, "column": 12 }, "end": { "line": 916, "column": 25 } }, "object": { "type": "Identifier", "start": 30442, "end": 30453, "loc": { "start": { "line": 916, "column": 12 }, "end": { "line": 916, "column": 23 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "property": { "type": "Identifier", "start": 30454, "end": 30455, "loc": { "start": { "line": 916, "column": 24 }, "end": { "line": 916, "column": 25 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 30459, "end": 30460, "loc": { "start": { "line": 916, "column": 29 }, "end": { "line": 916, "column": 30 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 30484, "end": 30673, "loc": { "start": { "line": 919, "column": 8 }, "end": { "line": 923, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 30484, "end": 30672, "loc": { "start": { "line": 919, "column": 8 }, "end": { "line": 923, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 30484, "end": 30495, "loc": { "start": { "line": 919, "column": 8 }, "end": { "line": 919, "column": 19 } }, "object": { "type": "ThisExpression", "start": 30484, "end": 30488, "loc": { "start": { "line": 919, "column": 8 }, "end": { "line": 919, "column": 12 } } }, "property": { "type": "Identifier", "start": 30489, "end": 30495, "loc": { "start": { "line": 919, "column": 13 }, "end": { "line": 919, "column": 19 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "right": { "type": "CallExpression", "start": 30498, "end": 30672, "loc": { "start": { "line": 919, "column": 22 }, "end": { "line": 923, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 30498, "end": 30513, "loc": { "start": { "line": 919, "column": 22 }, "end": { "line": 919, "column": 37 } }, "object": { "type": "MemberExpression", "start": 30498, "end": 30509, "loc": { "start": { "line": 919, "column": 22 }, "end": { "line": 919, "column": 33 } }, "object": { "type": "ThisExpression", "start": 30498, "end": 30502, "loc": { "start": { "line": 919, "column": 22 }, "end": { "line": 919, "column": 26 } } }, "property": { "type": "Identifier", "start": 30503, "end": 30509, "loc": { "start": { "line": 919, "column": 27 }, "end": { "line": 919, "column": 33 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 30510, "end": 30513, "loc": { "start": { "line": 919, "column": 34 }, "end": { "line": 919, "column": 37 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 30528, "end": 30661, "loc": { "start": { "line": 920, "column": 12 }, "end": { "line": 922, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 30528, "end": 30554, "loc": { "start": { "line": 920, "column": 12 }, "end": { "line": 920, "column": 38 } }, "object": { "type": "Identifier", "start": 30528, "end": 30539, "loc": { "start": { "line": 920, "column": 12 }, "end": { "line": 920, "column": 23 }, "identifierName": "panVelocity" }, "name": "panVelocity" }, "property": { "type": "Identifier", "start": 30540, "end": 30554, "loc": { "start": { "line": 920, "column": 24 }, "end": { "line": 920, "column": 38 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 30573, "end": 30646, "loc": { "start": { "line": 921, "column": 16 }, "end": { "line": 921, "column": 89 } }, "left": { "type": "BinaryExpression", "start": 30574, "end": 30601, "loc": { "start": { "line": 921, "column": 17 }, "end": { "line": 921, "column": 44 } }, "left": { "type": "BinaryExpression", "start": 30575, "end": 30583, "loc": { "start": { "line": 921, "column": 18 }, "end": { "line": 921, "column": 26 } }, "left": { "type": "NumericLiteral", "start": 30575, "end": 30578, "loc": { "start": { "line": 921, "column": 18 }, "end": { "line": 921, "column": 21 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 }, "operator": "*", "right": { "type": "Identifier", "start": 30581, "end": 30583, "loc": { "start": { "line": 921, "column": 24 }, "end": { "line": 921, "column": 26 }, "identifierName": "dt" }, "name": "dt" }, "extra": { "parenthesized": true, "parenStart": 30574 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 30587, "end": 30601, "loc": { "start": { "line": 921, "column": 30 }, "end": { "line": 921, "column": 44 } }, "object": { "type": "ThisExpression", "start": 30587, "end": 30591, "loc": { "start": { "line": 921, "column": 30 }, "end": { "line": 921, "column": 34 } } }, "property": { "type": "Identifier", "start": 30592, "end": 30601, "loc": { "start": { "line": 921, "column": 35 }, "end": { "line": 921, "column": 44 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 30573 } }, "operator": "*", "right": { "type": "CallExpression", "start": 30605, "end": 30646, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 30605, "end": 30644, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 87 } }, "object": { "type": "MemberExpression", "start": 30605, "end": 30627, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 70 } }, "object": { "type": "MemberExpression", "start": 30605, "end": 30618, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 61 } }, "object": { "type": "MemberExpression", "start": 30605, "end": 30614, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 57 } }, "object": { "type": "ThisExpression", "start": 30605, "end": 30609, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 52 } } }, "property": { "type": "Identifier", "start": 30610, "end": 30614, "loc": { "start": { "line": 921, "column": 53 }, "end": { "line": 921, "column": 57 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 30615, "end": 30618, "loc": { "start": { "line": 921, "column": 58 }, "end": { "line": 921, "column": 61 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 30619, "end": 30627, "loc": { "start": { "line": 921, "column": 62 }, "end": { "line": 921, "column": 70 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 30628, "end": 30644, "loc": { "start": { "line": 921, "column": 71 }, "end": { "line": 921, "column": 87 }, "identifierName": "getMovementSpeed" }, "name": "getMovementSpeed" }, "computed": false }, "arguments": [] } } ] } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal screen panning handler\r\n * @param {number} now\r\n * @param {number} dt\r\n ", "start": 28950, "end": 29057, "loc": { "start": { "line": 863, "column": 4 }, "end": { "line": 867, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction zooming\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 30688, "end": 30835, "loc": { "start": { "line": 926, "column": 4 }, "end": { "line": 930, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 30841, "end": 31744, "loc": { "start": { "line": 931, "column": 4 }, "end": { "line": 950, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 30841, "end": 30862, "loc": { "start": { "line": 931, "column": 4 }, "end": { "line": 931, "column": 25 }, "identifierName": "internalUpdateZooming" }, "name": "internalUpdateZooming", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 30863, "end": 30866, "loc": { "start": { "line": 931, "column": 26 }, "end": { "line": 931, "column": 29 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 30868, "end": 30870, "loc": { "start": { "line": 931, "column": 31 }, "end": { "line": 931, "column": 33 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 30872, "end": 31744, "loc": { "start": { "line": 931, "column": 35 }, "end": { "line": 950, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 30883, "end": 31737, "loc": { "start": { "line": 932, "column": 8 }, "end": { "line": 949, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 30887, "end": 30939, "loc": { "start": { "line": 932, "column": 12 }, "end": { "line": 932, "column": 64 } }, "left": { "type": "UnaryExpression", "start": 30887, "end": 30910, "loc": { "start": { "line": 932, "column": 12 }, "end": { "line": 932, "column": 35 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 30888, "end": 30910, "loc": { "start": { "line": 932, "column": 13 }, "end": { "line": 932, "column": 35 } }, "object": { "type": "ThisExpression", "start": 30888, "end": 30892, "loc": { "start": { "line": 932, "column": 13 }, "end": { "line": 932, "column": 17 } } }, "property": { "type": "Identifier", "start": 30893, "end": 30910, "loc": { "start": { "line": 932, "column": 18 }, "end": { "line": 932, "column": 35 }, "identifierName": "currentlyPinching" }, "name": "currentlyPinching" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 30914, "end": 30939, "loc": { "start": { "line": 932, "column": 39 }, "end": { "line": 932, "column": 64 } }, "left": { "type": "MemberExpression", "start": 30914, "end": 30930, "loc": { "start": { "line": 932, "column": 39 }, "end": { "line": 932, "column": 55 } }, "object": { "type": "ThisExpression", "start": 30914, "end": 30918, "loc": { "start": { "line": 932, "column": 39 }, "end": { "line": 932, "column": 43 } } }, "property": { "type": "Identifier", "start": 30919, "end": 30930, "loc": { "start": { "line": 932, "column": 44 }, "end": { "line": 932, "column": 55 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 30935, "end": 30939, "loc": { "start": { "line": 932, "column": 60 }, "end": { "line": 932, "column": 64 } } } } }, "consequent": { "type": "BlockStatement", "start": 30941, "end": 31737, "loc": { "start": { "line": 932, "column": 66 }, "end": { "line": 949, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 30956, "end": 31003, "loc": { "start": { "line": 933, "column": 12 }, "end": { "line": 933, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 30962, "end": 31002, "loc": { "start": { "line": 933, "column": 18 }, "end": { "line": 933, "column": 58 } }, "id": { "type": "Identifier", "start": 30962, "end": 30966, "loc": { "start": { "line": 933, "column": 18 }, "end": { "line": 933, "column": 22 }, "identifierName": "diff" }, "name": "diff" }, "init": { "type": "BinaryExpression", "start": 30969, "end": 31002, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 58 } }, "left": { "type": "MemberExpression", "start": 30969, "end": 30983, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 39 } }, "object": { "type": "ThisExpression", "start": 30969, "end": 30973, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 29 } } }, "property": { "type": "Identifier", "start": 30974, "end": 30983, "loc": { "start": { "line": 933, "column": 30 }, "end": { "line": 933, "column": 39 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "-", "right": { "type": "MemberExpression", "start": 30986, "end": 31002, "loc": { "start": { "line": 933, "column": 42 }, "end": { "line": 933, "column": 58 } }, "object": { "type": "ThisExpression", "start": 30986, "end": 30990, "loc": { "start": { "line": 933, "column": 42 }, "end": { "line": 933, "column": 46 } } }, "property": { "type": "Identifier", "start": 30991, "end": 31002, "loc": { "start": { "line": 933, "column": 47 }, "end": { "line": 933, "column": 58 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 31017, "end": 31726, "loc": { "start": { "line": 934, "column": 12 }, "end": { "line": 948, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 31021, "end": 31044, "loc": { "start": { "line": 934, "column": 16 }, "end": { "line": 934, "column": 39 } }, "left": { "type": "CallExpression", "start": 31021, "end": 31035, "loc": { "start": { "line": 934, "column": 16 }, "end": { "line": 934, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 31021, "end": 31029, "loc": { "start": { "line": 934, "column": 16 }, "end": { "line": 934, "column": 24 } }, "object": { "type": "Identifier", "start": 31021, "end": 31025, "loc": { "start": { "line": 934, "column": 16 }, "end": { "line": 934, "column": 20 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 31026, "end": 31029, "loc": { "start": { "line": 934, "column": 21 }, "end": { "line": 934, "column": 24 }, "identifierName": "abs" }, "name": "abs" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 31030, "end": 31034, "loc": { "start": { "line": 934, "column": 25 }, "end": { "line": 934, "column": 29 }, "identifierName": "diff" }, "name": "diff" } ] }, "operator": ">", "right": { "type": "NumericLiteral", "start": 31038, "end": 31044, "loc": { "start": { "line": 934, "column": 33 }, "end": { "line": 934, "column": 39 } }, "extra": { "rawValue": 0.0001, "raw": "0.0001" }, "value": 0.0001 } }, "consequent": { "type": "BlockStatement", "start": 31046, "end": 31610, "loc": { "start": { "line": 934, "column": 41 }, "end": { "line": 945, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 31065, "end": 31081, "loc": { "start": { "line": 935, "column": 16 }, "end": { "line": 935, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 31069, "end": 31080, "loc": { "start": { "line": 935, "column": 20 }, "end": { "line": 935, "column": 31 } }, "id": { "type": "Identifier", "start": 31069, "end": 31073, "loc": { "start": { "line": 935, "column": 20 }, "end": { "line": 935, "column": 24 }, "identifierName": "fade" }, "name": "fade" }, "init": { "type": "NumericLiteral", "start": 31076, "end": 31080, "loc": { "start": { "line": 935, "column": 27 }, "end": { "line": 935, "column": 31 } }, "extra": { "rawValue": 0.94, "raw": "0.94" }, "value": 0.94 } } ], "kind": "let" }, { "type": "IfStatement", "start": 31099, "end": 31214, "loc": { "start": { "line": 936, "column": 16 }, "end": { "line": 939, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 31103, "end": 31111, "loc": { "start": { "line": 936, "column": 20 }, "end": { "line": 936, "column": 28 } }, "left": { "type": "Identifier", "start": 31103, "end": 31107, "loc": { "start": { "line": 936, "column": 20 }, "end": { "line": 936, "column": 24 }, "identifierName": "diff" }, "name": "diff" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 31110, "end": 31111, "loc": { "start": { "line": 936, "column": 27 }, "end": { "line": 936, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 31113, "end": 31214, "loc": { "start": { "line": 936, "column": 30 }, "end": { "line": 939, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 31184, "end": 31195, "loc": { "start": { "line": 938, "column": 20 }, "end": { "line": 938, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 31184, "end": 31194, "loc": { "start": { "line": 938, "column": 20 }, "end": { "line": 938, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 31184, "end": 31188, "loc": { "start": { "line": 938, "column": 20 }, "end": { "line": 938, "column": 24 }, "identifierName": "fade" }, "name": "fade", "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 31191, "end": 31194, "loc": { "start": { "line": 938, "column": 27 }, "end": { "line": 938, "column": 30 } }, "extra": { "rawValue": 0.9, "raw": "0.9" }, "value": 0.9 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Zoom out faster than in", "start": 31136, "end": 31162, "loc": { "start": { "line": 937, "column": 20 }, "end": { "line": 937, "column": 46 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 31234, "end": 31320, "loc": { "start": { "line": 941, "column": 16 }, "end": { "line": 941, "column": 102 } }, "expression": { "type": "CallExpression", "start": 31234, "end": 31319, "loc": { "start": { "line": 941, "column": 16 }, "end": { "line": 941, "column": 101 } }, "callee": { "type": "Identifier", "start": 31234, "end": 31240, "loc": { "start": { "line": 941, "column": 16 }, "end": { "line": 941, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 31241, "end": 31274, "loc": { "start": { "line": 941, "column": 23 }, "end": { "line": 941, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 31241, "end": 31256, "loc": { "start": { "line": 941, "column": 23 }, "end": { "line": 941, "column": 38 } }, "object": { "type": "Identifier", "start": 31241, "end": 31247, "loc": { "start": { "line": 941, "column": 23 }, "end": { "line": 941, "column": 29 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 31248, "end": 31256, "loc": { "start": { "line": 941, "column": 30 }, "end": { "line": 941, "column": 38 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 31257, "end": 31273, "loc": { "start": { "line": 941, "column": 39 }, "end": { "line": 941, "column": 55 } }, "object": { "type": "ThisExpression", "start": 31257, "end": 31261, "loc": { "start": { "line": 941, "column": 39 }, "end": { "line": 941, "column": 43 } } }, "property": { "type": "Identifier", "start": 31262, "end": 31273, "loc": { "start": { "line": 941, "column": 44 }, "end": { "line": 941, "column": 55 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 31276, "end": 31318, "loc": { "start": { "line": 941, "column": 58 }, "end": { "line": 941, "column": 100 } }, "left": { "type": "StringLiteral", "start": 31276, "end": 31299, "loc": { "start": { "line": 941, "column": 58 }, "end": { "line": 941, "column": 81 } }, "extra": { "rawValue": "Desired zoom is NaN: ", "raw": "\"Desired zoom is NaN: \"" }, "value": "Desired zoom is NaN: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 31302, "end": 31318, "loc": { "start": { "line": 941, "column": 84 }, "end": { "line": 941, "column": 100 } }, "object": { "type": "ThisExpression", "start": 31302, "end": 31306, "loc": { "start": { "line": 941, "column": 84 }, "end": { "line": 941, "column": 88 } } }, "property": { "type": "Identifier", "start": 31307, "end": 31318, "loc": { "start": { "line": 941, "column": 89 }, "end": { "line": 941, "column": 100 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false } } ] } }, { "type": "ExpressionStatement", "start": 31338, "end": 31397, "loc": { "start": { "line": 942, "column": 16 }, "end": { "line": 942, "column": 75 } }, "expression": { "type": "CallExpression", "start": 31338, "end": 31396, "loc": { "start": { "line": 942, "column": 16 }, "end": { "line": 942, "column": 74 } }, "callee": { "type": "Identifier", "start": 31338, "end": 31344, "loc": { "start": { "line": 942, "column": 16 }, "end": { "line": 942, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 31345, "end": 31366, "loc": { "start": { "line": 942, "column": 23 }, "end": { "line": 942, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 31345, "end": 31360, "loc": { "start": { "line": 942, "column": 23 }, "end": { "line": 942, "column": 38 } }, "object": { "type": "Identifier", "start": 31345, "end": 31351, "loc": { "start": { "line": 942, "column": 23 }, "end": { "line": 942, "column": 29 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 31352, "end": 31360, "loc": { "start": { "line": 942, "column": 30 }, "end": { "line": 942, "column": 38 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 31361, "end": 31365, "loc": { "start": { "line": 942, "column": 39 }, "end": { "line": 942, "column": 43 }, "identifierName": "fade" }, "name": "fade" } ] }, { "type": "BinaryExpression", "start": 31368, "end": 31395, "loc": { "start": { "line": 942, "column": 46 }, "end": { "line": 942, "column": 73 } }, "left": { "type": "StringLiteral", "start": 31368, "end": 31388, "loc": { "start": { "line": 942, "column": 46 }, "end": { "line": 942, "column": 66 } }, "extra": { "rawValue": "Zoom fade is NaN: ", "raw": "\"Zoom fade is NaN: \"" }, "value": "Zoom fade is NaN: " }, "operator": "+", "right": { "type": "Identifier", "start": 31391, "end": 31395, "loc": { "start": { "line": 942, "column": 69 }, "end": { "line": 942, "column": 73 }, "identifierName": "fade" }, "name": "fade" } } ] } }, { "type": "ExpressionStatement", "start": 31415, "end": 31486, "loc": { "start": { "line": 943, "column": 16 }, "end": { "line": 943, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 31415, "end": 31485, "loc": { "start": { "line": 943, "column": 16 }, "end": { "line": 943, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 31415, "end": 31429, "loc": { "start": { "line": 943, "column": 16 }, "end": { "line": 943, "column": 30 } }, "object": { "type": "ThisExpression", "start": 31415, "end": 31419, "loc": { "start": { "line": 943, "column": 16 }, "end": { "line": 943, "column": 20 } } }, "property": { "type": "Identifier", "start": 31420, "end": 31429, "loc": { "start": { "line": 943, "column": 21 }, "end": { "line": 943, "column": 30 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 31432, "end": 31485, "loc": { "start": { "line": 943, "column": 33 }, "end": { "line": 943, "column": 86 } }, "left": { "type": "BinaryExpression", "start": 31432, "end": 31453, "loc": { "start": { "line": 943, "column": 33 }, "end": { "line": 943, "column": 54 } }, "left": { "type": "MemberExpression", "start": 31432, "end": 31446, "loc": { "start": { "line": 943, "column": 33 }, "end": { "line": 943, "column": 47 } }, "object": { "type": "ThisExpression", "start": 31432, "end": 31436, "loc": { "start": { "line": 943, "column": 33 }, "end": { "line": 943, "column": 37 } } }, "property": { "type": "Identifier", "start": 31437, "end": 31446, "loc": { "start": { "line": 943, "column": 38 }, "end": { "line": 943, "column": 47 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "operator": "*", "right": { "type": "Identifier", "start": 31449, "end": 31453, "loc": { "start": { "line": 943, "column": 50 }, "end": { "line": 943, "column": 54 }, "identifierName": "fade" }, "name": "fade" } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 31456, "end": 31485, "loc": { "start": { "line": 943, "column": 57 }, "end": { "line": 943, "column": 86 } }, "left": { "type": "MemberExpression", "start": 31456, "end": 31472, "loc": { "start": { "line": 943, "column": 57 }, "end": { "line": 943, "column": 73 } }, "object": { "type": "ThisExpression", "start": 31456, "end": 31460, "loc": { "start": { "line": 943, "column": 57 }, "end": { "line": 943, "column": 61 } } }, "property": { "type": "Identifier", "start": 31461, "end": 31472, "loc": { "start": { "line": 943, "column": 62 }, "end": { "line": 943, "column": 73 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "operator": "*", "right": { "type": "BinaryExpression", "start": 31476, "end": 31484, "loc": { "start": { "line": 943, "column": 77 }, "end": { "line": 943, "column": 85 } }, "left": { "type": "NumericLiteral", "start": 31476, "end": 31477, "loc": { "start": { "line": 943, "column": 77 }, "end": { "line": 943, "column": 78 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "-", "right": { "type": "Identifier", "start": 31480, "end": 31484, "loc": { "start": { "line": 943, "column": 81 }, "end": { "line": 943, "column": 85 }, "identifierName": "fade" }, "name": "fade" }, "extra": { "parenthesized": true, "parenStart": 31475 } } } } } }, { "type": "ExpressionStatement", "start": 31504, "end": 31595, "loc": { "start": { "line": 944, "column": 16 }, "end": { "line": 944, "column": 107 } }, "expression": { "type": "CallExpression", "start": 31504, "end": 31594, "loc": { "start": { "line": 944, "column": 16 }, "end": { "line": 944, "column": 106 } }, "callee": { "type": "Identifier", "start": 31504, "end": 31510, "loc": { "start": { "line": 944, "column": 16 }, "end": { "line": 944, "column": 22 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "CallExpression", "start": 31511, "end": 31542, "loc": { "start": { "line": 944, "column": 23 }, "end": { "line": 944, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 31511, "end": 31526, "loc": { "start": { "line": 944, "column": 23 }, "end": { "line": 944, "column": 38 } }, "object": { "type": "Identifier", "start": 31511, "end": 31517, "loc": { "start": { "line": 944, "column": 23 }, "end": { "line": 944, "column": 29 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 31518, "end": 31526, "loc": { "start": { "line": 944, "column": 30 }, "end": { "line": 944, "column": 38 }, "identifierName": "isFinite" }, "name": "isFinite" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 31527, "end": 31541, "loc": { "start": { "line": 944, "column": 39 }, "end": { "line": 944, "column": 53 } }, "object": { "type": "ThisExpression", "start": 31527, "end": 31531, "loc": { "start": { "line": 944, "column": 39 }, "end": { "line": 944, "column": 43 } } }, "property": { "type": "Identifier", "start": 31532, "end": 31541, "loc": { "start": { "line": 944, "column": 44 }, "end": { "line": 944, "column": 53 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } ] }, { "type": "BinaryExpression", "start": 31544, "end": 31593, "loc": { "start": { "line": 944, "column": 56 }, "end": { "line": 944, "column": 105 } }, "left": { "type": "StringLiteral", "start": 31544, "end": 31576, "loc": { "start": { "line": 944, "column": 56 }, "end": { "line": 944, "column": 88 } }, "extra": { "rawValue": "Zoom level is NaN after fade: ", "raw": "\"Zoom level is NaN after fade: \"" }, "value": "Zoom level is NaN after fade: " }, "operator": "+", "right": { "type": "MemberExpression", "start": 31579, "end": 31593, "loc": { "start": { "line": 944, "column": 91 }, "end": { "line": 944, "column": 105 } }, "object": { "type": "ThisExpression", "start": 31579, "end": 31583, "loc": { "start": { "line": 944, "column": 91 }, "end": { "line": 944, "column": 95 } } }, "property": { "type": "Identifier", "start": 31584, "end": 31593, "loc": { "start": { "line": 944, "column": 96 }, "end": { "line": 944, "column": 105 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 31616, "end": 31726, "loc": { "start": { "line": 945, "column": 19 }, "end": { "line": 948, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 31635, "end": 31669, "loc": { "start": { "line": 946, "column": 16 }, "end": { "line": 946, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 31635, "end": 31668, "loc": { "start": { "line": 946, "column": 16 }, "end": { "line": 946, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 31635, "end": 31649, "loc": { "start": { "line": 946, "column": 16 }, "end": { "line": 946, "column": 30 } }, "object": { "type": "ThisExpression", "start": 31635, "end": 31639, "loc": { "start": { "line": 946, "column": 16 }, "end": { "line": 946, "column": 20 } } }, "property": { "type": "Identifier", "start": 31640, "end": 31649, "loc": { "start": { "line": 946, "column": 21 }, "end": { "line": 946, "column": 30 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false }, "right": { "type": "MemberExpression", "start": 31652, "end": 31668, "loc": { "start": { "line": 946, "column": 33 }, "end": { "line": 946, "column": 49 } }, "object": { "type": "ThisExpression", "start": 31652, "end": 31656, "loc": { "start": { "line": 946, "column": 33 }, "end": { "line": 946, "column": 37 } } }, "property": { "type": "Identifier", "start": 31657, "end": 31668, "loc": { "start": { "line": 946, "column": 38 }, "end": { "line": 946, "column": 49 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 31687, "end": 31711, "loc": { "start": { "line": 947, "column": 16 }, "end": { "line": 947, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 31687, "end": 31710, "loc": { "start": { "line": 947, "column": 16 }, "end": { "line": 947, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 31687, "end": 31703, "loc": { "start": { "line": 947, "column": 16 }, "end": { "line": 947, "column": 32 } }, "object": { "type": "ThisExpression", "start": 31687, "end": 31691, "loc": { "start": { "line": 947, "column": 16 }, "end": { "line": 947, "column": 20 } } }, "property": { "type": "Identifier", "start": 31692, "end": 31703, "loc": { "start": { "line": 947, "column": 21 }, "end": { "line": 947, "column": 32 }, "identifierName": "desiredZoom" }, "name": "desiredZoom" }, "computed": false }, "right": { "type": "NullLiteral", "start": 31706, "end": 31710, "loc": { "start": { "line": 947, "column": 35 }, "end": { "line": 947, "column": 39 } } } } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction zooming\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 30688, "end": 30835, "loc": { "start": { "line": 926, "column": 4 }, "end": { "line": 930, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction centering\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 31752, "end": 31901, "loc": { "start": { "line": 952, "column": 4 }, "end": { "line": 956, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 31907, "end": 32483, "loc": { "start": { "line": 957, "column": 4 }, "end": { "line": 970, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 31907, "end": 31930, "loc": { "start": { "line": 957, "column": 4 }, "end": { "line": 957, "column": 27 }, "identifierName": "internalUpdateCentering" }, "name": "internalUpdateCentering", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 31931, "end": 31934, "loc": { "start": { "line": 957, "column": 28 }, "end": { "line": 957, "column": 31 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 31936, "end": 31938, "loc": { "start": { "line": 957, "column": 33 }, "end": { "line": 957, "column": 35 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 31940, "end": 32483, "loc": { "start": { "line": 957, "column": 37 }, "end": { "line": 970, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 31951, "end": 32476, "loc": { "start": { "line": 958, "column": 8 }, "end": { "line": 969, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 31955, "end": 32007, "loc": { "start": { "line": 958, "column": 12 }, "end": { "line": 958, "column": 64 } }, "left": { "type": "UnaryExpression", "start": 31955, "end": 31976, "loc": { "start": { "line": 958, "column": 12 }, "end": { "line": 958, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 31956, "end": 31976, "loc": { "start": { "line": 958, "column": 13 }, "end": { "line": 958, "column": 33 } }, "object": { "type": "ThisExpression", "start": 31956, "end": 31960, "loc": { "start": { "line": 958, "column": 13 }, "end": { "line": 958, "column": 17 } } }, "property": { "type": "Identifier", "start": 31961, "end": 31976, "loc": { "start": { "line": 958, "column": 18 }, "end": { "line": 958, "column": 33 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 31980, "end": 32007, "loc": { "start": { "line": 958, "column": 37 }, "end": { "line": 958, "column": 64 } }, "left": { "type": "MemberExpression", "start": 31980, "end": 31998, "loc": { "start": { "line": 958, "column": 37 }, "end": { "line": 958, "column": 55 } }, "object": { "type": "ThisExpression", "start": 31980, "end": 31984, "loc": { "start": { "line": 958, "column": 37 }, "end": { "line": 958, "column": 41 } } }, "property": { "type": "Identifier", "start": 31985, "end": 31998, "loc": { "start": { "line": 958, "column": 42 }, "end": { "line": 958, "column": 55 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "!==", "right": { "type": "NullLiteral", "start": 32003, "end": 32007, "loc": { "start": { "line": 958, "column": 60 }, "end": { "line": 958, "column": 64 } } } } }, "consequent": { "type": "BlockStatement", "start": 32009, "end": 32476, "loc": { "start": { "line": 958, "column": 66 }, "end": { "line": 969, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 32024, "end": 32079, "loc": { "start": { "line": 959, "column": 12 }, "end": { "line": 959, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32030, "end": 32078, "loc": { "start": { "line": 959, "column": 18 }, "end": { "line": 959, "column": 66 } }, "id": { "type": "Identifier", "start": 32030, "end": 32034, "loc": { "start": { "line": 959, "column": 18 }, "end": { "line": 959, "column": 22 }, "identifierName": "diff" }, "name": "diff" }, "init": { "type": "CallExpression", "start": 32037, "end": 32078, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 32037, "end": 32058, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "column": 46 } }, "object": { "type": "MemberExpression", "start": 32037, "end": 32048, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "column": 36 } }, "object": { "type": "ThisExpression", "start": 32037, "end": 32041, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "column": 29 } } }, "property": { "type": "Identifier", "start": 32042, "end": 32048, "loc": { "start": { "line": 959, "column": 30 }, "end": { "line": 959, "column": 36 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 32049, "end": 32058, "loc": { "start": { "line": 959, "column": 37 }, "end": { "line": 959, "column": 46 }, "identifierName": "direction" }, "name": "direction" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 32059, "end": 32077, "loc": { "start": { "line": 959, "column": 47 }, "end": { "line": 959, "column": 65 } }, "object": { "type": "ThisExpression", "start": 32059, "end": 32063, "loc": { "start": { "line": 959, "column": 47 }, "end": { "line": 959, "column": 51 } } }, "property": { "type": "Identifier", "start": 32064, "end": 32077, "loc": { "start": { "line": 959, "column": 52 }, "end": { "line": 959, "column": 65 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 32093, "end": 32122, "loc": { "start": { "line": 960, "column": 12 }, "end": { "line": 960, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32099, "end": 32121, "loc": { "start": { "line": 960, "column": 18 }, "end": { "line": 960, "column": 40 } }, "id": { "type": "Identifier", "start": 32099, "end": 32105, "loc": { "start": { "line": 960, "column": 18 }, "end": { "line": 960, "column": 24 }, "identifierName": "length" }, "name": "length" }, "init": { "type": "CallExpression", "start": 32108, "end": 32121, "loc": { "start": { "line": 960, "column": 27 }, "end": { "line": 960, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 32108, "end": 32119, "loc": { "start": { "line": 960, "column": 27 }, "end": { "line": 960, "column": 38 } }, "object": { "type": "Identifier", "start": 32108, "end": 32112, "loc": { "start": { "line": 960, "column": 27 }, "end": { "line": 960, "column": 31 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 32113, "end": 32119, "loc": { "start": { "line": 960, "column": 32 }, "end": { "line": 960, "column": 38 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 32136, "end": 32173, "loc": { "start": { "line": 961, "column": 12 }, "end": { "line": 961, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32142, "end": 32172, "loc": { "start": { "line": 961, "column": 18 }, "end": { "line": 961, "column": 48 } }, "id": { "type": "Identifier", "start": 32142, "end": 32151, "loc": { "start": { "line": 961, "column": 18 }, "end": { "line": 961, "column": 27 }, "identifierName": "tolerance" }, "name": "tolerance" }, "init": { "type": "BinaryExpression", "start": 32154, "end": 32172, "loc": { "start": { "line": 961, "column": 30 }, "end": { "line": 961, "column": 48 } }, "left": { "type": "NumericLiteral", "start": 32154, "end": 32155, "loc": { "start": { "line": 961, "column": 30 }, "end": { "line": 961, "column": 31 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "MemberExpression", "start": 32158, "end": 32172, "loc": { "start": { "line": 961, "column": 34 }, "end": { "line": 961, "column": 48 } }, "object": { "type": "ThisExpression", "start": 32158, "end": 32162, "loc": { "start": { "line": 961, "column": 34 }, "end": { "line": 961, "column": 38 } } }, "property": { "type": "Identifier", "start": 32163, "end": 32172, "loc": { "start": { "line": 961, "column": 39 }, "end": { "line": 961, "column": 48 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 32187, "end": 32465, "loc": { "start": { "line": 962, "column": 12 }, "end": { "line": 968, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 32191, "end": 32209, "loc": { "start": { "line": 962, "column": 16 }, "end": { "line": 962, "column": 34 } }, "left": { "type": "Identifier", "start": 32191, "end": 32197, "loc": { "start": { "line": 962, "column": 16 }, "end": { "line": 962, "column": 22 }, "identifierName": "length" }, "name": "length" }, "operator": ">", "right": { "type": "Identifier", "start": 32200, "end": 32209, "loc": { "start": { "line": 962, "column": 25 }, "end": { "line": 962, "column": 34 }, "identifierName": "tolerance" }, "name": "tolerance" } }, "consequent": { "type": "BlockStatement", "start": 32211, "end": 32399, "loc": { "start": { "line": 962, "column": 36 }, "end": { "line": 966, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 32230, "end": 32292, "loc": { "start": { "line": 963, "column": 16 }, "end": { "line": 963, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32236, "end": 32291, "loc": { "start": { "line": 963, "column": 22 }, "end": { "line": 963, "column": 77 } }, "id": { "type": "Identifier", "start": 32236, "end": 32244, "loc": { "start": { "line": 963, "column": 22 }, "end": { "line": 963, "column": 30 }, "identifierName": "movement" }, "name": "movement" }, "init": { "type": "CallExpression", "start": 32247, "end": 32291, "loc": { "start": { "line": 963, "column": 33 }, "end": { "line": 963, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 32247, "end": 32266, "loc": { "start": { "line": 963, "column": 33 }, "end": { "line": 963, "column": 52 } }, "object": { "type": "Identifier", "start": 32247, "end": 32251, "loc": { "start": { "line": 963, "column": 33 }, "end": { "line": 963, "column": 37 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 32252, "end": 32266, "loc": { "start": { "line": 963, "column": 38 }, "end": { "line": 963, "column": 52 }, "identifierName": "multiplyScalar" }, "name": "multiplyScalar" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 32267, "end": 32290, "loc": { "start": { "line": 963, "column": 53 }, "end": { "line": 963, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 32267, "end": 32275, "loc": { "start": { "line": 963, "column": 53 }, "end": { "line": 963, "column": 61 } }, "object": { "type": "Identifier", "start": 32267, "end": 32271, "loc": { "start": { "line": 963, "column": 53 }, "end": { "line": 963, "column": 57 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 32272, "end": 32275, "loc": { "start": { "line": 963, "column": 58 }, "end": { "line": 963, "column": 61 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 32276, "end": 32277, "loc": { "start": { "line": 963, "column": 62 }, "end": { "line": 963, "column": 63 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "BinaryExpression", "start": 32279, "end": 32289, "loc": { "start": { "line": 963, "column": 65 }, "end": { "line": 963, "column": 75 } }, "left": { "type": "Identifier", "start": 32279, "end": 32281, "loc": { "start": { "line": 963, "column": 65 }, "end": { "line": 963, "column": 67 }, "identifierName": "dt" }, "name": "dt" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 32284, "end": 32289, "loc": { "start": { "line": 963, "column": 70 }, "end": { "line": 963, "column": 75 } }, "extra": { "rawValue": 0.008, "raw": "0.008" }, "value": 0.008 } } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 32310, "end": 32338, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 32310, "end": 32337, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 43 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 32310, "end": 32323, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 29 } }, "object": { "type": "MemberExpression", "start": 32310, "end": 32321, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 27 } }, "object": { "type": "ThisExpression", "start": 32310, "end": 32314, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 20 } } }, "property": { "type": "Identifier", "start": 32315, "end": 32321, "loc": { "start": { "line": 964, "column": 21 }, "end": { "line": 964, "column": 27 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 32322, "end": 32323, "loc": { "start": { "line": 964, "column": 28 }, "end": { "line": 964, "column": 29 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "MemberExpression", "start": 32327, "end": 32337, "loc": { "start": { "line": 964, "column": 33 }, "end": { "line": 964, "column": 43 } }, "object": { "type": "Identifier", "start": 32327, "end": 32335, "loc": { "start": { "line": 964, "column": 33 }, "end": { "line": 964, "column": 41 }, "identifierName": "movement" }, "name": "movement" }, "property": { "type": "Identifier", "start": 32336, "end": 32337, "loc": { "start": { "line": 964, "column": 42 }, "end": { "line": 964, "column": 43 }, "identifierName": "x" }, "name": "x" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 32356, "end": 32384, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 32356, "end": 32383, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 43 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 32356, "end": 32369, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 29 } }, "object": { "type": "MemberExpression", "start": 32356, "end": 32367, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 27 } }, "object": { "type": "ThisExpression", "start": 32356, "end": 32360, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 20 } } }, "property": { "type": "Identifier", "start": 32361, "end": 32367, "loc": { "start": { "line": 965, "column": 21 }, "end": { "line": 965, "column": 27 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 32368, "end": 32369, "loc": { "start": { "line": 965, "column": 28 }, "end": { "line": 965, "column": 29 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "MemberExpression", "start": 32373, "end": 32383, "loc": { "start": { "line": 965, "column": 33 }, "end": { "line": 965, "column": 43 } }, "object": { "type": "Identifier", "start": 32373, "end": 32381, "loc": { "start": { "line": 965, "column": 33 }, "end": { "line": 965, "column": 41 }, "identifierName": "movement" }, "name": "movement" }, "property": { "type": "Identifier", "start": 32382, "end": 32383, "loc": { "start": { "line": 965, "column": 42 }, "end": { "line": 965, "column": 43 }, "identifierName": "y" }, "name": "y" }, "computed": false } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 32405, "end": 32465, "loc": { "start": { "line": 966, "column": 19 }, "end": { "line": 968, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 32424, "end": 32450, "loc": { "start": { "line": 967, "column": 16 }, "end": { "line": 967, "column": 42 } }, "expression": { "type": "AssignmentExpression", "start": 32424, "end": 32449, "loc": { "start": { "line": 967, "column": 16 }, "end": { "line": 967, "column": 41 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 32424, "end": 32442, "loc": { "start": { "line": 967, "column": 16 }, "end": { "line": 967, "column": 34 } }, "object": { "type": "ThisExpression", "start": 32424, "end": 32428, "loc": { "start": { "line": 967, "column": 16 }, "end": { "line": 967, "column": 20 } } }, "property": { "type": "Identifier", "start": 32429, "end": 32442, "loc": { "start": { "line": 967, "column": 21 }, "end": { "line": 967, "column": 34 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "right": { "type": "NullLiteral", "start": 32445, "end": 32449, "loc": { "start": { "line": 967, "column": 37 }, "end": { "line": 967, "column": 41 } } } } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction centering\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 31752, "end": 31901, "loc": { "start": { "line": 952, "column": 4 }, "end": { "line": 956, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the keyboard forces\r\n * @param {number} now\r\n * @param {number} dt Delta time\r\n ", "start": 32491, "end": 32605, "loc": { "start": { "line": 972, "column": 4 }, "end": { "line": 976, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 32611, "end": 33897, "loc": { "start": { "line": 977, "column": 4 }, "end": { "line": 1010, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 32611, "end": 32638, "loc": { "start": { "line": 977, "column": 4 }, "end": { "line": 977, "column": 31 }, "identifierName": "internalUpdateKeyboardForce" }, "name": "internalUpdateKeyboardForce", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 32639, "end": 32642, "loc": { "start": { "line": 977, "column": 32 }, "end": { "line": 977, "column": 35 }, "identifierName": "now" }, "name": "now" }, { "type": "Identifier", "start": 32644, "end": 32646, "loc": { "start": { "line": 977, "column": 37 }, "end": { "line": 977, "column": 39 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 32648, "end": 33897, "loc": { "start": { "line": 977, "column": 41 }, "end": { "line": 1010, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 32659, "end": 33890, "loc": { "start": { "line": 978, "column": 8 }, "end": { "line": 1009, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 32663, "end": 32714, "loc": { "start": { "line": 978, "column": 12 }, "end": { "line": 978, "column": 63 } }, "left": { "type": "UnaryExpression", "start": 32663, "end": 32684, "loc": { "start": { "line": 978, "column": 12 }, "end": { "line": 978, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 32664, "end": 32684, "loc": { "start": { "line": 978, "column": 13 }, "end": { "line": 978, "column": 33 } }, "object": { "type": "ThisExpression", "start": 32664, "end": 32668, "loc": { "start": { "line": 978, "column": 13 }, "end": { "line": 978, "column": 17 } } }, "property": { "type": "Identifier", "start": 32669, "end": 32684, "loc": { "start": { "line": 978, "column": 18 }, "end": { "line": 978, "column": 33 }, "identifierName": "currentlyMoving" }, "name": "currentlyMoving" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 32688, "end": 32714, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 63 } }, "left": { "type": "MemberExpression", "start": 32688, "end": 32706, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 55 } }, "object": { "type": "ThisExpression", "start": 32688, "end": 32692, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 41 } } }, "property": { "type": "Identifier", "start": 32693, "end": 32706, "loc": { "start": { "line": 978, "column": 42 }, "end": { "line": 978, "column": 55 }, "identifierName": "desiredCenter" }, "name": "desiredCenter" }, "computed": false }, "operator": "==", "right": { "type": "NullLiteral", "start": 32710, "end": 32714, "loc": { "start": { "line": 978, "column": 59 }, "end": { "line": 978, "column": 63 } } } } }, "consequent": { "type": "BlockStatement", "start": 32716, "end": 33890, "loc": { "start": { "line": 978, "column": 65 }, "end": { "line": 1009, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 32731, "end": 32809, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 90 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32737, "end": 32808, "loc": { "start": { "line": 979, "column": 18 }, "end": { "line": 979, "column": 89 } }, "id": { "type": "Identifier", "start": 32737, "end": 32754, "loc": { "start": { "line": 979, "column": 18 }, "end": { "line": 979, "column": 35 }, "identifierName": "limitingDimension" }, "name": "limitingDimension" }, "init": { "type": "CallExpression", "start": 32757, "end": 32808, "loc": { "start": { "line": 979, "column": 38 }, "end": { "line": 979, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 32757, "end": 32765, "loc": { "start": { "line": 979, "column": 38 }, "end": { "line": 979, "column": 46 } }, "object": { "type": "Identifier", "start": 32757, "end": 32761, "loc": { "start": { "line": 979, "column": 38 }, "end": { "line": 979, "column": 42 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 32762, "end": 32765, "loc": { "start": { "line": 979, "column": 43 }, "end": { "line": 979, "column": 46 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 32766, "end": 32785, "loc": { "start": { "line": 979, "column": 47 }, "end": { "line": 979, "column": 66 } }, "object": { "type": "MemberExpression", "start": 32766, "end": 32775, "loc": { "start": { "line": 979, "column": 47 }, "end": { "line": 979, "column": 56 } }, "object": { "type": "ThisExpression", "start": 32766, "end": 32770, "loc": { "start": { "line": 979, "column": 47 }, "end": { "line": 979, "column": 51 } } }, "property": { "type": "Identifier", "start": 32771, "end": 32775, "loc": { "start": { "line": 979, "column": 52 }, "end": { "line": 979, "column": 56 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 32776, "end": 32785, "loc": { "start": { "line": 979, "column": 57 }, "end": { "line": 979, "column": 66 }, "identifierName": "gameWidth" }, "name": "gameWidth" }, "computed": false }, { "type": "MemberExpression", "start": 32787, "end": 32807, "loc": { "start": { "line": 979, "column": 68 }, "end": { "line": 979, "column": 88 } }, "object": { "type": "MemberExpression", "start": 32787, "end": 32796, "loc": { "start": { "line": 979, "column": 68 }, "end": { "line": 979, "column": 77 } }, "object": { "type": "ThisExpression", "start": 32787, "end": 32791, "loc": { "start": { "line": 979, "column": 68 }, "end": { "line": 979, "column": 72 } } }, "property": { "type": "Identifier", "start": 32792, "end": 32796, "loc": { "start": { "line": 979, "column": 73 }, "end": { "line": 979, "column": 77 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 32797, "end": 32807, "loc": { "start": { "line": 979, "column": 78 }, "end": { "line": 979, "column": 88 }, "identifierName": "gameHeight" }, "name": "gameHeight" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 32825, "end": 32895, "loc": { "start": { "line": 981, "column": 12 }, "end": { "line": 981, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32831, "end": 32894, "loc": { "start": { "line": 981, "column": 18 }, "end": { "line": 981, "column": 81 } }, "id": { "type": "Identifier", "start": 32831, "end": 32841, "loc": { "start": { "line": 981, "column": 18 }, "end": { "line": 981, "column": 28 }, "identifierName": "moveAmount" }, "name": "moveAmount" }, "init": { "type": "BinaryExpression", "start": 32844, "end": 32894, "loc": { "start": { "line": 981, "column": 31 }, "end": { "line": 981, "column": 81 } }, "left": { "type": "BinaryExpression", "start": 32845, "end": 32876, "loc": { "start": { "line": 981, "column": 32 }, "end": { "line": 981, "column": 63 } }, "left": { "type": "BinaryExpression", "start": 32846, "end": 32870, "loc": { "start": { "line": 981, "column": 33 }, "end": { "line": 981, "column": 57 } }, "left": { "type": "Identifier", "start": 32846, "end": 32863, "loc": { "start": { "line": 981, "column": 33 }, "end": { "line": 981, "column": 50 }, "identifierName": "limitingDimension" }, "name": "limitingDimension" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 32866, "end": 32870, "loc": { "start": { "line": 981, "column": 53 }, "end": { "line": 981, "column": 57 } }, "extra": { "rawValue": 2048, "raw": "2048" }, "value": 2048 }, "extra": { "parenthesized": true, "parenStart": 32845 } }, "operator": "*", "right": { "type": "Identifier", "start": 32874, "end": 32876, "loc": { "start": { "line": 981, "column": 61 }, "end": { "line": 981, "column": 63 }, "identifierName": "dt" }, "name": "dt" }, "extra": { "parenthesized": true, "parenStart": 32844 } }, "operator": "/", "right": { "type": "MemberExpression", "start": 32880, "end": 32894, "loc": { "start": { "line": 981, "column": 67 }, "end": { "line": 981, "column": 81 } }, "object": { "type": "ThisExpression", "start": 32880, "end": 32884, "loc": { "start": { "line": 981, "column": 67 }, "end": { "line": 981, "column": 71 } } }, "property": { "type": "Identifier", "start": 32885, "end": 32894, "loc": { "start": { "line": 981, "column": 72 }, "end": { "line": 981, "column": 81 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 32911, "end": 32926, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 983, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32915, "end": 32925, "loc": { "start": { "line": 983, "column": 16 }, "end": { "line": 983, "column": 26 } }, "id": { "type": "Identifier", "start": 32915, "end": 32921, "loc": { "start": { "line": 983, "column": 16 }, "end": { "line": 983, "column": 22 }, "identifierName": "forceX" }, "name": "forceX" }, "init": { "type": "NumericLiteral", "start": 32924, "end": 32925, "loc": { "start": { "line": 983, "column": 25 }, "end": { "line": 983, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 32940, "end": 32955, "loc": { "start": { "line": 984, "column": 12 }, "end": { "line": 984, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32944, "end": 32954, "loc": { "start": { "line": 984, "column": 16 }, "end": { "line": 984, "column": 26 } }, "id": { "type": "Identifier", "start": 32944, "end": 32950, "loc": { "start": { "line": 984, "column": 16 }, "end": { "line": 984, "column": 22 }, "identifierName": "forceY" }, "name": "forceY" }, "init": { "type": "NumericLiteral", "start": 32953, "end": 32954, "loc": { "start": { "line": 984, "column": 25 }, "end": { "line": 984, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 32971, "end": 33012, "loc": { "start": { "line": 986, "column": 12 }, "end": { "line": 986, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 32977, "end": 33011, "loc": { "start": { "line": 986, "column": 18 }, "end": { "line": 986, "column": 52 } }, "id": { "type": "Identifier", "start": 32977, "end": 32989, "loc": { "start": { "line": 986, "column": 18 }, "end": { "line": 986, "column": 30 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "init": { "type": "MemberExpression", "start": 32992, "end": 33011, "loc": { "start": { "line": 986, "column": 33 }, "end": { "line": 986, "column": 52 } }, "object": { "type": "MemberExpression", "start": 32992, "end": 33001, "loc": { "start": { "line": 986, "column": 33 }, "end": { "line": 986, "column": 42 } }, "object": { "type": "ThisExpression", "start": 32992, "end": 32996, "loc": { "start": { "line": 986, "column": 33 }, "end": { "line": 986, "column": 37 } } }, "property": { "type": "Identifier", "start": 32997, "end": 33001, "loc": { "start": { "line": 986, "column": 38 }, "end": { "line": 986, "column": 42 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 33002, "end": 33011, "loc": { "start": { "line": 986, "column": 43 }, "end": { "line": 986, "column": 52 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 33026, "end": 33143, "loc": { "start": { "line": 987, "column": 12 }, "end": { "line": 989, "column": 13 } }, "test": { "type": "MemberExpression", "start": 33030, "end": 33095, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 81 } }, "object": { "type": "CallExpression", "start": 33030, "end": 33087, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 33030, "end": 33053, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 39 } }, "object": { "type": "Identifier", "start": 33030, "end": 33042, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 28 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "property": { "type": "Identifier", "start": 33043, "end": 33053, "loc": { "start": { "line": 987, "column": 29 }, "end": { "line": 987, "column": 39 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 33054, "end": 33086, "loc": { "start": { "line": 987, "column": 40 }, "end": { "line": 987, "column": 72 } }, "object": { "type": "MemberExpression", "start": 33054, "end": 33076, "loc": { "start": { "line": 987, "column": 40 }, "end": { "line": 987, "column": 62 } }, "object": { "type": "Identifier", "start": 33054, "end": 33065, "loc": { "start": { "line": 987, "column": 40 }, "end": { "line": 987, "column": 51 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 33066, "end": 33076, "loc": { "start": { "line": 987, "column": 52 }, "end": { "line": 987, "column": 62 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 33077, "end": 33086, "loc": { "start": { "line": 987, "column": 63 }, "end": { "line": 987, "column": 72 }, "identifierName": "mapMoveUp" }, "name": "mapMoveUp" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 33088, "end": 33095, "loc": { "start": { "line": 987, "column": 74 }, "end": { "line": 987, "column": 81 }, "identifierName": "pressed" }, "name": "pressed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 33097, "end": 33143, "loc": { "start": { "line": 987, "column": 83 }, "end": { "line": 989, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 33116, "end": 33128, "loc": { "start": { "line": 988, "column": 16 }, "end": { "line": 988, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 33116, "end": 33127, "loc": { "start": { "line": 988, "column": 16 }, "end": { "line": 988, "column": 27 } }, "operator": "-=", "left": { "type": "Identifier", "start": 33116, "end": 33122, "loc": { "start": { "line": 988, "column": 16 }, "end": { "line": 988, "column": 22 }, "identifierName": "forceY" }, "name": "forceY" }, "right": { "type": "NumericLiteral", "start": 33126, "end": 33127, "loc": { "start": { "line": 988, "column": 26 }, "end": { "line": 988, "column": 27 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 33159, "end": 33278, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 993, "column": 13 } }, "test": { "type": "MemberExpression", "start": 33163, "end": 33230, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 83 } }, "object": { "type": "CallExpression", "start": 33163, "end": 33222, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 33163, "end": 33186, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 39 } }, "object": { "type": "Identifier", "start": 33163, "end": 33175, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 28 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "property": { "type": "Identifier", "start": 33176, "end": 33186, "loc": { "start": { "line": 991, "column": 29 }, "end": { "line": 991, "column": 39 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 33187, "end": 33221, "loc": { "start": { "line": 991, "column": 40 }, "end": { "line": 991, "column": 74 } }, "object": { "type": "MemberExpression", "start": 33187, "end": 33209, "loc": { "start": { "line": 991, "column": 40 }, "end": { "line": 991, "column": 62 } }, "object": { "type": "Identifier", "start": 33187, "end": 33198, "loc": { "start": { "line": 991, "column": 40 }, "end": { "line": 991, "column": 51 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 33199, "end": 33209, "loc": { "start": { "line": 991, "column": 52 }, "end": { "line": 991, "column": 62 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 33210, "end": 33221, "loc": { "start": { "line": 991, "column": 63 }, "end": { "line": 991, "column": 74 }, "identifierName": "mapMoveDown" }, "name": "mapMoveDown" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 33223, "end": 33230, "loc": { "start": { "line": 991, "column": 76 }, "end": { "line": 991, "column": 83 }, "identifierName": "pressed" }, "name": "pressed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 33232, "end": 33278, "loc": { "start": { "line": 991, "column": 85 }, "end": { "line": 993, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 33251, "end": 33263, "loc": { "start": { "line": 992, "column": 16 }, "end": { "line": 992, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 33251, "end": 33262, "loc": { "start": { "line": 992, "column": 16 }, "end": { "line": 992, "column": 27 } }, "operator": "+=", "left": { "type": "Identifier", "start": 33251, "end": 33257, "loc": { "start": { "line": 992, "column": 16 }, "end": { "line": 992, "column": 22 }, "identifierName": "forceY" }, "name": "forceY" }, "right": { "type": "NumericLiteral", "start": 33261, "end": 33262, "loc": { "start": { "line": 992, "column": 26 }, "end": { "line": 992, "column": 27 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 33294, "end": 33413, "loc": { "start": { "line": 995, "column": 12 }, "end": { "line": 997, "column": 13 } }, "test": { "type": "MemberExpression", "start": 33298, "end": 33365, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 83 } }, "object": { "type": "CallExpression", "start": 33298, "end": 33357, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 33298, "end": 33321, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 39 } }, "object": { "type": "Identifier", "start": 33298, "end": 33310, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 28 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "property": { "type": "Identifier", "start": 33311, "end": 33321, "loc": { "start": { "line": 995, "column": 29 }, "end": { "line": 995, "column": 39 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 33322, "end": 33356, "loc": { "start": { "line": 995, "column": 40 }, "end": { "line": 995, "column": 74 } }, "object": { "type": "MemberExpression", "start": 33322, "end": 33344, "loc": { "start": { "line": 995, "column": 40 }, "end": { "line": 995, "column": 62 } }, "object": { "type": "Identifier", "start": 33322, "end": 33333, "loc": { "start": { "line": 995, "column": 40 }, "end": { "line": 995, "column": 51 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 33334, "end": 33344, "loc": { "start": { "line": 995, "column": 52 }, "end": { "line": 995, "column": 62 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 33345, "end": 33356, "loc": { "start": { "line": 995, "column": 63 }, "end": { "line": 995, "column": 74 }, "identifierName": "mapMoveLeft" }, "name": "mapMoveLeft" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 33358, "end": 33365, "loc": { "start": { "line": 995, "column": 76 }, "end": { "line": 995, "column": 83 }, "identifierName": "pressed" }, "name": "pressed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 33367, "end": 33413, "loc": { "start": { "line": 995, "column": 85 }, "end": { "line": 997, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 33386, "end": 33398, "loc": { "start": { "line": 996, "column": 16 }, "end": { "line": 996, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 33386, "end": 33397, "loc": { "start": { "line": 996, "column": 16 }, "end": { "line": 996, "column": 27 } }, "operator": "-=", "left": { "type": "Identifier", "start": 33386, "end": 33392, "loc": { "start": { "line": 996, "column": 16 }, "end": { "line": 996, "column": 22 }, "identifierName": "forceX" }, "name": "forceX" }, "right": { "type": "NumericLiteral", "start": 33396, "end": 33397, "loc": { "start": { "line": 996, "column": 26 }, "end": { "line": 996, "column": 27 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 33429, "end": 33549, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 1001, "column": 13 } }, "test": { "type": "MemberExpression", "start": 33433, "end": 33501, "loc": { "start": { "line": 999, "column": 16 }, "end": { "line": 999, "column": 84 } }, "object": { "type": "CallExpression", "start": 33433, "end": 33493, "loc": { "start": { "line": 999, "column": 16 }, "end": { "line": 999, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 33433, "end": 33456, "loc": { "start": { "line": 999, "column": 16 }, "end": { "line": 999, "column": 39 } }, "object": { "type": "Identifier", "start": 33433, "end": 33445, "loc": { "start": { "line": 999, "column": 16 }, "end": { "line": 999, "column": 28 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "property": { "type": "Identifier", "start": 33446, "end": 33456, "loc": { "start": { "line": 999, "column": 29 }, "end": { "line": 999, "column": 39 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 33457, "end": 33492, "loc": { "start": { "line": 999, "column": 40 }, "end": { "line": 999, "column": 75 } }, "object": { "type": "MemberExpression", "start": 33457, "end": 33479, "loc": { "start": { "line": 999, "column": 40 }, "end": { "line": 999, "column": 62 } }, "object": { "type": "Identifier", "start": 33457, "end": 33468, "loc": { "start": { "line": 999, "column": 40 }, "end": { "line": 999, "column": 51 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 33469, "end": 33479, "loc": { "start": { "line": 999, "column": 52 }, "end": { "line": 999, "column": 62 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 33480, "end": 33492, "loc": { "start": { "line": 999, "column": 63 }, "end": { "line": 999, "column": 75 }, "identifierName": "mapMoveRight" }, "name": "mapMoveRight" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 33494, "end": 33501, "loc": { "start": { "line": 999, "column": 77 }, "end": { "line": 999, "column": 84 }, "identifierName": "pressed" }, "name": "pressed" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 33503, "end": 33549, "loc": { "start": { "line": 999, "column": 86 }, "end": { "line": 1001, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 33522, "end": 33534, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 33522, "end": 33533, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 27 } }, "operator": "+=", "left": { "type": "Identifier", "start": 33522, "end": 33528, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 22 }, "identifierName": "forceX" }, "name": "forceX" }, "right": { "type": "NumericLiteral", "start": 33532, "end": 33533, "loc": { "start": { "line": 1000, "column": 26 }, "end": { "line": 1000, "column": 27 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 33565, "end": 33743, "loc": { "start": { "line": 1003, "column": 12 }, "end": { "line": 1005, "column": 96 } }, "declarations": [ { "type": "VariableDeclarator", "start": 33569, "end": 33742, "loc": { "start": { "line": 1003, "column": 16 }, "end": { "line": 1005, "column": 95 } }, "id": { "type": "Identifier", "start": 33569, "end": 33582, "loc": { "start": { "line": 1003, "column": 16 }, "end": { "line": 1003, "column": 29 }, "identifierName": "movementSpeed" }, "name": "movementSpeed" }, "init": { "type": "BinaryExpression", "start": 33602, "end": 33742, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1005, "column": 95 } }, "left": { "type": "CallExpression", "start": 33602, "end": 33643, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 33602, "end": 33641, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 55 } }, "object": { "type": "MemberExpression", "start": 33602, "end": 33624, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 38 } }, "object": { "type": "MemberExpression", "start": 33602, "end": 33615, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 29 } }, "object": { "type": "MemberExpression", "start": 33602, "end": 33611, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 25 } }, "object": { "type": "ThisExpression", "start": 33602, "end": 33606, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 20 } } }, "property": { "type": "Identifier", "start": 33607, "end": 33611, "loc": { "start": { "line": 1004, "column": 21 }, "end": { "line": 1004, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 33612, "end": 33615, "loc": { "start": { "line": 1004, "column": 26 }, "end": { "line": 1004, "column": 29 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 33616, "end": 33624, "loc": { "start": { "line": 1004, "column": 30 }, "end": { "line": 1004, "column": 38 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 33625, "end": 33641, "loc": { "start": { "line": 1004, "column": 39 }, "end": { "line": 1004, "column": 55 }, "identifierName": "getMovementSpeed" }, "name": "getMovementSpeed" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "ConditionalExpression", "start": 33664, "end": 33741, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 94 } }, "test": { "type": "MemberExpression", "start": 33664, "end": 33733, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 86 } }, "object": { "type": "CallExpression", "start": 33664, "end": 33725, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 33664, "end": 33687, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 40 } }, "object": { "type": "Identifier", "start": 33664, "end": 33676, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 29 }, "identifierName": "actionMapper" }, "name": "actionMapper" }, "property": { "type": "Identifier", "start": 33677, "end": 33687, "loc": { "start": { "line": 1005, "column": 30 }, "end": { "line": 1005, "column": 40 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 33688, "end": 33724, "loc": { "start": { "line": 1005, "column": 41 }, "end": { "line": 1005, "column": 77 } }, "object": { "type": "MemberExpression", "start": 33688, "end": 33710, "loc": { "start": { "line": 1005, "column": 41 }, "end": { "line": 1005, "column": 63 } }, "object": { "type": "Identifier", "start": 33688, "end": 33699, "loc": { "start": { "line": 1005, "column": 41 }, "end": { "line": 1005, "column": 52 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 33700, "end": 33710, "loc": { "start": { "line": 1005, "column": 53 }, "end": { "line": 1005, "column": 63 }, "identifierName": "navigation" }, "name": "navigation" }, "computed": false }, "property": { "type": "Identifier", "start": 33711, "end": 33724, "loc": { "start": { "line": 1005, "column": 64 }, "end": { "line": 1005, "column": 77 }, "identifierName": "mapMoveFaster" }, "name": "mapMoveFaster" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 33726, "end": 33733, "loc": { "start": { "line": 1005, "column": 79 }, "end": { "line": 1005, "column": 86 }, "identifierName": "pressed" }, "name": "pressed" }, "computed": false }, "consequent": { "type": "NumericLiteral", "start": 33736, "end": 33737, "loc": { "start": { "line": 1005, "column": 89 }, "end": { "line": 1005, "column": 90 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "alternate": { "type": "NumericLiteral", "start": 33740, "end": 33741, "loc": { "start": { "line": 1005, "column": 93 }, "end": { "line": 1005, "column": 94 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesized": true, "parenStart": 33663 } } } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 33759, "end": 33812, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 33759, "end": 33811, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 64 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 33759, "end": 33772, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 25 } }, "object": { "type": "MemberExpression", "start": 33759, "end": 33770, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 23 } }, "object": { "type": "ThisExpression", "start": 33759, "end": 33763, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 16 } } }, "property": { "type": "Identifier", "start": 33764, "end": 33770, "loc": { "start": { "line": 1007, "column": 17 }, "end": { "line": 1007, "column": 23 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 33771, "end": 33772, "loc": { "start": { "line": 1007, "column": 24 }, "end": { "line": 1007, "column": 25 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 33776, "end": 33811, "loc": { "start": { "line": 1007, "column": 29 }, "end": { "line": 1007, "column": 64 } }, "left": { "type": "BinaryExpression", "start": 33776, "end": 33795, "loc": { "start": { "line": 1007, "column": 29 }, "end": { "line": 1007, "column": 48 } }, "left": { "type": "Identifier", "start": 33776, "end": 33786, "loc": { "start": { "line": 1007, "column": 29 }, "end": { "line": 1007, "column": 39 }, "identifierName": "moveAmount" }, "name": "moveAmount" }, "operator": "*", "right": { "type": "Identifier", "start": 33789, "end": 33795, "loc": { "start": { "line": 1007, "column": 42 }, "end": { "line": 1007, "column": 48 }, "identifierName": "forceX" }, "name": "forceX" } }, "operator": "*", "right": { "type": "Identifier", "start": 33798, "end": 33811, "loc": { "start": { "line": 1007, "column": 51 }, "end": { "line": 1007, "column": 64 }, "identifierName": "movementSpeed" }, "name": "movementSpeed" } } } }, { "type": "ExpressionStatement", "start": 33826, "end": 33879, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 33826, "end": 33878, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 64 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 33826, "end": 33839, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 25 } }, "object": { "type": "MemberExpression", "start": 33826, "end": 33837, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 23 } }, "object": { "type": "ThisExpression", "start": 33826, "end": 33830, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 16 } } }, "property": { "type": "Identifier", "start": 33831, "end": 33837, "loc": { "start": { "line": 1008, "column": 17 }, "end": { "line": 1008, "column": 23 }, "identifierName": "center" }, "name": "center" }, "computed": false }, "property": { "type": "Identifier", "start": 33838, "end": 33839, "loc": { "start": { "line": 1008, "column": 24 }, "end": { "line": 1008, "column": 25 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 33843, "end": 33878, "loc": { "start": { "line": 1008, "column": 29 }, "end": { "line": 1008, "column": 64 } }, "left": { "type": "BinaryExpression", "start": 33843, "end": 33862, "loc": { "start": { "line": 1008, "column": 29 }, "end": { "line": 1008, "column": 48 } }, "left": { "type": "Identifier", "start": 33843, "end": 33853, "loc": { "start": { "line": 1008, "column": 29 }, "end": { "line": 1008, "column": 39 }, "identifierName": "moveAmount" }, "name": "moveAmount" }, "operator": "*", "right": { "type": "Identifier", "start": 33856, "end": 33862, "loc": { "start": { "line": 1008, "column": 42 }, "end": { "line": 1008, "column": 48 }, "identifierName": "forceY" }, "name": "forceY" } }, "operator": "*", "right": { "type": "Identifier", "start": 33865, "end": 33878, "loc": { "start": { "line": 1008, "column": 51 }, "end": { "line": 1008, "column": 64 }, "identifierName": "movementSpeed" }, "name": "movementSpeed" } } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Updates the keyboard forces\r\n * @param {number} now\r\n * @param {number} dt Delta time\r\n ", "start": 32491, "end": 32605, "loc": { "start": { "line": 972, "column": 4 }, "end": { "line": 976, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * @enum {string}\r\n ", "start": 883, "end": 910, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } }, { "type": "CommentBlock", "value": "* @type {GameRoot} ", "start": 1123, "end": 1146, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } }, { "type": "CommentLine", "value": " Zoom level, 2 means double size", "start": 1185, "end": 1219, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 42 } } }, { "type": "CommentLine", "value": " Find optimal initial zoom", "start": 1231, "end": 1259, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1355, "end": 1376, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 29 } } }, { "type": "CommentLine", "value": " Input handling", "start": 1429, "end": 1446, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 25 } } }, { "type": "CommentLine", "value": " Signal which gets emitted once the user changed something", "start": 1849, "end": 1909, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 68 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1967, "end": 1988, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 29 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2047, "end": 2068, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 29 } } }, { "type": "CommentLine", "value": " Set desired pan (camera movement)", "start": 2125, "end": 2161, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2171, "end": 2192, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 29 } } }, { "type": "CommentLine", "value": " Set desired camera center", "start": 2249, "end": 2277, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2287, "end": 2308, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 29 } } }, { "type": "CommentLine", "value": " Set desired camera zoom", "start": 2356, "end": 2382, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 34 } } }, { "type": "CommentBlock", "value": "* @type {number} ", "start": 2392, "end": 2413, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 29 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2459, "end": 2480, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 29 } } }, { "type": "CommentLine", "value": " Handlers", "start": 2548, "end": 2559, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 19 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector, enumMouseButton]>} ", "start": 2591, "end": 2644, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 83 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2692, "end": 2728, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 66 } } }, { "type": "CommentLine", "value": " this.pinchPreHandler = /** @type {TypedSignal<[Vector]>} */ (new Signal());", "start": 2754, "end": 2832, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 86 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2863, "end": 2899, "loc": { "start": { "line": 90, "column": 29 }, "end": { "line": 90, "column": 65 } } }, { "type": "CommentLine", "value": " Serialization", "start": 3234, "end": 3250, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } } }, { "type": "CommentLine", "value": " Safety", "start": 3601, "end": 3610, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } } }, { "type": "CommentLine", "value": " Simple getters & setters", "start": 3657, "end": 3684, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 31 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets a point in world space to focus on\r\n * @param {Vector} center\r\n ", "start": 4046, "end": 4137, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets a desired zoom level\r\n * @param {number} zoom\r\n ", "start": 4268, "end": 4343, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this camera is currently moving by a non-user interaction\r\n ", "start": 4420, "end": 4509, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 154, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets the camera pan, every frame the camera will move by this amount\r\n * @param {Vector} pan\r\n ", "start": 4611, "end": 4728, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a good initial zoom level\r\n ", "start": 4801, "end": 4853, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Clears all animations\r\n ", "start": 5366, "end": 5408, "loc": { "start": { "line": 183, "column": 4 }, "end": { "line": 185, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the user is currently interacting with the camera\r\n * @returns {boolean} true if the user interacts\r\n ", "start": 5899, "end": 6034, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 204, "column": 7 } } }, { "type": "CommentLine", "value": " Only interacting if moved at least once", "start": 6193, "end": 6235, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 54 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if in the next frame the viewport will change\r\n * @returns {boolean} true if it willchange\r\n ", "start": 6432, "end": 6555, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 222, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Cancels all interactions, that is user interaction and non user interaction\r\n ", "start": 6705, "end": 6801, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 229, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport width\r\n ", "start": 7053, "end": 7106, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport height\r\n ", "start": 7201, "end": 7255, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 247, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport left\r\n ", "start": 7352, "end": 7416, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 254, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport right\r\n ", "start": 7563, "end": 7628, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 261, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport top\r\n ", "start": 7776, "end": 7839, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport bottom\r\n ", "start": 7986, "end": 8052, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 275, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the visible world space rect\r\n * @returns {Rectangle}\r\n ", "start": 8202, "end": 8288, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 283, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Attaches all event listeners\r\n ", "start": 8681, "end": 8730, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 299, "column": 7 } } }, { "type": "CommentLine", "value": " this.root.canvas.addEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 9975, "end": 10051, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 84 } } }, { "type": "CommentBlock", "value": "*\r\n * Cleans up all event listeners\r\n ", "start": 10066, "end": 10116, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 7 } } }, { "type": "CommentLine", "value": " this.root.canvas.removeEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 10898, "end": 10977, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 87 } } }, { "type": "CommentBlock", "value": "*\r\n * Binds the arrow keys\r\n ", "start": 10992, "end": 11033, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 343, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Converts from screen to world space\r\n * @param {Vector} screen\r\n * @returns {Vector} world space\r\n ", "start": 11981, "end": 12106, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 369, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Converts from world to screen space\r\n * @param {Vector} world\r\n * @returns {Vector} screen space\r\n ", "start": 12324, "end": 12449, "loc": { "start": { "line": 375, "column": 4 }, "end": { "line": 379, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if a point is on screen\r\n * @param {Vector} point\r\n * @returns {boolean} true if its on screen\r\n ", "start": 12667, "end": 12798, "loc": { "start": { "line": 385, "column": 4 }, "end": { "line": 389, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom in\r\n * @returns {boolean}\r\n ", "start": 12947, "end": 13028, "loc": { "start": { "line": 395, "column": 4 }, "end": { "line": 398, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom out\r\n * @returns {boolean}\r\n ", "start": 13187, "end": 13269, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 407, "column": 7 } } }, { "type": "CommentLine", "value": " EVENTS", "start": 13429, "end": 13438, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the mouse event is too close after a touch event and thus\r\n * should get ignored\r\n ", "start": 13446, "end": 13561, "loc": { "start": { "line": 415, "column": 4 }, "end": { "line": 418, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousedown handler\r\n * @param {MouseEvent} event\r\n ", "start": 13749, "end": 13821, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 429, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 13931, "end": 13958, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 39 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousemove handler\r\n * @param {MouseEvent} event\r\n ", "start": 14575, "end": 14647, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 454, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 14757, "end": 14784, "loc": { "start": { "line": 458, "column": 12 }, "end": { "line": 458, "column": 39 } } }, { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 15017, "end": 15047, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * Mouseup handler\r\n * @param {MouseEvent=} event\r\n ", "start": 15117, "end": 15188, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 477, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15330, "end": 15357, "loc": { "start": { "line": 482, "column": 16 }, "end": { "line": 482, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousewheel event\r\n * @param {WheelEvent} event\r\n ", "start": 15581, "end": 15652, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 497, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15763, "end": 15790, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 501, "column": 39 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch start handler\r\n * @param {TouchEvent} event\r\n ", "start": 17023, "end": 17097, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 533, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 17208, "end": 17235, "loc": { "start": { "line": 537, "column": 12 }, "end": { "line": 537, "column": 39 } } }, { "type": "CommentLine", "value": " if (this.pinchPreHandler.dispatch() === STOP_PROPAGATION) {", "start": 17604, "end": 17666, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 74 } } }, { "type": "CommentLine", "value": " // Something prevented pinching", "start": 17680, "end": 17718, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 50 } } }, { "type": "CommentLine", "value": " return false;", "start": 17732, "end": 17752, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 32 } } }, { "type": "CommentLine", "value": " }", "start": 17766, "end": 17770, "loc": { "start": { "line": 550, "column": 12 }, "end": { "line": 550, "column": 16 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch move handler\r\n * @param {TouchEvent} event\r\n ", "start": 18179, "end": 18252, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 567, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 18362, "end": 18389, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 39 } } }, { "type": "CommentLine", "value": " Get distance of taps last time and now", "start": 19047, "end": 19088, "loc": { "start": { "line": 589, "column": 16 }, "end": { "line": 589, "column": 57 } } }, { "type": "CommentLine", "value": " IMPORTANT to do math max here to avoid NaN and causing an invalid zoom level", "start": 19302, "end": 19381, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 95 } } }, { "type": "CommentLine", "value": " Find old center of zoom", "start": 19483, "end": 19509, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 42 } } }, { "type": "CommentLine", "value": " Find new center of zoom", "start": 19630, "end": 19656, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 42 } } }, { "type": "CommentLine", "value": " Compute movement", "start": 19762, "end": 19781, "loc": { "start": { "line": 602, "column": 16 }, "end": { "line": 602, "column": 35 } } }, { "type": "CommentLine", "value": " Compute zoom", "start": 19982, "end": 19997, "loc": { "start": { "line": 607, "column": 16 }, "end": { "line": 607, "column": 31 } } }, { "type": "CommentLine", "value": " Apply zoom", "start": 20118, "end": 20131, "loc": { "start": { "line": 610, "column": 16 }, "end": { "line": 610, "column": 29 } } }, { "type": "CommentLine", "value": " Stick to pivot point", "start": 20566, "end": 20589, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 39 } } }, { "type": "CommentLine", "value": " Since we zoomed, abort any programmed zooming", "start": 20905, "end": 20953, "loc": { "start": { "line": 630, "column": 16 }, "end": { "line": 630, "column": 64 } } }, { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 21097, "end": 21127, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch end and cancel handler\r\n * @param {TouchEvent=} event\r\n ", "start": 21197, "end": 21281, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 645, "column": 7 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 21424, "end": 21451, "loc": { "start": { "line": 650, "column": 16 }, "end": { "line": 650, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch start handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 21832, "end": 21933, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 668, "column": 7 } } }, { "type": "CommentLine", "value": " Somebody else captured it", "start": 22124, "end": 22152, "loc": { "start": { "line": 672, "column": 12 }, "end": { "line": 672, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch move handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 22471, "end": 22571, "loc": { "start": { "line": 684, "column": 4 }, "end": { "line": 688, "column": 7 } } }, { "type": "CommentLine", "value": " Somebody else captured it", "start": 22739, "end": 22767, "loc": { "start": { "line": 692, "column": 12 }, "end": { "line": 692, "column": 40 } } }, { "type": "CommentLine", "value": " When testing culling, we see everything from the same distance", "start": 23036, "end": 23101, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 77 } } }, { "type": "CommentLine", "value": " Since we moved, abort any programmed moving", "start": 23608, "end": 23654, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 54 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch stop handler\r\n ", "start": 23755, "end": 23803, "loc": { "start": { "line": 722, "column": 4 }, "end": { "line": 724, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Clamps the camera zoom level within the allowed range\r\n ", "start": 24386, "end": 24460, "loc": { "start": { "line": 739, "column": 4 }, "end": { "line": 741, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the camera\r\n * @param {number} dt Delta time in milliseconds\r\n ", "start": 25121, "end": 25214, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 760, "column": 7 } } }, { "type": "CommentLine", "value": " Simulate movement of N FPS", "start": 25320, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * Prepares a context to transform it\r\n * @param {CanvasRenderingContext2D} context\r\n ", "start": 26160, "end": 26265, "loc": { "start": { "line": 785, "column": 4 }, "end": { "line": 788, "column": 7 } } }, { "type": "CommentLine", "value": " Scale, skew, rotate", "start": 26552, "end": 26574, "loc": { "start": { "line": 799, "column": 12 }, "end": { "line": 799, "column": 34 } } }, { "type": "CommentLine", "value": " Translate", "start": 26660, "end": 26672, "loc": { "start": { "line": 805, "column": 12 }, "end": { "line": 805, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal shake handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 26787, "end": 26916, "loc": { "start": { "line": 811, "column": 4 }, "end": { "line": 815, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal pan handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 27036, "end": 27163, "loc": { "start": { "line": 820, "column": 4 }, "end": { "line": 824, "column": 7 } } }, { "type": "CommentLine", "value": " Check if the camera is being dragged but standing still: if not, zero out `touchPostMoveVelocity`.", "start": 27412, "end": 27513, "loc": { "start": { "line": 830, "column": 8 }, "end": { "line": 830, "column": 109 } } }, { "type": "CommentLine", "value": " Check influence of past points", "start": 28194, "end": 28227, "loc": { "start": { "line": 847, "column": 8 }, "end": { "line": 847, "column": 41 } } }, { "type": "CommentLine", "value": " Panning", "start": 28727, "end": 28737, "loc": { "start": { "line": 857, "column": 12 }, "end": { "line": 857, "column": 22 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal screen panning handler\r\n * @param {number} now\r\n * @param {number} dt\r\n ", "start": 28950, "end": 29057, "loc": { "start": { "line": 863, "column": 4 }, "end": { "line": 867, "column": 7 } } }, { "type": "CommentLine", "value": " Not enabled", "start": 29259, "end": 29273, "loc": { "start": { "line": 874, "column": 12 }, "end": { "line": 874, "column": 26 } } }, { "type": "CommentLine", "value": " Performing another method of movement right now", "start": 29665, "end": 29715, "loc": { "start": { "line": 888, "column": 12 }, "end": { "line": 888, "column": 62 } } }, { "type": "CommentLine", "value": " Out of screen", "start": 29948, "end": 29964, "loc": { "start": { "line": 898, "column": 12 }, "end": { "line": 898, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction zooming\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 30688, "end": 30835, "loc": { "start": { "line": 926, "column": 4 }, "end": { "line": 930, "column": 7 } } }, { "type": "CommentLine", "value": " Zoom out faster than in", "start": 31136, "end": 31162, "loc": { "start": { "line": 937, "column": 20 }, "end": { "line": 937, "column": 46 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction centering\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 31752, "end": 31901, "loc": { "start": { "line": 952, "column": 4 }, "end": { "line": 956, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the keyboard forces\r\n * @param {number} now\r\n * @param {number} dt Delta time\r\n ", "start": 32491, "end": 32605, "loc": { "start": { "line": 972, "column": 4 }, "end": { "line": 976, "column": 7 } } } ], "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": "clickDetectorGlobals", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 32, "end": 36, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/click_detector", "start": 37, "end": 61, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 61, "end": 62, "loc": { "start": { "line": 1, "column": 61 }, "end": { "line": 1, "column": 62 } } }, { "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": 64, "end": 70, "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": 71, "end": 72, "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": 73, "end": 85, "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": 85, "end": 86, "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": "SUPPORT_TOUCH", "start": 87, "end": 100, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 101, "end": 102, "loc": { "start": { "line": 2, "column": 37 }, "end": { "line": 2, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 103, "end": 107, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 2, "column": 43 } } }, { "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": 108, "end": 124, "loc": { "start": { "line": 2, "column": 44 }, "end": { "line": 2, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 124, "end": 125, "loc": { "start": { "line": 2, "column": 60 }, "end": { "line": 2, "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": 127, "end": 133, "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": 134, "end": 135, "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": "createLogger", "start": 136, "end": 148, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 149, "end": 150, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 151, "end": 155, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/logging", "start": 156, "end": 173, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 173, "end": 174, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "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": 176, "end": 182, "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": 183, "end": 184, "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": "Rectangle", "start": 185, "end": 194, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 195, "end": 196, "loc": { "start": { "line": 4, "column": 19 }, "end": { "line": 4, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 197, "end": 201, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "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": 202, "end": 221, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 221, "end": 222, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "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": 224, "end": 230, "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": 231, "end": 232, "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": "Signal", "start": 233, "end": 239, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 239, "end": 240, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 241, "end": 257, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 258, "end": 259, "loc": { "start": { "line": 5, "column": 34 }, "end": { "line": 5, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 260, "end": 264, "loc": { "start": { "line": 5, "column": 36 }, "end": { "line": 5, "column": 40 } } }, { "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": 265, "end": 281, "loc": { "start": { "line": 5, "column": 41 }, "end": { "line": 5, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 281, "end": 282, "loc": { "start": { "line": 5, "column": 57 }, "end": { "line": 5, "column": 58 } } }, { "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": 284, "end": 290, "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": 291, "end": 292, "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": "clamp", "start": 293, "end": 298, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 299, "end": 300, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 301, "end": 305, "loc": { "start": { "line": 6, "column": 17 }, "end": { "line": 6, "column": 21 } } }, { "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": 306, "end": 321, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 321, "end": 322, "loc": { "start": { "line": 6, "column": 37 }, "end": { "line": 6, "column": 38 } } }, { "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": 324, "end": 330, "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": 331, "end": 332, "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": "mixVector", "start": 333, "end": 342, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 342, "end": 343, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 7, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 344, "end": 350, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 351, "end": 352, "loc": { "start": { "line": 7, "column": 27 }, "end": { "line": 7, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 353, "end": 357, "loc": { "start": { "line": 7, "column": 29 }, "end": { "line": 7, "column": 33 } } }, { "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": 358, "end": 374, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 374, "end": 375, "loc": { "start": { "line": 7, "column": 50 }, "end": { "line": 7, "column": 51 } } }, { "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": 377, "end": 383, "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": 384, "end": 385, "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": "BasicSerializableObject", "start": 386, "end": 409, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 409, "end": 410, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 411, "end": 416, "loc": { "start": { "line": 8, "column": 34 }, "end": { "line": 8, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 417, "end": 418, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 419, "end": 423, "loc": { "start": { "line": 8, "column": 42 }, "end": { "line": 8, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../savegame/serialization", "start": 424, "end": 451, "loc": { "start": { "line": 8, "column": 47 }, "end": { "line": 8, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 451, "end": 452, "loc": { "start": { "line": 8, "column": 74 }, "end": { "line": 8, "column": 75 } } }, { "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": 454, "end": 460, "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": 461, "end": 462, "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": "KEYMAPPINGS", "start": 463, "end": 474, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 475, "end": 476, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 477, "end": 481, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "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": 482, "end": 503, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 503, "end": 504, "loc": { "start": { "line": 9, "column": 49 }, "end": { "line": 9, "column": 50 } } }, { "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": 506, "end": 512, "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": 513, "end": 514, "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": "GameRoot", "start": 515, "end": 523, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 524, "end": 525, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 10, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 526, "end": 530, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./root", "start": 531, "end": 539, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 539, "end": 540, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "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": 544, "end": 549, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 550, "end": 556, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 557, "end": 558, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 559, "end": 571, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 571, "end": 572, "loc": { "start": { "line": 12, "column": 27 }, "end": { "line": 12, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "camera", "start": 572, "end": 580, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 580, "end": 581, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 581, "end": 582, "loc": { "start": { "line": 12, "column": 37 }, "end": { "line": 12, "column": 38 } } }, { "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": 586, "end": 592, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 6 } } }, { "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": 593, "end": 598, "loc": { "start": { "line": 14, "column": 7 }, "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": "USER_INTERACT_MOVE", "start": 599, "end": 617, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 618, "end": 619, "loc": { "start": { "line": 14, "column": 32 }, "end": { "line": 14, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "move", "start": 620, "end": 626, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 626, "end": 627, "loc": { "start": { "line": 14, "column": 40 }, "end": { "line": 14, "column": 41 } } }, { "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": 629, "end": 635, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } } }, { "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": 636, "end": 641, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "USER_INTERACT_ZOOM", "start": 642, "end": 660, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 661, "end": 662, "loc": { "start": { "line": 15, "column": 32 }, "end": { "line": 15, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "zoom", "start": 663, "end": 669, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 669, "end": 670, "loc": { "start": { "line": 15, "column": 40 }, "end": { "line": 15, "column": 41 } } }, { "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": 672, "end": 678, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 6 } } }, { "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": 679, "end": 684, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "USER_INTERACT_TOUCHEND", "start": 685, "end": 707, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 708, "end": 709, "loc": { "start": { "line": 16, "column": 36 }, "end": { "line": 16, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchend", "start": 710, "end": 720, "loc": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 48 } } }, { "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": 48 }, "end": { "line": 16, "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": 725, "end": 730, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocitySmoothing", "start": 731, "end": 748, "loc": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 749, "end": 750, "loc": { "start": { "line": 18, "column": 24 }, "end": { "line": 18, "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.5, "start": 751, "end": 754, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 754, "end": 755, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "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": 757, "end": 762, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityFade", "start": 763, "end": 775, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 776, "end": 777, "loc": { "start": { "line": 19, "column": 19 }, "end": { "line": 19, "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.98, "start": 778, "end": 782, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 782, "end": 783, "loc": { "start": { "line": 19, "column": 25 }, "end": { "line": 19, "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": 785, "end": 790, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityStrength", "start": 791, "end": 807, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 808, "end": 809, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.4, "start": 810, "end": 813, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 813, "end": 814, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 29 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 816, "end": 821, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityMax", "start": 822, "end": 833, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 834, "end": 835, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 836, "end": 838, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 838, "end": 839, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 23 } } }, { "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": 841, "end": 846, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticksBeforeErasingVelocity", "start": 847, "end": 873, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 874, "end": 875, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 876, "end": 878, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 878, "end": 879, "loc": { "start": { "line": 22, "column": 37 }, "end": { "line": 22, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * @enum {string}\r\n ", "start": 883, "end": 910, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 26, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 912, "end": 918, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 6 } } }, { "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": 919, "end": 924, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 12 } } }, { "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": 27, "column": 13 }, "end": { "line": 27, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 941, "end": 942, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 27, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 943, "end": 944, "loc": { "start": { "line": 27, "column": 31 }, "end": { "line": 27, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 950, "end": 954, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 8 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 954, "end": 955, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 9 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "left", "start": 956, "end": 962, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 16 } } }, { "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": 28, "column": 16 }, "end": { "line": 28, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "middle", "start": 969, "end": 975, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 975, "end": 976, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 11 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "middle", "start": 977, "end": 985, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 985, "end": 986, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 992, "end": 997, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 997, "end": 998, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 10 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "right", "start": 999, "end": 1006, "loc": { "start": { "line": 30, "column": 11 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1006, "end": 1007, "loc": { "start": { "line": 30, "column": 18 }, "end": { "line": 30, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1009, "end": 1010, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1010, "end": 1011, "loc": { "start": { "line": 31, "column": 1 }, "end": { "line": 31, "column": 2 } } }, { "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": 1015, "end": 1021, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "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": 1022, "end": 1027, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Camera", "start": 1028, "end": 1034, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 19 } } }, { "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": 1035, "end": 1042, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BasicSerializableObject", "start": 1043, "end": 1066, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1067, "end": 1068, "loc": { "start": { "line": 33, "column": 52 }, "end": { "line": 33, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1074, "end": 1085, "loc": { "start": { "line": 34, "column": 4 }, "end": { "line": 34, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1085, "end": 1086, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1086, "end": 1090, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1090, "end": 1091, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1092, "end": 1093, "loc": { "start": { "line": 34, "column": 22 }, "end": { "line": 34, "column": 23 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1103, "end": 1108, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1108, "end": 1109, "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1109, "end": 1110, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1110, "end": 1111, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 16 } } }, { "type": "CommentBlock", "value": "* @type {GameRoot} ", "start": 1123, "end": 1146, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "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": 1156, "end": 1160, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1160, "end": 1161, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1161, "end": 1165, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1166, "end": 1167, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1168, "end": 1172, "loc": { "start": { "line": 38, "column": 20 }, "end": { "line": 38, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1172, "end": 1173, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 } } }, { "type": "CommentLine", "value": " Zoom level, 2 means double size", "start": 1185, "end": 1219, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 42 } } }, { "type": "CommentLine", "value": " Find optimal initial zoom", "start": 1231, "end": 1259, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "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": 1271, "end": 1275, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 1276, "end": 1285, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1286, "end": 1287, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 44, "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": 1288, "end": 1292, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1292, "end": 1293, "loc": { "start": { "line": 44, "column": 29 }, "end": { "line": 44, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findInitialZoom", "start": 1293, "end": 1308, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 44, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1308, "end": 1309, "loc": { "start": { "line": 44, "column": 45 }, "end": { "line": 44, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 44, "column": 46 }, "end": { "line": 44, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 44, "column": 47 }, "end": { "line": 44, "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": 1321, "end": 1325, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1325, "end": 1326, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 1326, "end": 1340, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1340, "end": 1341, "loc": { "start": { "line": 45, "column": 27 }, "end": { "line": 45, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1341, "end": 1342, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1342, "end": 1343, "loc": { "start": { "line": 45, "column": 29 }, "end": { "line": 45, "column": 30 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1355, "end": 1376, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "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": 1386, "end": 1390, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1390, "end": 1391, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 1391, "end": 1397, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1398, "end": 1399, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 21 } } }, { "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": 1400, "end": 1403, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 1404, "end": 1410, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1410, "end": 1411, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1411, "end": 1412, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1412, "end": 1413, "loc": { "start": { "line": 48, "column": 34 }, "end": { "line": 48, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1414, "end": 1415, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1415, "end": 1416, "loc": { "start": { "line": 48, "column": 37 }, "end": { "line": 48, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1416, "end": 1417, "loc": { "start": { "line": 48, "column": 38 }, "end": { "line": 48, "column": 39 } } }, { "type": "CommentLine", "value": " Input handling", "start": 1429, "end": 1446, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "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": 1456, "end": 1460, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1460, "end": 1461, "loc": { "start": { "line": 51, "column": 12 }, "end": { "line": 51, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 1461, "end": 1476, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1477, "end": 1478, "loc": { "start": { "line": 51, "column": 29 }, "end": { "line": 51, "column": 30 } } }, { "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": 1479, "end": 1484, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1484, "end": 1485, "loc": { "start": { "line": 51, "column": 36 }, "end": { "line": 51, "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": 1495, "end": 1499, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1499, "end": 1500, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 1500, "end": 1518, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1519, "end": 1520, "loc": { "start": { "line": 52, "column": 32 }, "end": { "line": 52, "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": 1521, "end": 1525, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1525, "end": 1526, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "column": 39 } } }, { "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": 1536, "end": 1540, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1540, "end": 1541, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 1541, "end": 1567, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1568, "end": 1569, "loc": { "start": { "line": 53, "column": 40 }, "end": { "line": 53, "column": 41 } } }, { "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": 1570, "end": 1574, "loc": { "start": { "line": 53, "column": 42 }, "end": { "line": 53, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1574, "end": 1575, "loc": { "start": { "line": 53, "column": 46 }, "end": { "line": 53, "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": 1585, "end": 1589, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1589, "end": 1590, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 1590, "end": 1611, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1612, "end": 1613, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 36 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1614, "end": 1618, "loc": { "start": { "line": 54, "column": 37 }, "end": { "line": 54, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1618, "end": 1619, "loc": { "start": { "line": 54, "column": 41 }, "end": { "line": 54, "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": 1629, "end": 1633, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1633, "end": 1634, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraUpdateTimeBucket", "start": 1634, "end": 1656, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1657, "end": 1658, "loc": { "start": { "line": 55, "column": 36 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1659, "end": 1662, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1662, "end": 1663, "loc": { "start": { "line": 55, "column": 41 }, "end": { "line": 55, "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": 1673, "end": 1677, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1677, "end": 1678, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 1678, "end": 1700, "loc": { "start": { "line": 56, "column": 13 }, "end": { "line": 56, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1701, "end": 1702, "loc": { "start": { "line": 56, "column": 36 }, "end": { "line": 56, "column": 37 } } }, { "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": 1703, "end": 1708, "loc": { "start": { "line": 56, "column": 38 }, "end": { "line": 56, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1708, "end": 1709, "loc": { "start": { "line": 56, "column": 43 }, "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": 1719, "end": 1723, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1723, "end": 1724, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 1724, "end": 1741, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1742, "end": 1743, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 32 } } }, { "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": 1744, "end": 1749, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1749, "end": 1750, "loc": { "start": { "line": 57, "column": 38 }, "end": { "line": 57, "column": 39 } } }, { "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": 1760, "end": 1764, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1764, "end": 1765, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 1765, "end": 1783, "loc": { "start": { "line": 58, "column": 13 }, "end": { "line": 58, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1784, "end": 1785, "loc": { "start": { "line": 58, "column": 32 }, "end": { "line": 58, "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": 1786, "end": 1790, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1790, "end": 1791, "loc": { "start": { "line": 58, "column": 38 }, "end": { "line": 58, "column": 39 } } }, { "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": 1803, "end": 1807, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1807, "end": 1808, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardForce", "start": 1808, "end": 1821, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1822, "end": 1823, "loc": { "start": { "line": 60, "column": 27 }, "end": { "line": 60, "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": 1824, "end": 1827, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 1828, "end": 1834, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1834, "end": 1835, "loc": { "start": { "line": 60, "column": 39 }, "end": { "line": 60, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1835, "end": 1836, "loc": { "start": { "line": 60, "column": 40 }, "end": { "line": 60, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1836, "end": 1837, "loc": { "start": { "line": 60, "column": 41 }, "end": { "line": 60, "column": 42 } } }, { "type": "CommentLine", "value": " Signal which gets emitted once the user changed something", "start": 1849, "end": 1909, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "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": 1919, "end": 1923, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1923, "end": 1924, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userInteraction", "start": 1924, "end": 1939, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1940, "end": 1941, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 1942, "end": 1945, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Signal", "start": 1946, "end": 1952, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1952, "end": 1953, "loc": { "start": { "line": 63, "column": 41 }, "end": { "line": 63, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1953, "end": 1954, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1954, "end": 1955, "loc": { "start": { "line": 63, "column": 43 }, "end": { "line": 63, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 1967, "end": 1988, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "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": 1998, "end": 2002, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, { "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": 66, "column": 12 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 2003, "end": 2015, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2016, "end": 2017, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 27 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2018, "end": 2021, "loc": { "start": { "line": 66, "column": 28 }, "end": { "line": 66, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 2022, "end": 2028, "loc": { "start": { "line": 66, "column": 32 }, "end": { "line": 66, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2028, "end": 2029, "loc": { "start": { "line": 66, "column": 38 }, "end": { "line": 66, "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, "start": 2029, "end": 2030, "loc": { "start": { "line": 66, "column": 39 }, "end": { "line": 66, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2030, "end": 2031, "loc": { "start": { "line": 66, "column": 40 }, "end": { "line": 66, "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": 2032, "end": 2033, "loc": { "start": { "line": 66, "column": 42 }, "end": { "line": 66, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2033, "end": 2034, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2034, "end": 2035, "loc": { "start": { "line": 66, "column": 44 }, "end": { "line": 66, "column": 45 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2047, "end": 2068, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "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": 2078, "end": 2082, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2082, "end": 2083, "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 69, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 2083, "end": 2093, "loc": { "start": { "line": 69, "column": 13 }, "end": { "line": 69, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2094, "end": 2095, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "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": 2096, "end": 2099, "loc": { "start": { "line": 69, "column": 26 }, "end": { "line": 69, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 2100, "end": 2106, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2106, "end": 2107, "loc": { "start": { "line": 69, "column": 36 }, "end": { "line": 69, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2107, "end": 2108, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2108, "end": 2109, "loc": { "start": { "line": 69, "column": 38 }, "end": { "line": 69, "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, "start": 2110, "end": 2111, "loc": { "start": { "line": 69, "column": 40 }, "end": { "line": 69, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2111, "end": 2112, "loc": { "start": { "line": 69, "column": 41 }, "end": { "line": 69, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2112, "end": 2113, "loc": { "start": { "line": 69, "column": 42 }, "end": { "line": 69, "column": 43 } } }, { "type": "CommentLine", "value": " Set desired pan (camera movement)", "start": 2125, "end": 2161, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2171, "end": 2192, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "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": 2202, "end": 2206, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2206, "end": 2207, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredPan", "start": 2207, "end": 2217, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2218, "end": 2219, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "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": 2220, "end": 2223, "loc": { "start": { "line": 73, "column": 26 }, "end": { "line": 73, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 2224, "end": 2230, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2230, "end": 2231, "loc": { "start": { "line": 73, "column": 36 }, "end": { "line": 73, "column": 37 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2231, "end": 2232, "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2232, "end": 2233, "loc": { "start": { "line": 73, "column": 38 }, "end": { "line": 73, "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, "start": 2234, "end": 2235, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2235, "end": 2236, "loc": { "start": { "line": 73, "column": 41 }, "end": { "line": 73, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2236, "end": 2237, "loc": { "start": { "line": 73, "column": 42 }, "end": { "line": 73, "column": 43 } } }, { "type": "CommentLine", "value": " Set desired camera center", "start": 2249, "end": 2277, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2287, "end": 2308, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "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": 2318, "end": 2322, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2322, "end": 2323, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 2323, "end": 2336, "loc": { "start": { "line": 77, "column": 13 }, "end": { "line": 77, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2337, "end": 2338, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2339, "end": 2343, "loc": { "start": { "line": 77, "column": 29 }, "end": { "line": 77, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2343, "end": 2344, "loc": { "start": { "line": 77, "column": 33 }, "end": { "line": 77, "column": 34 } } }, { "type": "CommentLine", "value": " Set desired camera zoom", "start": 2356, "end": 2382, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 34 } } }, { "type": "CommentBlock", "value": "* @type {number} ", "start": 2392, "end": 2413, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "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": 2423, "end": 2427, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2427, "end": 2428, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 2428, "end": 2439, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2440, "end": 2441, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 26 } } }, { "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": 2442, "end": 2446, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2446, "end": 2447, "loc": { "start": { "line": 81, "column": 31 }, "end": { "line": 81, "column": 32 } } }, { "type": "CommentBlock", "value": "* @type {Vector} ", "start": 2459, "end": 2480, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "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": 2490, "end": 2494, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2494, "end": 2495, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 2495, "end": 2516, "loc": { "start": { "line": 84, "column": 13 }, "end": { "line": 84, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2517, "end": 2518, "loc": { "start": { "line": 84, "column": 35 }, "end": { "line": 84, "column": 36 } } }, { "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": 2519, "end": 2522, "loc": { "start": { "line": 84, "column": 37 }, "end": { "line": 84, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 2523, "end": 2529, "loc": { "start": { "line": 84, "column": 41 }, "end": { "line": 84, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2529, "end": 2530, "loc": { "start": { "line": 84, "column": 47 }, "end": { "line": 84, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2530, "end": 2531, "loc": { "start": { "line": 84, "column": 48 }, "end": { "line": 84, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2531, "end": 2532, "loc": { "start": { "line": 84, "column": 49 }, "end": { "line": 84, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2533, "end": 2534, "loc": { "start": { "line": 84, "column": 51 }, "end": { "line": 84, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2534, "end": 2535, "loc": { "start": { "line": 84, "column": 52 }, "end": { "line": 84, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2535, "end": 2536, "loc": { "start": { "line": 84, "column": 53 }, "end": { "line": 84, "column": 54 } } }, { "type": "CommentLine", "value": " Handlers", "start": 2548, "end": 2559, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2569, "end": 2573, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2573, "end": 2574, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "downPreHandler", "start": 2574, "end": 2588, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2589, "end": 2590, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 29 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector, enumMouseButton]>} ", "start": 2591, "end": 2644, "loc": { "start": { "line": 87, "column": 30 }, "end": { "line": 87, "column": 83 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2645, "end": 2646, "loc": { "start": { "line": 87, "column": 84 }, "end": { "line": 87, "column": 85 } } }, { "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": 2646, "end": 2649, "loc": { "start": { "line": 87, "column": 85 }, "end": { "line": 87, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Signal", "start": 2650, "end": 2656, "loc": { "start": { "line": 87, "column": 89 }, "end": { "line": 87, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2656, "end": 2657, "loc": { "start": { "line": 87, "column": 95 }, "end": { "line": 87, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2657, "end": 2658, "loc": { "start": { "line": 87, "column": 96 }, "end": { "line": 87, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2658, "end": 2659, "loc": { "start": { "line": 87, "column": 97 }, "end": { "line": 87, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2659, "end": 2660, "loc": { "start": { "line": 87, "column": 98 }, "end": { "line": 87, "column": 99 } } }, { "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": 2670, "end": 2674, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2674, "end": 2675, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movePreHandler", "start": 2675, "end": 2689, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2690, "end": 2691, "loc": { "start": { "line": 88, "column": 28 }, "end": { "line": 88, "column": 29 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2692, "end": 2728, "loc": { "start": { "line": 88, "column": 30 }, "end": { "line": 88, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2729, "end": 2730, "loc": { "start": { "line": 88, "column": 67 }, "end": { "line": 88, "column": 68 } } }, { "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": 2730, "end": 2733, "loc": { "start": { "line": 88, "column": 68 }, "end": { "line": 88, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Signal", "start": 2734, "end": 2740, "loc": { "start": { "line": 88, "column": 72 }, "end": { "line": 88, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2740, "end": 2741, "loc": { "start": { "line": 88, "column": 78 }, "end": { "line": 88, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2741, "end": 2742, "loc": { "start": { "line": 88, "column": 79 }, "end": { "line": 88, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2742, "end": 2743, "loc": { "start": { "line": 88, "column": 80 }, "end": { "line": 88, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2743, "end": 2744, "loc": { "start": { "line": 88, "column": 81 }, "end": { "line": 88, "column": 82 } } }, { "type": "CommentLine", "value": " this.pinchPreHandler = /** @type {TypedSignal<[Vector]>} */ (new Signal());", "start": 2754, "end": 2832, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 86 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2842, "end": 2846, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2846, "end": 2847, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upPostHandler", "start": 2847, "end": 2860, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2861, "end": 2862, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 28 } } }, { "type": "CommentBlock", "value": "* @type {TypedSignal<[Vector]>} ", "start": 2863, "end": 2899, "loc": { "start": { "line": 90, "column": 29 }, "end": { "line": 90, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2900, "end": 2901, "loc": { "start": { "line": 90, "column": 66 }, "end": { "line": 90, "column": 67 } } }, { "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": 2901, "end": 2904, "loc": { "start": { "line": 90, "column": 67 }, "end": { "line": 90, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Signal", "start": 2905, "end": 2911, "loc": { "start": { "line": 90, "column": 71 }, "end": { "line": 90, "column": 77 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2911, "end": 2912, "loc": { "start": { "line": 90, "column": 77 }, "end": { "line": 90, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 90, "column": 78 }, "end": { "line": 90, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2913, "end": 2914, "loc": { "start": { "line": 90, "column": 79 }, "end": { "line": 90, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2914, "end": 2915, "loc": { "start": { "line": 90, "column": 80 }, "end": { "line": 90, "column": 81 } } }, { "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": 2927, "end": 2931, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2931, "end": 2932, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalInitEvents", "start": 2932, "end": 2950, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2950, "end": 2951, "loc": { "start": { "line": 92, "column": 31 }, "end": { "line": 92, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2951, "end": 2952, "loc": { "start": { "line": 92, "column": 32 }, "end": { "line": 92, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2952, "end": 2953, "loc": { "start": { "line": 92, "column": 33 }, "end": { "line": 92, "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": 2963, "end": 2967, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2967, "end": 2968, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 2968, "end": 2982, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 93, "column": 28 }, "end": { "line": 93, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2984, "end": 2985, "loc": { "start": { "line": 93, "column": 29 }, "end": { "line": 93, "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": 2995, "end": 2999, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2999, "end": 3000, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindKeys", "start": 3000, "end": 3008, "loc": { "start": { "line": 94, "column": 13 }, "end": { "line": 94, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3008, "end": 3009, "loc": { "start": { "line": 94, "column": 21 }, "end": { "line": 94, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3009, "end": 3010, "loc": { "start": { "line": 94, "column": 22 }, "end": { "line": 94, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3010, "end": 3011, "loc": { "start": { "line": 94, "column": 23 }, "end": { "line": 94, "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": 3021, "end": 3023, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3024, "end": 3025, "loc": { "start": { "line": 95, "column": 11 }, "end": { "line": 95, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 3025, "end": 3033, "loc": { "start": { "line": 95, "column": 12 }, "end": { "line": 95, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3033, "end": 3034, "loc": { "start": { "line": 95, "column": 20 }, "end": { "line": 95, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3035, "end": 3036, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 95, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 3050, "end": 3056, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3056, "end": 3057, "loc": { "start": { "line": 96, "column": 18 }, "end": { "line": 96, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 3057, "end": 3073, "loc": { "start": { "line": 96, "column": 19 }, "end": { "line": 96, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3073, "end": 3074, "loc": { "start": { "line": 96, "column": 35 }, "end": { "line": 96, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "keydown", "start": 3074, "end": 3083, "loc": { "start": { "line": 96, "column": 36 }, "end": { "line": 96, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3083, "end": 3084, "loc": { "start": { "line": 96, "column": 45 }, "end": { "line": 96, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ev", "start": 3085, "end": 3087, "loc": { "start": { "line": 96, "column": 47 }, "end": { "line": 96, "column": 49 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3088, "end": 3090, "loc": { "start": { "line": 96, "column": 50 }, "end": { "line": 96, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3091, "end": 3092, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3110, "end": 3112, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3113, "end": 3114, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ev", "start": 3114, "end": 3116, "loc": { "start": { "line": 97, "column": 20 }, "end": { "line": 97, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3116, "end": 3117, "loc": { "start": { "line": 97, "column": 22 }, "end": { "line": 97, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3117, "end": 3120, "loc": { "start": { "line": 97, "column": 23 }, "end": { "line": 97, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3121, "end": 3124, "loc": { "start": { "line": 97, "column": 27 }, "end": { "line": 97, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "i", "start": 3125, "end": 3128, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3128, "end": 3129, "loc": { "start": { "line": 97, "column": 34 }, "end": { "line": 97, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3130, "end": 3131, "loc": { "start": { "line": 97, "column": 36 }, "end": { "line": 97, "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": 3153, "end": 3157, "loc": { "start": { "line": 98, "column": 20 }, "end": { "line": 98, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3157, "end": 3158, "loc": { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 3158, "end": 3167, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3168, "end": 3169, "loc": { "start": { "line": 98, "column": 35 }, "end": { "line": 98, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 3170, "end": 3171, "loc": { "start": { "line": 98, "column": 37 }, "end": { "line": 98, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3171, "end": 3172, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3190, "end": 3191, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3205, "end": 3206, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3206, "end": 3207, "loc": { "start": { "line": 100, "column": 13 }, "end": { "line": 100, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3207, "end": 3208, "loc": { "start": { "line": 100, "column": 14 }, "end": { "line": 100, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3218, "end": 3219, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3225, "end": 3226, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 5 } } }, { "type": "CommentLine", "value": " Serialization", "start": 3234, "end": 3250, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 3256, "end": 3262, "loc": { "start": { "line": 105, "column": 4 }, "end": { "line": 105, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 3263, "end": 3268, "loc": { "start": { "line": 105, "column": 11 }, "end": { "line": 105, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3268, "end": 3269, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3269, "end": 3270, "loc": { "start": { "line": 105, "column": 17 }, "end": { "line": 105, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3271, "end": 3272, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 105, "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": 3282, "end": 3288, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Camera", "start": 3289, "end": 3297, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 106, "column": 23 }, "end": { "line": 106, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3304, "end": 3305, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 3313, "end": 3319, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 109, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchema", "start": 3320, "end": 3329, "loc": { "start": { "line": 109, "column": 11 }, "end": { "line": 109, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3329, "end": 3330, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3330, "end": 3331, "loc": { "start": { "line": 109, "column": 21 }, "end": { "line": 109, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3332, "end": 3333, "loc": { "start": { "line": 109, "column": 23 }, "end": { "line": 109, "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": 3343, "end": 3349, "loc": { "start": { "line": 110, "column": 8 }, "end": { "line": 110, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3350, "end": 3351, "loc": { "start": { "line": 110, "column": 15 }, "end": { "line": 110, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 3365, "end": 3374, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3374, "end": 3375, "loc": { "start": { "line": 111, "column": 21 }, "end": { "line": 111, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 3376, "end": 3381, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3381, "end": 3382, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "float", "start": 3382, "end": 3387, "loc": { "start": { "line": 111, "column": 29 }, "end": { "line": 111, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3387, "end": 3388, "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": "center", "start": 3402, "end": 3408, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3408, "end": 3409, "loc": { "start": { "line": 112, "column": 18 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 3410, "end": 3415, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3415, "end": 3416, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "vector", "start": 3416, "end": 3422, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3422, "end": 3423, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3433, "end": 3434, "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": 3434, "end": 3435, "loc": { "start": { "line": 113, "column": 9 }, "end": { "line": 113, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3441, "end": 3442, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deserialize", "start": 3450, "end": 3461, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3461, "end": 3462, "loc": { "start": { "line": 116, "column": 15 }, "end": { "line": 116, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3462, "end": 3466, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3466, "end": 3467, "loc": { "start": { "line": 116, "column": 20 }, "end": { "line": 116, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3468, "end": 3469, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 116, "column": 23 } } }, { "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": 3479, "end": 3484, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCode", "start": 3485, "end": 3494, "loc": { "start": { "line": 117, "column": 14 }, "end": { "line": 117, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3495, "end": 3496, "loc": { "start": { "line": 117, "column": 24 }, "end": { "line": 117, "column": 25 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 3497, "end": 3502, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3502, "end": 3503, "loc": { "start": { "line": 117, "column": 31 }, "end": { "line": 117, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deserialize", "start": 3503, "end": 3514, "loc": { "start": { "line": 117, "column": 32 }, "end": { "line": 117, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3514, "end": 3515, "loc": { "start": { "line": 117, "column": 43 }, "end": { "line": 117, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3515, "end": 3519, "loc": { "start": { "line": 117, "column": 44 }, "end": { "line": 117, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3519, "end": 3520, "loc": { "start": { "line": 117, "column": 48 }, "end": { "line": 117, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3520, "end": 3521, "loc": { "start": { "line": 117, "column": 49 }, "end": { "line": 117, "column": 50 } } }, { "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": 3531, "end": 3533, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3534, "end": 3535, "loc": { "start": { "line": 118, "column": 11 }, "end": { "line": 118, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCode", "start": 3535, "end": 3544, "loc": { "start": { "line": 118, "column": 12 }, "end": { "line": 118, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3544, "end": 3545, "loc": { "start": { "line": 118, "column": 21 }, "end": { "line": 118, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3546, "end": 3547, "loc": { "start": { "line": 118, "column": 23 }, "end": { "line": 118, "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": 3561, "end": 3567, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "errorCode", "start": 3568, "end": 3577, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3577, "end": 3578, "loc": { "start": { "line": 119, "column": 28 }, "end": { "line": 119, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3588, "end": 3589, "loc": { "start": { "line": 120, "column": 8 }, "end": { "line": 120, "column": 9 } } }, { "type": "CommentLine", "value": " Safety", "start": 3601, "end": 3610, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3620, "end": 3624, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3624, "end": 3625, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 3625, "end": 3639, "loc": { "start": { "line": 123, "column": 13 }, "end": { "line": 123, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3639, "end": 3640, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3640, "end": 3641, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3641, "end": 3642, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3648, "end": 3649, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 5 } } }, { "type": "CommentLine", "value": " Simple getters & setters", "start": 3657, "end": 3684, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addScreenShake", "start": 3692, "end": 3706, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3706, "end": 3707, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 3707, "end": 3713, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3713, "end": 3714, "loc": { "start": { "line": 128, "column": 25 }, "end": { "line": 128, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3715, "end": 3716, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "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": 3726, "end": 3731, "loc": { "start": { "line": 129, "column": 8 }, "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": "currentShakeAmount", "start": 3732, "end": 3750, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3751, "end": 3752, "loc": { "start": { "line": 129, "column": 33 }, "end": { "line": 129, "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": 3753, "end": 3757, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3757, "end": 3758, "loc": { "start": { "line": 129, "column": 39 }, "end": { "line": 129, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 3758, "end": 3770, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3770, "end": 3771, "loc": { "start": { "line": 129, "column": 52 }, "end": { "line": 129, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3771, "end": 3777, "loc": { "start": { "line": 129, "column": 53 }, "end": { "line": 129, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3777, "end": 3778, "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 }, "start": 3778, "end": 3779, "loc": { "start": { "line": 129, "column": 60 }, "end": { "line": 129, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3779, "end": 3780, "loc": { "start": { "line": 129, "column": 61 }, "end": { "line": 129, "column": 62 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3790, "end": 3795, "loc": { "start": { "line": 130, "column": 8 }, "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": "scale", "start": 3796, "end": 3801, "loc": { "start": { "line": 130, "column": 14 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3802, "end": 3803, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3804, "end": 3805, "loc": { "start": { "line": 130, "column": 22 }, "end": { "line": 130, "column": 23 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 3806, "end": 3807, "loc": { "start": { "line": 130, "column": 24 }, "end": { "line": 130, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3808, "end": 3809, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "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": 3809, "end": 3810, "loc": { "start": { "line": 130, "column": 27 }, "end": { "line": 130, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3811, "end": 3812, "loc": { "start": { "line": 130, "column": 29 }, "end": { "line": 130, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 3813, "end": 3814, "loc": { "start": { "line": 130, "column": 31 }, "end": { "line": 130, "column": 32 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3815, "end": 3816, "loc": { "start": { "line": 130, "column": 33 }, "end": { "line": 130, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShakeAmount", "start": 3817, "end": 3835, "loc": { "start": { "line": 130, "column": 35 }, "end": { "line": 130, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3835, "end": 3836, "loc": { "start": { "line": 130, "column": 53 }, "end": { "line": 130, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3836, "end": 3837, "loc": { "start": { "line": 130, "column": 54 }, "end": { "line": 130, "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": 3847, "end": 3851, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3851, "end": 3852, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 3852, "end": 3864, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3864, "end": 3865, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3865, "end": 3866, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3867, "end": 3868, "loc": { "start": { "line": 131, "column": 28 }, "end": { "line": 131, "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": 3869, "end": 3873, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3873, "end": 3874, "loc": { "start": { "line": 131, "column": 34 }, "end": { "line": 131, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 3874, "end": 3886, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3886, "end": 3887, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3887, "end": 3888, "loc": { "start": { "line": 131, "column": 48 }, "end": { "line": 131, "column": 49 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3889, "end": 3890, "loc": { "start": { "line": 131, "column": 50 }, "end": { "line": 131, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 3891, "end": 3892, "loc": { "start": { "line": 131, "column": 52 }, "end": { "line": 131, "column": 53 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3893, "end": 3894, "loc": { "start": { "line": 131, "column": 54 }, "end": { "line": 131, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3895, "end": 3896, "loc": { "start": { "line": 131, "column": 56 }, "end": { "line": 131, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 3896, "end": 3900, "loc": { "start": { "line": 131, "column": 57 }, "end": { "line": 131, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3900, "end": 3901, "loc": { "start": { "line": 131, "column": 61 }, "end": { "line": 131, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 3901, "end": 3907, "loc": { "start": { "line": 131, "column": 62 }, "end": { "line": 131, "column": 68 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3907, "end": 3908, "loc": { "start": { "line": 131, "column": 68 }, "end": { "line": 131, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3908, "end": 3909, "loc": { "start": { "line": 131, "column": 69 }, "end": { "line": 131, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 3910, "end": 3911, "loc": { "start": { "line": 131, "column": 71 }, "end": { "line": 131, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 3912, "end": 3915, "loc": { "start": { "line": 131, "column": 73 }, "end": { "line": 131, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3915, "end": 3916, "loc": { "start": { "line": 131, "column": 76 }, "end": { "line": 131, "column": 77 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3917, "end": 3918, "loc": { "start": { "line": 131, "column": 78 }, "end": { "line": 131, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 3919, "end": 3924, "loc": { "start": { "line": 131, "column": 80 }, "end": { "line": 131, "column": 85 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3925, "end": 3926, "loc": { "start": { "line": 131, "column": 86 }, "end": { "line": 131, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 3927, "end": 3933, "loc": { "start": { "line": 131, "column": 88 }, "end": { "line": 131, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3933, "end": 3934, "loc": { "start": { "line": 131, "column": 94 }, "end": { "line": 131, "column": 95 } } }, { "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": 3944, "end": 3948, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3948, "end": 3949, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 3949, "end": 3961, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3961, "end": 3962, "loc": { "start": { "line": 132, "column": 25 }, "end": { "line": 132, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3962, "end": 3963, "loc": { "start": { "line": 132, "column": 26 }, "end": { "line": 132, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3964, "end": 3965, "loc": { "start": { "line": 132, "column": 28 }, "end": { "line": 132, "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": 3966, "end": 3970, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3970, "end": 3971, "loc": { "start": { "line": 132, "column": 34 }, "end": { "line": 132, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 3971, "end": 3983, "loc": { "start": { "line": 132, "column": 35 }, "end": { "line": 132, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3983, "end": 3984, "loc": { "start": { "line": 132, "column": 47 }, "end": { "line": 132, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3984, "end": 3985, "loc": { "start": { "line": 132, "column": 48 }, "end": { "line": 132, "column": 49 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3986, "end": 3987, "loc": { "start": { "line": 132, "column": 50 }, "end": { "line": 132, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 3988, "end": 3989, "loc": { "start": { "line": 132, "column": 52 }, "end": { "line": 132, "column": 53 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3990, "end": 3991, "loc": { "start": { "line": 132, "column": 54 }, "end": { "line": 132, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3992, "end": 3993, "loc": { "start": { "line": 132, "column": 56 }, "end": { "line": 132, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 3993, "end": 3997, "loc": { "start": { "line": 132, "column": 57 }, "end": { "line": 132, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3997, "end": 3998, "loc": { "start": { "line": 132, "column": 61 }, "end": { "line": 132, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "random", "start": 3998, "end": 4004, "loc": { "start": { "line": 132, "column": 62 }, "end": { "line": 132, "column": 68 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4004, "end": 4005, "loc": { "start": { "line": 132, "column": 68 }, "end": { "line": 132, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4005, "end": 4006, "loc": { "start": { "line": 132, "column": 69 }, "end": { "line": 132, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4007, "end": 4008, "loc": { "start": { "line": 132, "column": 71 }, "end": { "line": 132, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 4009, "end": 4012, "loc": { "start": { "line": 132, "column": 73 }, "end": { "line": 132, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4012, "end": 4013, "loc": { "start": { "line": 132, "column": 76 }, "end": { "line": 132, "column": 77 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4014, "end": 4015, "loc": { "start": { "line": 132, "column": 78 }, "end": { "line": 132, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 4016, "end": 4021, "loc": { "start": { "line": 132, "column": 80 }, "end": { "line": 132, "column": 85 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4022, "end": 4023, "loc": { "start": { "line": 132, "column": 86 }, "end": { "line": 132, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "amount", "start": 4024, "end": 4030, "loc": { "start": { "line": 132, "column": 88 }, "end": { "line": 132, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4030, "end": 4031, "loc": { "start": { "line": 132, "column": 94 }, "end": { "line": 132, "column": 95 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4037, "end": 4038, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets a point in world space to focus on\r\n * @param {Vector} center\r\n ", "start": 4046, "end": 4137, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setDesiredCenter", "start": 4143, "end": 4159, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4159, "end": 4160, "loc": { "start": { "line": 139, "column": 20 }, "end": { "line": 139, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 4160, "end": 4166, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4166, "end": 4167, "loc": { "start": { "line": 139, "column": 27 }, "end": { "line": 139, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4168, "end": 4169, "loc": { "start": { "line": 139, "column": 29 }, "end": { "line": 139, "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": 4179, "end": 4183, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4183, "end": 4184, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 4184, "end": 4197, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4198, "end": 4199, "loc": { "start": { "line": 140, "column": 27 }, "end": { "line": 140, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 4200, "end": 4206, "loc": { "start": { "line": 140, "column": 29 }, "end": { "line": 140, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4206, "end": 4207, "loc": { "start": { "line": 140, "column": 35 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4207, "end": 4211, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4211, "end": 4212, "loc": { "start": { "line": 140, "column": 40 }, "end": { "line": 140, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4212, "end": 4213, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4213, "end": 4214, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "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": 4224, "end": 4228, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4228, "end": 4229, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 4229, "end": 4244, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4245, "end": 4246, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 30 } } }, { "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": 4247, "end": 4252, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4252, "end": 4253, "loc": { "start": { "line": 141, "column": 36 }, "end": { "line": 141, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4259, "end": 4260, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets a desired zoom level\r\n * @param {number} zoom\r\n ", "start": 4268, "end": 4343, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setDesiredZoom", "start": 4349, "end": 4363, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4363, "end": 4364, "loc": { "start": { "line": 148, "column": 18 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 4364, "end": 4368, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4368, "end": 4369, "loc": { "start": { "line": 148, "column": 23 }, "end": { "line": 148, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4370, "end": 4371, "loc": { "start": { "line": 148, "column": 25 }, "end": { "line": 148, "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": 4381, "end": 4385, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4385, "end": 4386, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 4386, "end": 4397, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4398, "end": 4399, "loc": { "start": { "line": 149, "column": 25 }, "end": { "line": 149, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 4400, "end": 4404, "loc": { "start": { "line": 149, "column": 27 }, "end": { "line": 149, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4404, "end": 4405, "loc": { "start": { "line": 149, "column": 31 }, "end": { "line": 149, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4411, "end": 4412, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if this camera is currently moving by a non-user interaction\r\n ", "start": 4420, "end": 4509, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 154, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isCurrentlyMovingToDesiredCenter", "start": 4515, "end": 4547, "loc": { "start": { "line": 155, "column": 4 }, "end": { "line": 155, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4547, "end": 4548, "loc": { "start": { "line": 155, "column": 36 }, "end": { "line": 155, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4548, "end": 4549, "loc": { "start": { "line": 155, "column": 37 }, "end": { "line": 155, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4550, "end": 4551, "loc": { "start": { "line": 155, "column": 39 }, "end": { "line": 155, "column": 40 } } }, { "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": 4561, "end": 4567, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "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": 4568, "end": 4572, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4572, "end": 4573, "loc": { "start": { "line": 156, "column": 19 }, "end": { "line": 156, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 4573, "end": 4586, "loc": { "start": { "line": 156, "column": 20 }, "end": { "line": 156, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4587, "end": 4590, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 37 } } }, { "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": 4591, "end": 4595, "loc": { "start": { "line": 156, "column": 38 }, "end": { "line": 156, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4595, "end": 4596, "loc": { "start": { "line": 156, "column": 42 }, "end": { "line": 156, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4602, "end": 4603, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets the camera pan, every frame the camera will move by this amount\r\n * @param {Vector} pan\r\n ", "start": 4611, "end": 4728, "loc": { "start": { "line": 159, "column": 4 }, "end": { "line": 162, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setPan", "start": 4734, "end": 4740, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4740, "end": 4741, "loc": { "start": { "line": 163, "column": 10 }, "end": { "line": 163, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pan", "start": 4741, "end": 4744, "loc": { "start": { "line": 163, "column": 11 }, "end": { "line": 163, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4744, "end": 4745, "loc": { "start": { "line": 163, "column": 14 }, "end": { "line": 163, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4746, "end": 4747, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4757, "end": 4761, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4761, "end": 4762, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredPan", "start": 4762, "end": 4772, "loc": { "start": { "line": 164, "column": 13 }, "end": { "line": 164, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4773, "end": 4774, "loc": { "start": { "line": 164, "column": 24 }, "end": { "line": 164, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pan", "start": 4775, "end": 4778, "loc": { "start": { "line": 164, "column": 26 }, "end": { "line": 164, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4779, "end": 4783, "loc": { "start": { "line": 164, "column": 30 }, "end": { "line": 164, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4783, "end": 4784, "loc": { "start": { "line": 164, "column": 34 }, "end": { "line": 164, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4784, "end": 4785, "loc": { "start": { "line": 164, "column": 35 }, "end": { "line": 164, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4785, "end": 4786, "loc": { "start": { "line": 164, "column": 36 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4792, "end": 4793, "loc": { "start": { "line": 165, "column": 4 }, "end": { "line": 165, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Finds a good initial zoom level\r\n ", "start": 4801, "end": 4853, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findInitialZoom", "start": 4859, "end": 4874, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4874, "end": 4875, "loc": { "start": { "line": 170, "column": 19 }, "end": { "line": 170, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4875, "end": 4876, "loc": { "start": { "line": 170, "column": 20 }, "end": { "line": 170, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4877, "end": 4878, "loc": { "start": { "line": 170, "column": 22 }, "end": { "line": 170, "column": 23 } } }, { "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": 4888, "end": 4893, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredWorldSpaceWidth", "start": 4894, "end": 4916, "loc": { "start": { "line": 171, "column": 14 }, "end": { "line": 171, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4917, "end": 4918, "loc": { "start": { "line": 171, "column": 37 }, "end": { "line": 171, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 15, "start": 4919, "end": 4921, "loc": { "start": { "line": 171, "column": 39 }, "end": { "line": 171, "column": 41 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4922, "end": 4923, "loc": { "start": { "line": 171, "column": 42 }, "end": { "line": 171, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4924, "end": 4936, "loc": { "start": { "line": 171, "column": 44 }, "end": { "line": 171, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4936, "end": 4937, "loc": { "start": { "line": 171, "column": 56 }, "end": { "line": 171, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 4937, "end": 4945, "loc": { "start": { "line": 171, "column": 57 }, "end": { "line": 171, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4945, "end": 4946, "loc": { "start": { "line": 171, "column": 65 }, "end": { "line": 171, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4956, "end": 4961, "loc": { "start": { "line": 172, "column": 8 }, "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": "zoomLevelX", "start": 4962, "end": 4972, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4973, "end": 4974, "loc": { "start": { "line": 172, "column": 25 }, "end": { "line": 172, "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": 4975, "end": 4979, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4979, "end": 4980, "loc": { "start": { "line": 172, "column": 31 }, "end": { "line": 172, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4980, "end": 4984, "loc": { "start": { "line": 172, "column": 32 }, "end": { "line": 172, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4984, "end": 4985, "loc": { "start": { "line": 172, "column": 36 }, "end": { "line": 172, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 4985, "end": 4994, "loc": { "start": { "line": 172, "column": 37 }, "end": { "line": 172, "column": 46 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 4995, "end": 4996, "loc": { "start": { "line": 172, "column": 47 }, "end": { "line": 172, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredWorldSpaceWidth", "start": 4997, "end": 5019, "loc": { "start": { "line": 172, "column": 49 }, "end": { "line": 172, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5019, "end": 5020, "loc": { "start": { "line": 172, "column": 71 }, "end": { "line": 172, "column": 72 } } }, { "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": 5030, "end": 5035, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevelY", "start": 5036, "end": 5046, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5047, "end": 5048, "loc": { "start": { "line": 173, "column": 25 }, "end": { "line": 173, "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": 5049, "end": 5053, "loc": { "start": { "line": 173, "column": 27 }, "end": { "line": 173, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5053, "end": 5054, "loc": { "start": { "line": 173, "column": 31 }, "end": { "line": 173, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5054, "end": 5058, "loc": { "start": { "line": 173, "column": 32 }, "end": { "line": 173, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5058, "end": 5059, "loc": { "start": { "line": 173, "column": 36 }, "end": { "line": 173, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 5059, "end": 5069, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 47 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5070, "end": 5071, "loc": { "start": { "line": 173, "column": 48 }, "end": { "line": 173, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredWorldSpaceWidth", "start": 5072, "end": 5094, "loc": { "start": { "line": 173, "column": 50 }, "end": { "line": 173, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 173, "column": 72 }, "end": { "line": 173, "column": 73 } } }, { "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": 5107, "end": 5112, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "finalLevel", "start": 5113, "end": 5123, "loc": { "start": { "line": 175, "column": 14 }, "end": { "line": 175, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5124, "end": 5125, "loc": { "start": { "line": 175, "column": 25 }, "end": { "line": 175, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 5126, "end": 5130, "loc": { "start": { "line": 175, "column": 27 }, "end": { "line": 175, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5130, "end": 5131, "loc": { "start": { "line": 175, "column": 31 }, "end": { "line": 175, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 5131, "end": 5134, "loc": { "start": { "line": 175, "column": 32 }, "end": { "line": 175, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5134, "end": 5135, "loc": { "start": { "line": 175, "column": 35 }, "end": { "line": 175, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevelX", "start": 5135, "end": 5145, "loc": { "start": { "line": 175, "column": 36 }, "end": { "line": 175, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5145, "end": 5146, "loc": { "start": { "line": 175, "column": 46 }, "end": { "line": 175, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevelY", "start": 5147, "end": 5157, "loc": { "start": { "line": 175, "column": 48 }, "end": { "line": 175, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5157, "end": 5158, "loc": { "start": { "line": 175, "column": 58 }, "end": { "line": 175, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5158, "end": 5159, "loc": { "start": { "line": 175, "column": 59 }, "end": { "line": 175, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 5169, "end": 5175, "loc": { "start": { "line": 176, "column": 8 }, "end": { "line": 176, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5175, "end": 5176, "loc": { "start": { "line": 176, "column": 14 }, "end": { "line": 176, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 5190, "end": 5196, "loc": { "start": { "line": 177, "column": 12 }, "end": { "line": 177, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5196, "end": 5197, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 177, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 5197, "end": 5205, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5205, "end": 5206, "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "finalLevel", "start": 5206, "end": 5216, "loc": { "start": { "line": 177, "column": 28 }, "end": { "line": 177, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5216, "end": 5217, "loc": { "start": { "line": 177, "column": 38 }, "end": { "line": 177, "column": 39 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5218, "end": 5220, "loc": { "start": { "line": 177, "column": 40 }, "end": { "line": 177, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "finalLevel", "start": 5221, "end": 5231, "loc": { "start": { "line": 177, "column": 43 }, "end": { "line": 177, "column": 53 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5232, "end": 5233, "loc": { "start": { "line": 177, "column": 54 }, "end": { "line": 177, "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": 5234, "end": 5235, "loc": { "start": { "line": 177, "column": 56 }, "end": { "line": 177, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5235, "end": 5236, "loc": { "start": { "line": 177, "column": 57 }, "end": { "line": 177, "column": 58 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid zoom level computed for initial zoom: ", "start": 5250, "end": 5298, "loc": { "start": { "line": 178, "column": 12 }, "end": { "line": 178, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5299, "end": 5300, "loc": { "start": { "line": 178, "column": 61 }, "end": { "line": 178, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "finalLevel", "start": 5301, "end": 5311, "loc": { "start": { "line": 178, "column": 63 }, "end": { "line": 178, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5321, "end": 5322, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5322, "end": 5323, "loc": { "start": { "line": 179, "column": 9 }, "end": { "line": 179, "column": 10 } } }, { "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": 5333, "end": 5339, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "finalLevel", "start": 5340, "end": 5350, "loc": { "start": { "line": 180, "column": 15 }, "end": { "line": 180, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5350, "end": 5351, "loc": { "start": { "line": 180, "column": 25 }, "end": { "line": 180, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5357, "end": 5358, "loc": { "start": { "line": 181, "column": 4 }, "end": { "line": 181, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clears all animations\r\n ", "start": 5366, "end": 5408, "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": "clearAnimations", "start": 5414, "end": 5429, "loc": { "start": { "line": 186, "column": 4 }, "end": { "line": 186, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5429, "end": 5430, "loc": { "start": { "line": 186, "column": 19 }, "end": { "line": 186, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5430, "end": 5431, "loc": { "start": { "line": 186, "column": 20 }, "end": { "line": 186, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5432, "end": 5433, "loc": { "start": { "line": 186, "column": 22 }, "end": { "line": 186, "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": 5443, "end": 5447, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5447, "end": 5448, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 5448, "end": 5469, "loc": { "start": { "line": 187, "column": 13 }, "end": { "line": 187, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5469, "end": 5470, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5470, "end": 5471, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5472, "end": 5473, "loc": { "start": { "line": 187, "column": 37 }, "end": { "line": 187, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5474, "end": 5475, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 187, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5475, "end": 5476, "loc": { "start": { "line": 187, "column": 40 }, "end": { "line": 187, "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": 5486, "end": 5490, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5490, "end": 5491, "loc": { "start": { "line": 188, "column": 12 }, "end": { "line": 188, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 5491, "end": 5512, "loc": { "start": { "line": 188, "column": 13 }, "end": { "line": 188, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5512, "end": 5513, "loc": { "start": { "line": 188, "column": 34 }, "end": { "line": 188, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5513, "end": 5514, "loc": { "start": { "line": 188, "column": 35 }, "end": { "line": 188, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5515, "end": 5516, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5517, "end": 5518, "loc": { "start": { "line": 188, "column": 39 }, "end": { "line": 188, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5518, "end": 5519, "loc": { "start": { "line": 188, "column": 40 }, "end": { "line": 188, "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": 5529, "end": 5533, "loc": { "start": { "line": 189, "column": 8 }, "end": { "line": 189, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5533, "end": 5534, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 5534, "end": 5547, "loc": { "start": { "line": 189, "column": 13 }, "end": { "line": 189, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5548, "end": 5549, "loc": { "start": { "line": 189, "column": 27 }, "end": { "line": 189, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 5550, "end": 5554, "loc": { "start": { "line": 189, "column": 29 }, "end": { "line": 189, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5554, "end": 5555, "loc": { "start": { "line": 189, "column": 33 }, "end": { "line": 189, "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": 5565, "end": 5569, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5569, "end": 5570, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredPan", "start": 5570, "end": 5580, "loc": { "start": { "line": 190, "column": 13 }, "end": { "line": 190, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5580, "end": 5581, "loc": { "start": { "line": 190, "column": 23 }, "end": { "line": 190, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5581, "end": 5582, "loc": { "start": { "line": 190, "column": 24 }, "end": { "line": 190, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5583, "end": 5584, "loc": { "start": { "line": 190, "column": 26 }, "end": { "line": 190, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5585, "end": 5586, "loc": { "start": { "line": 190, "column": 28 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5586, "end": 5587, "loc": { "start": { "line": 190, "column": 29 }, "end": { "line": 190, "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": 5597, "end": 5601, "loc": { "start": { "line": 191, "column": 8 }, "end": { "line": 191, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5601, "end": 5602, "loc": { "start": { "line": 191, "column": 12 }, "end": { "line": 191, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredPan", "start": 5602, "end": 5612, "loc": { "start": { "line": 191, "column": 13 }, "end": { "line": 191, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5612, "end": 5613, "loc": { "start": { "line": 191, "column": 23 }, "end": { "line": 191, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5613, "end": 5614, "loc": { "start": { "line": 191, "column": 24 }, "end": { "line": 191, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5615, "end": 5616, "loc": { "start": { "line": 191, "column": 26 }, "end": { "line": 191, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5617, "end": 5618, "loc": { "start": { "line": 191, "column": 28 }, "end": { "line": 191, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5618, "end": 5619, "loc": { "start": { "line": 191, "column": 29 }, "end": { "line": 191, "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": 5629, "end": 5633, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5633, "end": 5634, "loc": { "start": { "line": 192, "column": 12 }, "end": { "line": 192, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 5634, "end": 5644, "loc": { "start": { "line": 192, "column": 13 }, "end": { "line": 192, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5644, "end": 5645, "loc": { "start": { "line": 192, "column": 23 }, "end": { "line": 192, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5645, "end": 5646, "loc": { "start": { "line": 192, "column": 24 }, "end": { "line": 192, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5647, "end": 5648, "loc": { "start": { "line": 192, "column": 26 }, "end": { "line": 192, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5649, "end": 5650, "loc": { "start": { "line": 192, "column": 28 }, "end": { "line": 192, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5650, "end": 5651, "loc": { "start": { "line": 192, "column": 29 }, "end": { "line": 192, "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": 5661, "end": 5665, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5665, "end": 5666, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 5666, "end": 5676, "loc": { "start": { "line": 193, "column": 13 }, "end": { "line": 193, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5676, "end": 5677, "loc": { "start": { "line": 193, "column": 23 }, "end": { "line": 193, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5677, "end": 5678, "loc": { "start": { "line": 193, "column": 24 }, "end": { "line": 193, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5679, "end": 5680, "loc": { "start": { "line": 193, "column": 26 }, "end": { "line": 193, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5681, "end": 5682, "loc": { "start": { "line": 193, "column": 28 }, "end": { "line": 193, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5682, "end": 5683, "loc": { "start": { "line": 193, "column": 29 }, "end": { "line": 193, "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": 5693, "end": 5697, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5697, "end": 5698, "loc": { "start": { "line": 194, "column": 12 }, "end": { "line": 194, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 5698, "end": 5715, "loc": { "start": { "line": 194, "column": 13 }, "end": { "line": 194, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5716, "end": 5717, "loc": { "start": { "line": 194, "column": 31 }, "end": { "line": 194, "column": 32 } } }, { "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": 5718, "end": 5723, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5723, "end": 5724, "loc": { "start": { "line": 194, "column": 38 }, "end": { "line": 194, "column": 39 } } }, { "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": 5734, "end": 5738, "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": 5738, "end": 5739, "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": "currentlyMoving", "start": 5739, "end": 5754, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5755, "end": 5756, "loc": { "start": { "line": 195, "column": 29 }, "end": { "line": 195, "column": 30 } } }, { "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": 5757, "end": 5762, "loc": { "start": { "line": 195, "column": 31 }, "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": 5762, "end": 5763, "loc": { "start": { "line": 195, "column": 36 }, "end": { "line": 195, "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": 5773, "end": 5777, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5777, "end": 5778, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 5778, "end": 5796, "loc": { "start": { "line": 196, "column": 13 }, "end": { "line": 196, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5797, "end": 5798, "loc": { "start": { "line": 196, "column": 32 }, "end": { "line": 196, "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": 5799, "end": 5803, "loc": { "start": { "line": 196, "column": 34 }, "end": { "line": 196, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5803, "end": 5804, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 39 } } }, { "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": 5814, "end": 5818, "loc": { "start": { "line": 197, "column": 8 }, "end": { "line": 197, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5818, "end": 5819, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 5819, "end": 5841, "loc": { "start": { "line": 197, "column": 13 }, "end": { "line": 197, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5842, "end": 5843, "loc": { "start": { "line": 197, "column": 36 }, "end": { "line": 197, "column": 37 } } }, { "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": 5844, "end": 5849, "loc": { "start": { "line": 197, "column": 38 }, "end": { "line": 197, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5849, "end": 5850, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "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": 5860, "end": 5864, "loc": { "start": { "line": 198, "column": 8 }, "end": { "line": 198, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5864, "end": 5865, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 5865, "end": 5876, "loc": { "start": { "line": 198, "column": 13 }, "end": { "line": 198, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5877, "end": 5878, "loc": { "start": { "line": 198, "column": 25 }, "end": { "line": 198, "column": 26 } } }, { "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": 5879, "end": 5883, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5883, "end": 5884, "loc": { "start": { "line": 198, "column": 31 }, "end": { "line": 198, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5890, "end": 5891, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the user is currently interacting with the camera\r\n * @returns {boolean} true if the user interacts\r\n ", "start": 5899, "end": 6034, "loc": { "start": { "line": 201, "column": 4 }, "end": { "line": 204, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isCurrentlyInteracting", "start": 6040, "end": 6062, "loc": { "start": { "line": 205, "column": 4 }, "end": { "line": 205, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6062, "end": 6063, "loc": { "start": { "line": 205, "column": 26 }, "end": { "line": 205, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6063, "end": 6064, "loc": { "start": { "line": 205, "column": 27 }, "end": { "line": 205, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6065, "end": 6066, "loc": { "start": { "line": 205, "column": 29 }, "end": { "line": 205, "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": 6076, "end": 6078, "loc": { "start": { "line": 206, "column": 8 }, "end": { "line": 206, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6079, "end": 6080, "loc": { "start": { "line": 206, "column": 11 }, "end": { "line": 206, "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": 6080, "end": 6084, "loc": { "start": { "line": 206, "column": 12 }, "end": { "line": 206, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6084, "end": 6085, "loc": { "start": { "line": 206, "column": 16 }, "end": { "line": 206, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 6085, "end": 6102, "loc": { "start": { "line": 206, "column": 17 }, "end": { "line": 206, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6102, "end": 6103, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6104, "end": 6105, "loc": { "start": { "line": 206, "column": 36 }, "end": { "line": 206, "column": 37 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 6119, "end": 6125, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 18 } } }, { "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": 6126, "end": 6130, "loc": { "start": { "line": 207, "column": 19 }, "end": { "line": 207, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6130, "end": 6131, "loc": { "start": { "line": 207, "column": 23 }, "end": { "line": 207, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6141, "end": 6142, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6152, "end": 6154, "loc": { "start": { "line": 209, "column": 8 }, "end": { "line": 209, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6155, "end": 6156, "loc": { "start": { "line": 209, "column": 11 }, "end": { "line": 209, "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": 6156, "end": 6160, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6160, "end": 6161, "loc": { "start": { "line": 209, "column": 16 }, "end": { "line": 209, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 6161, "end": 6176, "loc": { "start": { "line": 209, "column": 17 }, "end": { "line": 209, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6176, "end": 6177, "loc": { "start": { "line": 209, "column": 32 }, "end": { "line": 209, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6178, "end": 6179, "loc": { "start": { "line": 209, "column": 34 }, "end": { "line": 209, "column": 35 } } }, { "type": "CommentLine", "value": " Only interacting if moved at least once", "start": 6193, "end": 6235, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 54 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 6249, "end": 6255, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "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": 6256, "end": 6260, "loc": { "start": { "line": 211, "column": 19 }, "end": { "line": 211, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6260, "end": 6261, "loc": { "start": { "line": 211, "column": 23 }, "end": { "line": 211, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 6261, "end": 6283, "loc": { "start": { "line": 211, "column": 24 }, "end": { "line": 211, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6283, "end": 6284, "loc": { "start": { "line": 211, "column": 46 }, "end": { "line": 211, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6294, "end": 6295, "loc": { "start": { "line": 212, "column": 8 }, "end": { "line": 212, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6305, "end": 6307, "loc": { "start": { "line": 213, "column": 8 }, "end": { "line": 213, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6308, "end": 6309, "loc": { "start": { "line": 213, "column": 11 }, "end": { "line": 213, "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": 6309, "end": 6313, "loc": { "start": { "line": 213, "column": 12 }, "end": { "line": 213, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6313, "end": 6314, "loc": { "start": { "line": 213, "column": 16 }, "end": { "line": 213, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 6314, "end": 6335, "loc": { "start": { "line": 213, "column": 17 }, "end": { "line": 213, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6335, "end": 6336, "loc": { "start": { "line": 213, "column": 38 }, "end": { "line": 213, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lengthSquare", "start": 6336, "end": 6348, "loc": { "start": { "line": 213, "column": 39 }, "end": { "line": 213, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6348, "end": 6349, "loc": { "start": { "line": 213, "column": 51 }, "end": { "line": 213, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6349, "end": 6350, "loc": { "start": { "line": 213, "column": 52 }, "end": { "line": 213, "column": 53 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 6351, "end": 6352, "loc": { "start": { "line": 213, "column": 54 }, "end": { "line": 213, "column": 55 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 6353, "end": 6354, "loc": { "start": { "line": 213, "column": 56 }, "end": { "line": 213, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6354, "end": 6355, "loc": { "start": { "line": 213, "column": 57 }, "end": { "line": 213, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6356, "end": 6357, "loc": { "start": { "line": 213, "column": 59 }, "end": { "line": 213, "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": 6371, "end": 6377, "loc": { "start": { "line": 214, "column": 12 }, "end": { "line": 214, "column": 18 } } }, { "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": 6378, "end": 6382, "loc": { "start": { "line": 214, "column": 19 }, "end": { "line": 214, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 214, "column": 23 }, "end": { "line": 214, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6393, "end": 6394, "loc": { "start": { "line": 215, "column": 8 }, "end": { "line": 215, "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": 6404, "end": 6410, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 6411, "end": 6416, "loc": { "start": { "line": 216, "column": 15 }, "end": { "line": 216, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6416, "end": 6417, "loc": { "start": { "line": 216, "column": 20 }, "end": { "line": 216, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6423, "end": 6424, "loc": { "start": { "line": 217, "column": 4 }, "end": { "line": 217, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if in the next frame the viewport will change\r\n * @returns {boolean} true if it willchange\r\n ", "start": 6432, "end": 6555, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 222, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "viewportWillChange", "start": 6561, "end": 6579, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6579, "end": 6580, "loc": { "start": { "line": 223, "column": 22 }, "end": { "line": 223, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6580, "end": 6581, "loc": { "start": { "line": 223, "column": 23 }, "end": { "line": 223, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6582, "end": 6583, "loc": { "start": { "line": 223, "column": 25 }, "end": { "line": 223, "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": 6593, "end": 6599, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "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": 6600, "end": 6604, "loc": { "start": { "line": 224, "column": 15 }, "end": { "line": 224, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6604, "end": 6605, "loc": { "start": { "line": 224, "column": 19 }, "end": { "line": 224, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 6605, "end": 6618, "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6619, "end": 6622, "loc": { "start": { "line": 224, "column": 34 }, "end": { "line": 224, "column": 37 } } }, { "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": 6623, "end": 6627, "loc": { "start": { "line": 224, "column": 38 }, "end": { "line": 224, "column": 42 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6628, "end": 6630, "loc": { "start": { "line": 224, "column": 43 }, "end": { "line": 224, "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": 6631, "end": 6635, "loc": { "start": { "line": 224, "column": 46 }, "end": { "line": 224, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6635, "end": 6636, "loc": { "start": { "line": 224, "column": 50 }, "end": { "line": 224, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 6636, "end": 6647, "loc": { "start": { "line": 224, "column": 51 }, "end": { "line": 224, "column": 62 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6648, "end": 6651, "loc": { "start": { "line": 224, "column": 63 }, "end": { "line": 224, "column": 66 } } }, { "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": 6652, "end": 6656, "loc": { "start": { "line": 224, "column": 67 }, "end": { "line": 224, "column": 71 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 6657, "end": 6659, "loc": { "start": { "line": 224, "column": 72 }, "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": 6660, "end": 6664, "loc": { "start": { "line": 224, "column": 75 }, "end": { "line": 224, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6664, "end": 6665, "loc": { "start": { "line": 224, "column": 79 }, "end": { "line": 224, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isCurrentlyInteracting", "start": 6665, "end": 6687, "loc": { "start": { "line": 224, "column": 80 }, "end": { "line": 224, "column": 102 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6687, "end": 6688, "loc": { "start": { "line": 224, "column": 102 }, "end": { "line": 224, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6688, "end": 6689, "loc": { "start": { "line": 224, "column": 103 }, "end": { "line": 224, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6689, "end": 6690, "loc": { "start": { "line": 224, "column": 104 }, "end": { "line": 224, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6696, "end": 6697, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Cancels all interactions, that is user interaction and non user interaction\r\n ", "start": 6705, "end": 6801, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 229, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelAllInteractions", "start": 6807, "end": 6828, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6828, "end": 6829, "loc": { "start": { "line": 230, "column": 25 }, "end": { "line": 230, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6829, "end": 6830, "loc": { "start": { "line": 230, "column": 26 }, "end": { "line": 230, "column": 27 } } }, { "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": 230, "column": 28 }, "end": { "line": 230, "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": 6842, "end": 6846, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6846, "end": 6847, "loc": { "start": { "line": 231, "column": 12 }, "end": { "line": 231, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 6847, "end": 6868, "loc": { "start": { "line": 231, "column": 13 }, "end": { "line": 231, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6869, "end": 6870, "loc": { "start": { "line": 231, "column": 35 }, "end": { "line": 231, "column": 36 } } }, { "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": 6871, "end": 6874, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 6875, "end": 6881, "loc": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6881, "end": 6882, "loc": { "start": { "line": 231, "column": 47 }, "end": { "line": 231, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6882, "end": 6883, "loc": { "start": { "line": 231, "column": 48 }, "end": { "line": 231, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6883, "end": 6884, "loc": { "start": { "line": 231, "column": 49 }, "end": { "line": 231, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6885, "end": 6886, "loc": { "start": { "line": 231, "column": 51 }, "end": { "line": 231, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6886, "end": 6887, "loc": { "start": { "line": 231, "column": 52 }, "end": { "line": 231, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6887, "end": 6888, "loc": { "start": { "line": 231, "column": 53 }, "end": { "line": 231, "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": 6898, "end": 6902, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6902, "end": 6903, "loc": { "start": { "line": 232, "column": 12 }, "end": { "line": 232, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 6903, "end": 6916, "loc": { "start": { "line": 232, "column": 13 }, "end": { "line": 232, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6917, "end": 6918, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 6919, "end": 6923, "loc": { "start": { "line": 232, "column": 29 }, "end": { "line": 232, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6923, "end": 6924, "loc": { "start": { "line": 232, "column": 33 }, "end": { "line": 232, "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": 6934, "end": 6938, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6938, "end": 6939, "loc": { "start": { "line": 233, "column": 12 }, "end": { "line": 233, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 6939, "end": 6954, "loc": { "start": { "line": 233, "column": 13 }, "end": { "line": 233, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6955, "end": 6956, "loc": { "start": { "line": 233, "column": 29 }, "end": { "line": 233, "column": 30 } } }, { "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": 6957, "end": 6962, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 233, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6962, "end": 6963, "loc": { "start": { "line": 233, "column": 36 }, "end": { "line": 233, "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": 6973, "end": 6977, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6977, "end": 6978, "loc": { "start": { "line": 234, "column": 12 }, "end": { "line": 234, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 6978, "end": 6995, "loc": { "start": { "line": 234, "column": 13 }, "end": { "line": 234, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6996, "end": 6997, "loc": { "start": { "line": 234, "column": 31 }, "end": { "line": 234, "column": 32 } } }, { "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": 6998, "end": 7003, "loc": { "start": { "line": 234, "column": 33 }, "end": { "line": 234, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7003, "end": 7004, "loc": { "start": { "line": 234, "column": 38 }, "end": { "line": 234, "column": 39 } } }, { "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": 7014, "end": 7018, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7018, "end": 7019, "loc": { "start": { "line": 235, "column": 12 }, "end": { "line": 235, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 7019, "end": 7030, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7031, "end": 7032, "loc": { "start": { "line": 235, "column": 25 }, "end": { "line": 235, "column": 26 } } }, { "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": 7033, "end": 7037, "loc": { "start": { "line": 235, "column": 27 }, "end": { "line": 235, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7037, "end": 7038, "loc": { "start": { "line": 235, "column": 31 }, "end": { "line": 235, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7044, "end": 7045, "loc": { "start": { "line": 236, "column": 4 }, "end": { "line": 236, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport width\r\n ", "start": 7053, "end": 7106, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportWidth", "start": 7112, "end": 7128, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7128, "end": 7129, "loc": { "start": { "line": 241, "column": 20 }, "end": { "line": 241, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7129, "end": 7130, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7131, "end": 7132, "loc": { "start": { "line": 241, "column": 23 }, "end": { "line": 241, "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": 7142, "end": 7148, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "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": 7149, "end": 7153, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7153, "end": 7154, "loc": { "start": { "line": 242, "column": 19 }, "end": { "line": 242, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 7154, "end": 7158, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7158, "end": 7159, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 7159, "end": 7168, "loc": { "start": { "line": 242, "column": 25 }, "end": { "line": 242, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7169, "end": 7170, "loc": { "start": { "line": 242, "column": 35 }, "end": { "line": 242, "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": 7171, "end": 7175, "loc": { "start": { "line": 242, "column": 37 }, "end": { "line": 242, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7175, "end": 7176, "loc": { "start": { "line": 242, "column": 41 }, "end": { "line": 242, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 7176, "end": 7185, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7185, "end": 7186, "loc": { "start": { "line": 242, "column": 51 }, "end": { "line": 242, "column": 52 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7192, "end": 7193, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective viewport height\r\n ", "start": 7201, "end": 7255, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 247, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportHeight", "start": 7261, "end": 7278, "loc": { "start": { "line": 248, "column": 4 }, "end": { "line": 248, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7278, "end": 7279, "loc": { "start": { "line": 248, "column": 21 }, "end": { "line": 248, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7279, "end": 7280, "loc": { "start": { "line": 248, "column": 22 }, "end": { "line": 248, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7281, "end": 7282, "loc": { "start": { "line": 248, "column": 24 }, "end": { "line": 248, "column": 25 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 7292, "end": 7298, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "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": 7299, "end": 7303, "loc": { "start": { "line": 249, "column": 15 }, "end": { "line": 249, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7303, "end": 7304, "loc": { "start": { "line": 249, "column": 19 }, "end": { "line": 249, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 7304, "end": 7308, "loc": { "start": { "line": 249, "column": 20 }, "end": { "line": 249, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7308, "end": 7309, "loc": { "start": { "line": 249, "column": 24 }, "end": { "line": 249, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 7309, "end": 7319, "loc": { "start": { "line": 249, "column": 25 }, "end": { "line": 249, "column": 35 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7320, "end": 7321, "loc": { "start": { "line": 249, "column": 36 }, "end": { "line": 249, "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": 7322, "end": 7326, "loc": { "start": { "line": 249, "column": 38 }, "end": { "line": 249, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7326, "end": 7327, "loc": { "start": { "line": 249, "column": 42 }, "end": { "line": 249, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 7327, "end": 7336, "loc": { "start": { "line": 249, "column": 43 }, "end": { "line": 249, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7336, "end": 7337, "loc": { "start": { "line": 249, "column": 52 }, "end": { "line": 249, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7343, "end": 7344, "loc": { "start": { "line": 250, "column": 4 }, "end": { "line": 250, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport left\r\n ", "start": 7352, "end": 7416, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 254, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportLeft", "start": 7422, "end": 7437, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7437, "end": 7438, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7438, "end": 7439, "loc": { "start": { "line": 255, "column": 20 }, "end": { "line": 255, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7440, "end": 7441, "loc": { "start": { "line": 255, "column": 22 }, "end": { "line": 255, "column": 23 } } }, { "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": 7451, "end": 7457, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "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": 7458, "end": 7462, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7462, "end": 7463, "loc": { "start": { "line": 256, "column": 19 }, "end": { "line": 256, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 7463, "end": 7469, "loc": { "start": { "line": 256, "column": 20 }, "end": { "line": 256, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7469, "end": 7470, "loc": { "start": { "line": 256, "column": 26 }, "end": { "line": 256, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7470, "end": 7471, "loc": { "start": { "line": 256, "column": 27 }, "end": { "line": 256, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7472, "end": 7473, "loc": { "start": { "line": 256, "column": 29 }, "end": { "line": 256, "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": 7474, "end": 7478, "loc": { "start": { "line": 256, "column": 31 }, "end": { "line": 256, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7478, "end": 7479, "loc": { "start": { "line": 256, "column": 35 }, "end": { "line": 256, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportWidth", "start": 7479, "end": 7495, "loc": { "start": { "line": 256, "column": 36 }, "end": { "line": 256, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7495, "end": 7496, "loc": { "start": { "line": 256, "column": 52 }, "end": { "line": 256, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7496, "end": 7497, "loc": { "start": { "line": 256, "column": 53 }, "end": { "line": 256, "column": 54 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7498, "end": 7499, "loc": { "start": { "line": 256, "column": 55 }, "end": { "line": 256, "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": 7500, "end": 7501, "loc": { "start": { "line": 256, "column": 57 }, "end": { "line": 256, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7502, "end": 7503, "loc": { "start": { "line": 256, "column": 59 }, "end": { "line": 256, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7504, "end": 7505, "loc": { "start": { "line": 256, "column": 61 }, "end": { "line": 256, "column": 62 } } }, { "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": 7505, "end": 7509, "loc": { "start": { "line": 256, "column": 62 }, "end": { "line": 256, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7509, "end": 7510, "loc": { "start": { "line": 256, "column": 66 }, "end": { "line": 256, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 7510, "end": 7522, "loc": { "start": { "line": 256, "column": 67 }, "end": { "line": 256, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7522, "end": 7523, "loc": { "start": { "line": 256, "column": 79 }, "end": { "line": 256, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7523, "end": 7524, "loc": { "start": { "line": 256, "column": 80 }, "end": { "line": 256, "column": 81 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 7525, "end": 7526, "loc": { "start": { "line": 256, "column": 82 }, "end": { "line": 256, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 7527, "end": 7529, "loc": { "start": { "line": 256, "column": 84 }, "end": { "line": 256, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7529, "end": 7530, "loc": { "start": { "line": 256, "column": 86 }, "end": { "line": 256, "column": 87 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7531, "end": 7532, "loc": { "start": { "line": 256, "column": 88 }, "end": { "line": 256, "column": 89 } } }, { "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": 7533, "end": 7537, "loc": { "start": { "line": 256, "column": 90 }, "end": { "line": 256, "column": 94 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7537, "end": 7538, "loc": { "start": { "line": 256, "column": 94 }, "end": { "line": 256, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 7538, "end": 7547, "loc": { "start": { "line": 256, "column": 95 }, "end": { "line": 256, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7547, "end": 7548, "loc": { "start": { "line": 256, "column": 104 }, "end": { "line": 256, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7554, "end": 7555, "loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 257, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport right\r\n ", "start": 7563, "end": 7628, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 261, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportRight", "start": 7634, "end": 7650, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 20 } } }, { "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": 262, "column": 20 }, "end": { "line": 262, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7651, "end": 7652, "loc": { "start": { "line": 262, "column": 21 }, "end": { "line": 262, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7653, "end": 7654, "loc": { "start": { "line": 262, "column": 23 }, "end": { "line": 262, "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": 7664, "end": 7670, "loc": { "start": { "line": 263, "column": 8 }, "end": { "line": 263, "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": 7671, "end": 7675, "loc": { "start": { "line": 263, "column": 15 }, "end": { "line": 263, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7675, "end": 7676, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 7676, "end": 7682, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7682, "end": 7683, "loc": { "start": { "line": 263, "column": 26 }, "end": { "line": 263, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7683, "end": 7684, "loc": { "start": { "line": 263, "column": 27 }, "end": { "line": 263, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7685, "end": 7686, "loc": { "start": { "line": 263, "column": 29 }, "end": { "line": 263, "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": 7687, "end": 7691, "loc": { "start": { "line": 263, "column": 31 }, "end": { "line": 263, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 263, "column": 35 }, "end": { "line": 263, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportWidth", "start": 7692, "end": 7708, "loc": { "start": { "line": 263, "column": 36 }, "end": { "line": 263, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7708, "end": 7709, "loc": { "start": { "line": 263, "column": 52 }, "end": { "line": 263, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7709, "end": 7710, "loc": { "start": { "line": 263, "column": 53 }, "end": { "line": 263, "column": 54 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7711, "end": 7712, "loc": { "start": { "line": 263, "column": 55 }, "end": { "line": 263, "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": 7713, "end": 7714, "loc": { "start": { "line": 263, "column": 57 }, "end": { "line": 263, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7715, "end": 7716, "loc": { "start": { "line": 263, "column": 59 }, "end": { "line": 263, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7717, "end": 7718, "loc": { "start": { "line": 263, "column": 61 }, "end": { "line": 263, "column": 62 } } }, { "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": 7718, "end": 7722, "loc": { "start": { "line": 263, "column": 62 }, "end": { "line": 263, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7722, "end": 7723, "loc": { "start": { "line": 263, "column": 66 }, "end": { "line": 263, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 7723, "end": 7735, "loc": { "start": { "line": 263, "column": 67 }, "end": { "line": 263, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7735, "end": 7736, "loc": { "start": { "line": 263, "column": 79 }, "end": { "line": 263, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7736, "end": 7737, "loc": { "start": { "line": 263, "column": 80 }, "end": { "line": 263, "column": 81 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 7738, "end": 7739, "loc": { "start": { "line": 263, "column": 82 }, "end": { "line": 263, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 7740, "end": 7742, "loc": { "start": { "line": 263, "column": 84 }, "end": { "line": 263, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7742, "end": 7743, "loc": { "start": { "line": 263, "column": 86 }, "end": { "line": 263, "column": 87 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7744, "end": 7745, "loc": { "start": { "line": 263, "column": 88 }, "end": { "line": 263, "column": 89 } } }, { "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": 7746, "end": 7750, "loc": { "start": { "line": 263, "column": 90 }, "end": { "line": 263, "column": 94 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7750, "end": 7751, "loc": { "start": { "line": 263, "column": 94 }, "end": { "line": 263, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 7751, "end": 7760, "loc": { "start": { "line": 263, "column": 95 }, "end": { "line": 263, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7760, "end": 7761, "loc": { "start": { "line": 263, "column": 104 }, "end": { "line": 263, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7767, "end": 7768, "loc": { "start": { "line": 264, "column": 4 }, "end": { "line": 264, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport top\r\n ", "start": 7776, "end": 7839, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 268, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportTop", "start": 7845, "end": 7859, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7859, "end": 7860, "loc": { "start": { "line": 269, "column": 18 }, "end": { "line": 269, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7860, "end": 7861, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7862, "end": 7863, "loc": { "start": { "line": 269, "column": 21 }, "end": { "line": 269, "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": 7873, "end": 7879, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "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": 7880, "end": 7884, "loc": { "start": { "line": 270, "column": 15 }, "end": { "line": 270, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7884, "end": 7885, "loc": { "start": { "line": 270, "column": 19 }, "end": { "line": 270, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 7885, "end": 7891, "loc": { "start": { "line": 270, "column": 20 }, "end": { "line": 270, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7891, "end": 7892, "loc": { "start": { "line": 270, "column": 26 }, "end": { "line": 270, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 7892, "end": 7893, "loc": { "start": { "line": 270, "column": 27 }, "end": { "line": 270, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7894, "end": 7895, "loc": { "start": { "line": 270, "column": 29 }, "end": { "line": 270, "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": 7896, "end": 7900, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7900, "end": 7901, "loc": { "start": { "line": 270, "column": 35 }, "end": { "line": 270, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportHeight", "start": 7901, "end": 7918, "loc": { "start": { "line": 270, "column": 36 }, "end": { "line": 270, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7918, "end": 7919, "loc": { "start": { "line": 270, "column": 53 }, "end": { "line": 270, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7919, "end": 7920, "loc": { "start": { "line": 270, "column": 54 }, "end": { "line": 270, "column": 55 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7921, "end": 7922, "loc": { "start": { "line": 270, "column": 56 }, "end": { "line": 270, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7923, "end": 7924, "loc": { "start": { "line": 270, "column": 58 }, "end": { "line": 270, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7925, "end": 7926, "loc": { "start": { "line": 270, "column": 60 }, "end": { "line": 270, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7927, "end": 7928, "loc": { "start": { "line": 270, "column": 62 }, "end": { "line": 270, "column": 63 } } }, { "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": 7928, "end": 7932, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7932, "end": 7933, "loc": { "start": { "line": 270, "column": 67 }, "end": { "line": 270, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 7933, "end": 7945, "loc": { "start": { "line": 270, "column": 68 }, "end": { "line": 270, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7945, "end": 7946, "loc": { "start": { "line": 270, "column": 80 }, "end": { "line": 270, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 7946, "end": 7947, "loc": { "start": { "line": 270, "column": 81 }, "end": { "line": 270, "column": 82 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 7948, "end": 7949, "loc": { "start": { "line": 270, "column": 83 }, "end": { "line": 270, "column": 84 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 7950, "end": 7952, "loc": { "start": { "line": 270, "column": 85 }, "end": { "line": 270, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7952, "end": 7953, "loc": { "start": { "line": 270, "column": 87 }, "end": { "line": 270, "column": 88 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 7954, "end": 7955, "loc": { "start": { "line": 270, "column": 89 }, "end": { "line": 270, "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": 7956, "end": 7960, "loc": { "start": { "line": 270, "column": 91 }, "end": { "line": 270, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7960, "end": 7961, "loc": { "start": { "line": 270, "column": 95 }, "end": { "line": 270, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 7961, "end": 7970, "loc": { "start": { "line": 270, "column": 96 }, "end": { "line": 270, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7970, "end": 7971, "loc": { "start": { "line": 270, "column": 105 }, "end": { "line": 270, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7977, "end": 7978, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 271, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns effective world space viewport bottom\r\n ", "start": 7986, "end": 8052, "loc": { "start": { "line": 273, "column": 4 }, "end": { "line": 275, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportBottom", "start": 8058, "end": 8075, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8075, "end": 8076, "loc": { "start": { "line": 276, "column": 21 }, "end": { "line": 276, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8076, "end": 8077, "loc": { "start": { "line": 276, "column": 22 }, "end": { "line": 276, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8078, "end": 8079, "loc": { "start": { "line": 276, "column": 24 }, "end": { "line": 276, "column": 25 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 8089, "end": 8095, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "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": 8096, "end": 8100, "loc": { "start": { "line": 277, "column": 15 }, "end": { "line": 277, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8100, "end": 8101, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 277, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 8101, "end": 8107, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8107, "end": 8108, "loc": { "start": { "line": 277, "column": 26 }, "end": { "line": 277, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 8108, "end": 8109, "loc": { "start": { "line": 277, "column": 27 }, "end": { "line": 277, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8110, "end": 8111, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "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": 8112, "end": 8116, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8116, "end": 8117, "loc": { "start": { "line": 277, "column": 35 }, "end": { "line": 277, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportHeight", "start": 8117, "end": 8134, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8134, "end": 8135, "loc": { "start": { "line": 277, "column": 53 }, "end": { "line": 277, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8135, "end": 8136, "loc": { "start": { "line": 277, "column": 54 }, "end": { "line": 277, "column": 55 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 8137, "end": 8138, "loc": { "start": { "line": 277, "column": 56 }, "end": { "line": 277, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 8139, "end": 8140, "loc": { "start": { "line": 277, "column": 58 }, "end": { "line": 277, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 8141, "end": 8142, "loc": { "start": { "line": 277, "column": 60 }, "end": { "line": 277, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8143, "end": 8144, "loc": { "start": { "line": 277, "column": 62 }, "end": { "line": 277, "column": 63 } } }, { "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": 8144, "end": 8148, "loc": { "start": { "line": 277, "column": 63 }, "end": { "line": 277, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8148, "end": 8149, "loc": { "start": { "line": 277, "column": 67 }, "end": { "line": 277, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 8149, "end": 8161, "loc": { "start": { "line": 277, "column": 68 }, "end": { "line": 277, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8161, "end": 8162, "loc": { "start": { "line": 277, "column": 80 }, "end": { "line": 277, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 8162, "end": 8163, "loc": { "start": { "line": 277, "column": 81 }, "end": { "line": 277, "column": 82 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 8164, "end": 8165, "loc": { "start": { "line": 277, "column": 83 }, "end": { "line": 277, "column": 84 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 8166, "end": 8168, "loc": { "start": { "line": 277, "column": 85 }, "end": { "line": 277, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8168, "end": 8169, "loc": { "start": { "line": 277, "column": 87 }, "end": { "line": 277, "column": 88 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 8170, "end": 8171, "loc": { "start": { "line": 277, "column": 89 }, "end": { "line": 277, "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": 8172, "end": 8176, "loc": { "start": { "line": 277, "column": 91 }, "end": { "line": 277, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8176, "end": 8177, "loc": { "start": { "line": 277, "column": 95 }, "end": { "line": 277, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 8177, "end": 8186, "loc": { "start": { "line": 277, "column": 96 }, "end": { "line": 277, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8186, "end": 8187, "loc": { "start": { "line": 277, "column": 105 }, "end": { "line": 277, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8193, "end": 8194, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the visible world space rect\r\n * @returns {Rectangle}\r\n ", "start": 8202, "end": 8288, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 283, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getVisibleRect", "start": 8294, "end": 8308, "loc": { "start": { "line": 284, "column": 4 }, "end": { "line": 284, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8308, "end": 8309, "loc": { "start": { "line": 284, "column": 18 }, "end": { "line": 284, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8309, "end": 8310, "loc": { "start": { "line": 284, "column": 19 }, "end": { "line": 284, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8311, "end": 8312, "loc": { "start": { "line": 284, "column": 21 }, "end": { "line": 284, "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": 8322, "end": 8328, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Rectangle", "start": 8329, "end": 8338, "loc": { "start": { "line": 285, "column": 15 }, "end": { "line": 285, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8338, "end": 8339, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromTRBL", "start": 8339, "end": 8347, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8347, "end": 8348, "loc": { "start": { "line": 285, "column": 33 }, "end": { "line": 285, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 8362, "end": 8366, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8366, "end": 8367, "loc": { "start": { "line": 286, "column": 16 }, "end": { "line": 286, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 8367, "end": 8372, "loc": { "start": { "line": 286, "column": 17 }, "end": { "line": 286, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8372, "end": 8373, "loc": { "start": { "line": 286, "column": 22 }, "end": { "line": 286, "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": 8373, "end": 8377, "loc": { "start": { "line": 286, "column": 23 }, "end": { "line": 286, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8377, "end": 8378, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportTop", "start": 8378, "end": 8392, "loc": { "start": { "line": 286, "column": 28 }, "end": { "line": 286, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8392, "end": 8393, "loc": { "start": { "line": 286, "column": 42 }, "end": { "line": 286, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8393, "end": 8394, "loc": { "start": { "line": 286, "column": 43 }, "end": { "line": 286, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8394, "end": 8395, "loc": { "start": { "line": 286, "column": 44 }, "end": { "line": 286, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8395, "end": 8396, "loc": { "start": { "line": 286, "column": 45 }, "end": { "line": 286, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 8410, "end": 8414, "loc": { "start": { "line": 287, "column": 12 }, "end": { "line": 287, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8414, "end": 8415, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 287, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ceil", "start": 8415, "end": 8419, "loc": { "start": { "line": 287, "column": 17 }, "end": { "line": 287, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8419, "end": 8420, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 287, "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": 8420, "end": 8424, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8424, "end": 8425, "loc": { "start": { "line": 287, "column": 26 }, "end": { "line": 287, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportRight", "start": 8425, "end": 8441, "loc": { "start": { "line": 287, "column": 27 }, "end": { "line": 287, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8441, "end": 8442, "loc": { "start": { "line": 287, "column": 43 }, "end": { "line": 287, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8442, "end": 8443, "loc": { "start": { "line": 287, "column": 44 }, "end": { "line": 287, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8443, "end": 8444, "loc": { "start": { "line": 287, "column": 45 }, "end": { "line": 287, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8444, "end": 8445, "loc": { "start": { "line": 287, "column": 46 }, "end": { "line": 287, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 8459, "end": 8463, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8463, "end": 8464, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ceil", "start": 8464, "end": 8468, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8468, "end": 8469, "loc": { "start": { "line": 288, "column": 21 }, "end": { "line": 288, "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": 8469, "end": 8473, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8473, "end": 8474, "loc": { "start": { "line": 288, "column": 26 }, "end": { "line": 288, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportBottom", "start": 8474, "end": 8491, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8491, "end": 8492, "loc": { "start": { "line": 288, "column": 44 }, "end": { "line": 288, "column": 45 } } }, { "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": 288, "column": 45 }, "end": { "line": 288, "column": 46 } } }, { "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": 288, "column": 46 }, "end": { "line": 288, "column": 47 } } }, { "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": 288, "column": 47 }, "end": { "line": 288, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 8509, "end": 8513, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8513, "end": 8514, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 8514, "end": 8519, "loc": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8519, "end": 8520, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "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": 8520, "end": 8524, "loc": { "start": { "line": 289, "column": 23 }, "end": { "line": 289, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8524, "end": 8525, "loc": { "start": { "line": 289, "column": 27 }, "end": { "line": 289, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportLeft", "start": 8525, "end": 8540, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8540, "end": 8541, "loc": { "start": { "line": 289, "column": 43 }, "end": { "line": 289, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8541, "end": 8542, "loc": { "start": { "line": 289, "column": 44 }, "end": { "line": 289, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8542, "end": 8543, "loc": { "start": { "line": 289, "column": 45 }, "end": { "line": 289, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8553, "end": 8554, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8554, "end": 8555, "loc": { "start": { "line": 290, "column": 9 }, "end": { "line": 290, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8561, "end": 8562, "loc": { "start": { "line": 291, "column": 4 }, "end": { "line": 291, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getIsMapOverlayActive", "start": 8570, "end": 8591, "loc": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8591, "end": 8592, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8592, "end": 8593, "loc": { "start": { "line": 293, "column": 26 }, "end": { "line": 293, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8594, "end": 8595, "loc": { "start": { "line": 293, "column": 28 }, "end": { "line": 293, "column": 29 } } }, { "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": 8605, "end": 8611, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "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": 8612, "end": 8616, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8616, "end": 8617, "loc": { "start": { "line": 294, "column": 19 }, "end": { "line": 294, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 8617, "end": 8626, "loc": { "start": { "line": 294, "column": 20 }, "end": { "line": 294, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8627, "end": 8628, "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": "globalConfig", "start": 8629, "end": 8641, "loc": { "start": { "line": 294, "column": 32 }, "end": { "line": 294, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8641, "end": 8642, "loc": { "start": { "line": 294, "column": 44 }, "end": { "line": 294, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkOverviewMinZoom", "start": 8642, "end": 8665, "loc": { "start": { "line": 294, "column": 45 }, "end": { "line": 294, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8665, "end": 8666, "loc": { "start": { "line": 294, "column": 68 }, "end": { "line": 294, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8672, "end": 8673, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Attaches all event listeners\r\n ", "start": 8681, "end": 8730, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 299, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalInitEvents", "start": 8736, "end": 8754, "loc": { "start": { "line": 300, "column": 4 }, "end": { "line": 300, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8754, "end": 8755, "loc": { "start": { "line": 300, "column": 22 }, "end": { "line": 300, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8755, "end": 8756, "loc": { "start": { "line": 300, "column": 23 }, "end": { "line": 300, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8757, "end": 8758, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 300, "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": 8768, "end": 8772, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8772, "end": 8773, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchStart", "start": 8773, "end": 8796, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8797, "end": 8798, "loc": { "start": { "line": 301, "column": 37 }, "end": { "line": 301, "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": 8799, "end": 8803, "loc": { "start": { "line": 301, "column": 39 }, "end": { "line": 301, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8803, "end": 8804, "loc": { "start": { "line": 301, "column": 43 }, "end": { "line": 301, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchStart", "start": 8804, "end": 8816, "loc": { "start": { "line": 301, "column": 44 }, "end": { "line": 301, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8816, "end": 8817, "loc": { "start": { "line": 301, "column": 56 }, "end": { "line": 301, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 8817, "end": 8821, "loc": { "start": { "line": 301, "column": 57 }, "end": { "line": 301, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8821, "end": 8822, "loc": { "start": { "line": 301, "column": 61 }, "end": { "line": 301, "column": 62 } } }, { "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": 8822, "end": 8826, "loc": { "start": { "line": 301, "column": 62 }, "end": { "line": 301, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8826, "end": 8827, "loc": { "start": { "line": 301, "column": 66 }, "end": { "line": 301, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8827, "end": 8828, "loc": { "start": { "line": 301, "column": 67 }, "end": { "line": 301, "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": 8838, "end": 8842, "loc": { "start": { "line": 302, "column": 8 }, "end": { "line": 302, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8842, "end": 8843, "loc": { "start": { "line": 302, "column": 12 }, "end": { "line": 302, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchEnd", "start": 8843, "end": 8864, "loc": { "start": { "line": 302, "column": 13 }, "end": { "line": 302, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8865, "end": 8866, "loc": { "start": { "line": 302, "column": 35 }, "end": { "line": 302, "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": 8867, "end": 8871, "loc": { "start": { "line": 302, "column": 37 }, "end": { "line": 302, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8871, "end": 8872, "loc": { "start": { "line": 302, "column": 41 }, "end": { "line": 302, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchEnd", "start": 8872, "end": 8882, "loc": { "start": { "line": 302, "column": 42 }, "end": { "line": 302, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8882, "end": 8883, "loc": { "start": { "line": 302, "column": 52 }, "end": { "line": 302, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 8883, "end": 8887, "loc": { "start": { "line": 302, "column": 53 }, "end": { "line": 302, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8887, "end": 8888, "loc": { "start": { "line": 302, "column": 57 }, "end": { "line": 302, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8888, "end": 8892, "loc": { "start": { "line": 302, "column": 58 }, "end": { "line": 302, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8892, "end": 8893, "loc": { "start": { "line": 302, "column": 62 }, "end": { "line": 302, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8893, "end": 8894, "loc": { "start": { "line": 302, "column": 63 }, "end": { "line": 302, "column": 64 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8904, "end": 8908, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8908, "end": 8909, "loc": { "start": { "line": 303, "column": 12 }, "end": { "line": 303, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchMove", "start": 8909, "end": 8931, "loc": { "start": { "line": 303, "column": 13 }, "end": { "line": 303, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8932, "end": 8933, "loc": { "start": { "line": 303, "column": 36 }, "end": { "line": 303, "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": 8934, "end": 8938, "loc": { "start": { "line": 303, "column": 38 }, "end": { "line": 303, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8938, "end": 8939, "loc": { "start": { "line": 303, "column": 42 }, "end": { "line": 303, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchMove", "start": 8939, "end": 8950, "loc": { "start": { "line": 303, "column": 43 }, "end": { "line": 303, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8950, "end": 8951, "loc": { "start": { "line": 303, "column": 54 }, "end": { "line": 303, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 8951, "end": 8955, "loc": { "start": { "line": 303, "column": 55 }, "end": { "line": 303, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8955, "end": 8956, "loc": { "start": { "line": 303, "column": 59 }, "end": { "line": 303, "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": 8956, "end": 8960, "loc": { "start": { "line": 303, "column": 60 }, "end": { "line": 303, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8960, "end": 8961, "loc": { "start": { "line": 303, "column": 64 }, "end": { "line": 303, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8961, "end": 8962, "loc": { "start": { "line": 303, "column": 65 }, "end": { "line": 303, "column": 66 } } }, { "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": 8972, "end": 8976, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8976, "end": 8977, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMousewheel", "start": 8977, "end": 9000, "loc": { "start": { "line": 304, "column": 13 }, "end": { "line": 304, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9001, "end": 9002, "loc": { "start": { "line": 304, "column": 37 }, "end": { "line": 304, "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": 9003, "end": 9007, "loc": { "start": { "line": 304, "column": 39 }, "end": { "line": 304, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9007, "end": 9008, "loc": { "start": { "line": 304, "column": 43 }, "end": { "line": 304, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseWheel", "start": 9008, "end": 9020, "loc": { "start": { "line": 304, "column": 44 }, "end": { "line": 304, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9020, "end": 9021, "loc": { "start": { "line": 304, "column": 56 }, "end": { "line": 304, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 9021, "end": 9025, "loc": { "start": { "line": 304, "column": 57 }, "end": { "line": 304, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9025, "end": 9026, "loc": { "start": { "line": 304, "column": 61 }, "end": { "line": 304, "column": 62 } } }, { "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": 9026, "end": 9030, "loc": { "start": { "line": 304, "column": 62 }, "end": { "line": 304, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9030, "end": 9031, "loc": { "start": { "line": 304, "column": 66 }, "end": { "line": 304, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9031, "end": 9032, "loc": { "start": { "line": 304, "column": 67 }, "end": { "line": 304, "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": 9042, "end": 9046, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9046, "end": 9047, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseDown", "start": 9047, "end": 9069, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9070, "end": 9071, "loc": { "start": { "line": 305, "column": 36 }, "end": { "line": 305, "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": 9072, "end": 9076, "loc": { "start": { "line": 305, "column": 38 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9076, "end": 9077, "loc": { "start": { "line": 305, "column": 42 }, "end": { "line": 305, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseDown", "start": 9077, "end": 9088, "loc": { "start": { "line": 305, "column": 43 }, "end": { "line": 305, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9088, "end": 9089, "loc": { "start": { "line": 305, "column": 54 }, "end": { "line": 305, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 9089, "end": 9093, "loc": { "start": { "line": 305, "column": 55 }, "end": { "line": 305, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9093, "end": 9094, "loc": { "start": { "line": 305, "column": 59 }, "end": { "line": 305, "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": 9094, "end": 9098, "loc": { "start": { "line": 305, "column": 60 }, "end": { "line": 305, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9098, "end": 9099, "loc": { "start": { "line": 305, "column": 64 }, "end": { "line": 305, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9099, "end": 9100, "loc": { "start": { "line": 305, "column": 65 }, "end": { "line": 305, "column": 66 } } }, { "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": 9110, "end": 9114, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9114, "end": 9115, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseMove", "start": 9115, "end": 9137, "loc": { "start": { "line": 306, "column": 13 }, "end": { "line": 306, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9138, "end": 9139, "loc": { "start": { "line": 306, "column": 36 }, "end": { "line": 306, "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": 9140, "end": 9144, "loc": { "start": { "line": 306, "column": 38 }, "end": { "line": 306, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9144, "end": 9145, "loc": { "start": { "line": 306, "column": 42 }, "end": { "line": 306, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseMove", "start": 9145, "end": 9156, "loc": { "start": { "line": 306, "column": 43 }, "end": { "line": 306, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9156, "end": 9157, "loc": { "start": { "line": 306, "column": 54 }, "end": { "line": 306, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 9157, "end": 9161, "loc": { "start": { "line": 306, "column": 55 }, "end": { "line": 306, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9161, "end": 9162, "loc": { "start": { "line": 306, "column": 59 }, "end": { "line": 306, "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": 9162, "end": 9166, "loc": { "start": { "line": 306, "column": 60 }, "end": { "line": 306, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9166, "end": 9167, "loc": { "start": { "line": 306, "column": 64 }, "end": { "line": 306, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9167, "end": 9168, "loc": { "start": { "line": 306, "column": 65 }, "end": { "line": 306, "column": 66 } } }, { "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": 9178, "end": 9182, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9182, "end": 9183, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseUp", "start": 9183, "end": 9203, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 307, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9204, "end": 9205, "loc": { "start": { "line": 307, "column": 34 }, "end": { "line": 307, "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": 9206, "end": 9210, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9210, "end": 9211, "loc": { "start": { "line": 307, "column": 40 }, "end": { "line": 307, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseUp", "start": 9211, "end": 9220, "loc": { "start": { "line": 307, "column": 41 }, "end": { "line": 307, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9220, "end": 9221, "loc": { "start": { "line": 307, "column": 50 }, "end": { "line": 307, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 9221, "end": 9225, "loc": { "start": { "line": 307, "column": 51 }, "end": { "line": 307, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9225, "end": 9226, "loc": { "start": { "line": 307, "column": 55 }, "end": { "line": 307, "column": 56 } } }, { "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": 9226, "end": 9230, "loc": { "start": { "line": 307, "column": 56 }, "end": { "line": 307, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9230, "end": 9231, "loc": { "start": { "line": 307, "column": 60 }, "end": { "line": 307, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9231, "end": 9232, "loc": { "start": { "line": 307, "column": 61 }, "end": { "line": 307, "column": 62 } } }, { "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": 9244, "end": 9246, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9247, "end": 9248, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SUPPORT_TOUCH", "start": 9248, "end": 9261, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9261, "end": 9262, "loc": { "start": { "line": 309, "column": 25 }, "end": { "line": 309, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9263, "end": 9264, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "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": 9278, "end": 9282, "loc": { "start": { "line": 310, "column": 12 }, "end": { "line": 310, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9282, "end": 9283, "loc": { "start": { "line": 310, "column": 16 }, "end": { "line": 310, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9283, "end": 9287, "loc": { "start": { "line": 310, "column": 17 }, "end": { "line": 310, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9287, "end": 9288, "loc": { "start": { "line": 310, "column": 21 }, "end": { "line": 310, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9288, "end": 9294, "loc": { "start": { "line": 310, "column": 22 }, "end": { "line": 310, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9294, "end": 9295, "loc": { "start": { "line": 310, "column": 28 }, "end": { "line": 310, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9295, "end": 9311, "loc": { "start": { "line": 310, "column": 29 }, "end": { "line": 310, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9311, "end": 9312, "loc": { "start": { "line": 310, "column": 45 }, "end": { "line": 310, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchstart", "start": 9312, "end": 9324, "loc": { "start": { "line": 310, "column": 46 }, "end": { "line": 310, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9324, "end": 9325, "loc": { "start": { "line": 310, "column": 58 }, "end": { "line": 310, "column": 59 } } }, { "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": 9326, "end": 9330, "loc": { "start": { "line": 310, "column": 60 }, "end": { "line": 310, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9330, "end": 9331, "loc": { "start": { "line": 310, "column": 64 }, "end": { "line": 310, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchStart", "start": 9331, "end": 9354, "loc": { "start": { "line": 310, "column": 65 }, "end": { "line": 310, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9354, "end": 9355, "loc": { "start": { "line": 310, "column": 88 }, "end": { "line": 310, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9355, "end": 9356, "loc": { "start": { "line": 310, "column": 89 }, "end": { "line": 310, "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": 9370, "end": 9374, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9374, "end": 9375, "loc": { "start": { "line": 311, "column": 16 }, "end": { "line": 311, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9375, "end": 9379, "loc": { "start": { "line": 311, "column": 17 }, "end": { "line": 311, "column": 21 } } }, { "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": 311, "column": 21 }, "end": { "line": 311, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9380, "end": 9386, "loc": { "start": { "line": 311, "column": 22 }, "end": { "line": 311, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9386, "end": 9387, "loc": { "start": { "line": 311, "column": 28 }, "end": { "line": 311, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9387, "end": 9403, "loc": { "start": { "line": 311, "column": 29 }, "end": { "line": 311, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9403, "end": 9404, "loc": { "start": { "line": 311, "column": 45 }, "end": { "line": 311, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchend", "start": 9404, "end": 9414, "loc": { "start": { "line": 311, "column": 46 }, "end": { "line": 311, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9414, "end": 9415, "loc": { "start": { "line": 311, "column": 56 }, "end": { "line": 311, "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": 9416, "end": 9420, "loc": { "start": { "line": 311, "column": 58 }, "end": { "line": 311, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9420, "end": 9421, "loc": { "start": { "line": 311, "column": 62 }, "end": { "line": 311, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchEnd", "start": 9421, "end": 9442, "loc": { "start": { "line": 311, "column": 63 }, "end": { "line": 311, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9442, "end": 9443, "loc": { "start": { "line": 311, "column": 84 }, "end": { "line": 311, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9443, "end": 9444, "loc": { "start": { "line": 311, "column": 85 }, "end": { "line": 311, "column": 86 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9458, "end": 9462, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9462, "end": 9463, "loc": { "start": { "line": 312, "column": 16 }, "end": { "line": 312, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9463, "end": 9467, "loc": { "start": { "line": 312, "column": 17 }, "end": { "line": 312, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9467, "end": 9468, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9468, "end": 9474, "loc": { "start": { "line": 312, "column": 22 }, "end": { "line": 312, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9474, "end": 9475, "loc": { "start": { "line": 312, "column": 28 }, "end": { "line": 312, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9475, "end": 9491, "loc": { "start": { "line": 312, "column": 29 }, "end": { "line": 312, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9491, "end": 9492, "loc": { "start": { "line": 312, "column": 45 }, "end": { "line": 312, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchcancel", "start": 9492, "end": 9505, "loc": { "start": { "line": 312, "column": 46 }, "end": { "line": 312, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9505, "end": 9506, "loc": { "start": { "line": 312, "column": 59 }, "end": { "line": 312, "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": 9507, "end": 9511, "loc": { "start": { "line": 312, "column": 61 }, "end": { "line": 312, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9511, "end": 9512, "loc": { "start": { "line": 312, "column": 65 }, "end": { "line": 312, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchEnd", "start": 9512, "end": 9533, "loc": { "start": { "line": 312, "column": 66 }, "end": { "line": 312, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9533, "end": 9534, "loc": { "start": { "line": 312, "column": 87 }, "end": { "line": 312, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9534, "end": 9535, "loc": { "start": { "line": 312, "column": 88 }, "end": { "line": 312, "column": 89 } } }, { "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": 9549, "end": 9553, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9553, "end": 9554, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9554, "end": 9558, "loc": { "start": { "line": 313, "column": 17 }, "end": { "line": 313, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9558, "end": 9559, "loc": { "start": { "line": 313, "column": 21 }, "end": { "line": 313, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9559, "end": 9565, "loc": { "start": { "line": 313, "column": 22 }, "end": { "line": 313, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9565, "end": 9566, "loc": { "start": { "line": 313, "column": 28 }, "end": { "line": 313, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9566, "end": 9582, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9582, "end": 9583, "loc": { "start": { "line": 313, "column": 45 }, "end": { "line": 313, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchmove", "start": 9583, "end": 9594, "loc": { "start": { "line": 313, "column": 46 }, "end": { "line": 313, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9594, "end": 9595, "loc": { "start": { "line": 313, "column": 57 }, "end": { "line": 313, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9596, "end": 9600, "loc": { "start": { "line": 313, "column": 59 }, "end": { "line": 313, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9600, "end": 9601, "loc": { "start": { "line": 313, "column": 63 }, "end": { "line": 313, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchMove", "start": 9601, "end": 9623, "loc": { "start": { "line": 313, "column": 64 }, "end": { "line": 313, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9623, "end": 9624, "loc": { "start": { "line": 313, "column": 86 }, "end": { "line": 313, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9624, "end": 9625, "loc": { "start": { "line": 313, "column": 87 }, "end": { "line": 313, "column": 88 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9635, "end": 9636, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "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": 9648, "end": 9652, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9652, "end": 9653, "loc": { "start": { "line": 316, "column": 12 }, "end": { "line": 316, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9653, "end": 9657, "loc": { "start": { "line": 316, "column": 13 }, "end": { "line": 316, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9657, "end": 9658, "loc": { "start": { "line": 316, "column": 17 }, "end": { "line": 316, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9658, "end": 9664, "loc": { "start": { "line": 316, "column": 18 }, "end": { "line": 316, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9664, "end": 9665, "loc": { "start": { "line": 316, "column": 24 }, "end": { "line": 316, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9665, "end": 9681, "loc": { "start": { "line": 316, "column": 25 }, "end": { "line": 316, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9681, "end": 9682, "loc": { "start": { "line": 316, "column": 41 }, "end": { "line": 316, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wheel", "start": 9682, "end": 9689, "loc": { "start": { "line": 316, "column": 42 }, "end": { "line": 316, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9689, "end": 9690, "loc": { "start": { "line": 316, "column": 49 }, "end": { "line": 316, "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": 9691, "end": 9695, "loc": { "start": { "line": 316, "column": 51 }, "end": { "line": 316, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9695, "end": 9696, "loc": { "start": { "line": 316, "column": 55 }, "end": { "line": 316, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMousewheel", "start": 9696, "end": 9719, "loc": { "start": { "line": 316, "column": 56 }, "end": { "line": 316, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9719, "end": 9720, "loc": { "start": { "line": 316, "column": 79 }, "end": { "line": 316, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9720, "end": 9721, "loc": { "start": { "line": 316, "column": 80 }, "end": { "line": 316, "column": 81 } } }, { "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": 9731, "end": 9735, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9735, "end": 9736, "loc": { "start": { "line": 317, "column": 12 }, "end": { "line": 317, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9736, "end": 9740, "loc": { "start": { "line": 317, "column": 13 }, "end": { "line": 317, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9740, "end": 9741, "loc": { "start": { "line": 317, "column": 17 }, "end": { "line": 317, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9741, "end": 9747, "loc": { "start": { "line": 317, "column": 18 }, "end": { "line": 317, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9747, "end": 9748, "loc": { "start": { "line": 317, "column": 24 }, "end": { "line": 317, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9748, "end": 9764, "loc": { "start": { "line": 317, "column": 25 }, "end": { "line": 317, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9764, "end": 9765, "loc": { "start": { "line": 317, "column": 41 }, "end": { "line": 317, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mousedown", "start": 9765, "end": 9776, "loc": { "start": { "line": 317, "column": 42 }, "end": { "line": 317, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9776, "end": 9777, "loc": { "start": { "line": 317, "column": 53 }, "end": { "line": 317, "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": 9778, "end": 9782, "loc": { "start": { "line": 317, "column": 55 }, "end": { "line": 317, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9782, "end": 9783, "loc": { "start": { "line": 317, "column": 59 }, "end": { "line": 317, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseDown", "start": 9783, "end": 9805, "loc": { "start": { "line": 317, "column": 60 }, "end": { "line": 317, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9805, "end": 9806, "loc": { "start": { "line": 317, "column": 82 }, "end": { "line": 317, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9806, "end": 9807, "loc": { "start": { "line": 317, "column": 83 }, "end": { "line": 317, "column": 84 } } }, { "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": 9817, "end": 9821, "loc": { "start": { "line": 318, "column": 8 }, "end": { "line": 318, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9821, "end": 9822, "loc": { "start": { "line": 318, "column": 12 }, "end": { "line": 318, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 9822, "end": 9826, "loc": { "start": { "line": 318, "column": 13 }, "end": { "line": 318, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9826, "end": 9827, "loc": { "start": { "line": 318, "column": 17 }, "end": { "line": 318, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 9827, "end": 9833, "loc": { "start": { "line": 318, "column": 18 }, "end": { "line": 318, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9833, "end": 9834, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9834, "end": 9850, "loc": { "start": { "line": 318, "column": 25 }, "end": { "line": 318, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9850, "end": 9851, "loc": { "start": { "line": 318, "column": 41 }, "end": { "line": 318, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mousemove", "start": 9851, "end": 9862, "loc": { "start": { "line": 318, "column": 42 }, "end": { "line": 318, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9862, "end": 9863, "loc": { "start": { "line": 318, "column": 53 }, "end": { "line": 318, "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": 9864, "end": 9868, "loc": { "start": { "line": 318, "column": 55 }, "end": { "line": 318, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9868, "end": 9869, "loc": { "start": { "line": 318, "column": 59 }, "end": { "line": 318, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseMove", "start": 9869, "end": 9891, "loc": { "start": { "line": 318, "column": 60 }, "end": { "line": 318, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9891, "end": 9892, "loc": { "start": { "line": 318, "column": 82 }, "end": { "line": 318, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9892, "end": 9893, "loc": { "start": { "line": 318, "column": 83 }, "end": { "line": 318, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 9903, "end": 9909, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9909, "end": 9910, "loc": { "start": { "line": 319, "column": 14 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 9910, "end": 9926, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9926, "end": 9927, "loc": { "start": { "line": 319, "column": 31 }, "end": { "line": 319, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseup", "start": 9927, "end": 9936, "loc": { "start": { "line": 319, "column": 32 }, "end": { "line": 319, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9936, "end": 9937, "loc": { "start": { "line": 319, "column": 41 }, "end": { "line": 319, "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": 9938, "end": 9942, "loc": { "start": { "line": 319, "column": 43 }, "end": { "line": 319, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9942, "end": 9943, "loc": { "start": { "line": 319, "column": 47 }, "end": { "line": 319, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseUp", "start": 9943, "end": 9963, "loc": { "start": { "line": 319, "column": 48 }, "end": { "line": 319, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9963, "end": 9964, "loc": { "start": { "line": 319, "column": 68 }, "end": { "line": 319, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9964, "end": 9965, "loc": { "start": { "line": 319, "column": 69 }, "end": { "line": 319, "column": 70 } } }, { "type": "CommentLine", "value": " this.root.canvas.addEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 9975, "end": 10051, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10057, "end": 10058, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Cleans up all event listeners\r\n ", "start": 10066, "end": 10116, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cleanup", "start": 10122, "end": 10129, "loc": { "start": { "line": 326, "column": 4 }, "end": { "line": 326, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10129, "end": 10130, "loc": { "start": { "line": 326, "column": 11 }, "end": { "line": 326, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10130, "end": 10131, "loc": { "start": { "line": 326, "column": 12 }, "end": { "line": 326, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10132, "end": 10133, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 326, "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": 10143, "end": 10145, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 327, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10146, "end": 10147, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SUPPORT_TOUCH", "start": 10147, "end": 10160, "loc": { "start": { "line": 327, "column": 12 }, "end": { "line": 327, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10160, "end": 10161, "loc": { "start": { "line": 327, "column": 25 }, "end": { "line": 327, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10162, "end": 10163, "loc": { "start": { "line": 327, "column": 27 }, "end": { "line": 327, "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": 10177, "end": 10181, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10181, "end": 10182, "loc": { "start": { "line": 328, "column": 16 }, "end": { "line": 328, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10182, "end": 10186, "loc": { "start": { "line": 328, "column": 17 }, "end": { "line": 328, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10186, "end": 10187, "loc": { "start": { "line": 328, "column": 21 }, "end": { "line": 328, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10187, "end": 10193, "loc": { "start": { "line": 328, "column": 22 }, "end": { "line": 328, "column": 28 } } }, { "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": 328, "column": 28 }, "end": { "line": 328, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10194, "end": 10213, "loc": { "start": { "line": 328, "column": 29 }, "end": { "line": 328, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10213, "end": 10214, "loc": { "start": { "line": 328, "column": 48 }, "end": { "line": 328, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchstart", "start": 10214, "end": 10226, "loc": { "start": { "line": 328, "column": 49 }, "end": { "line": 328, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10226, "end": 10227, "loc": { "start": { "line": 328, "column": 61 }, "end": { "line": 328, "column": 62 } } }, { "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": 10228, "end": 10232, "loc": { "start": { "line": 328, "column": 63 }, "end": { "line": 328, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10232, "end": 10233, "loc": { "start": { "line": 328, "column": 67 }, "end": { "line": 328, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchStart", "start": 10233, "end": 10256, "loc": { "start": { "line": 328, "column": 68 }, "end": { "line": 328, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10256, "end": 10257, "loc": { "start": { "line": 328, "column": 91 }, "end": { "line": 328, "column": 92 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10257, "end": 10258, "loc": { "start": { "line": 328, "column": 92 }, "end": { "line": 328, "column": 93 } } }, { "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": 10272, "end": 10276, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10276, "end": 10277, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10277, "end": 10281, "loc": { "start": { "line": 329, "column": 17 }, "end": { "line": 329, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10281, "end": 10282, "loc": { "start": { "line": 329, "column": 21 }, "end": { "line": 329, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10282, "end": 10288, "loc": { "start": { "line": 329, "column": 22 }, "end": { "line": 329, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10288, "end": 10289, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10289, "end": 10308, "loc": { "start": { "line": 329, "column": 29 }, "end": { "line": 329, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10308, "end": 10309, "loc": { "start": { "line": 329, "column": 48 }, "end": { "line": 329, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchend", "start": 10309, "end": 10319, "loc": { "start": { "line": 329, "column": 49 }, "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": 10319, "end": 10320, "loc": { "start": { "line": 329, "column": 59 }, "end": { "line": 329, "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": 10321, "end": 10325, "loc": { "start": { "line": 329, "column": 61 }, "end": { "line": 329, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10325, "end": 10326, "loc": { "start": { "line": 329, "column": 65 }, "end": { "line": 329, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchEnd", "start": 10326, "end": 10347, "loc": { "start": { "line": 329, "column": 66 }, "end": { "line": 329, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10347, "end": 10348, "loc": { "start": { "line": 329, "column": 87 }, "end": { "line": 329, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10348, "end": 10349, "loc": { "start": { "line": 329, "column": 88 }, "end": { "line": 329, "column": 89 } } }, { "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": 10363, "end": 10367, "loc": { "start": { "line": 330, "column": 12 }, "end": { "line": 330, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10367, "end": 10368, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10368, "end": 10372, "loc": { "start": { "line": 330, "column": 17 }, "end": { "line": 330, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10372, "end": 10373, "loc": { "start": { "line": 330, "column": 21 }, "end": { "line": 330, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10373, "end": 10379, "loc": { "start": { "line": 330, "column": 22 }, "end": { "line": 330, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10379, "end": 10380, "loc": { "start": { "line": 330, "column": 28 }, "end": { "line": 330, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10380, "end": 10399, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10399, "end": 10400, "loc": { "start": { "line": 330, "column": 48 }, "end": { "line": 330, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchcancel", "start": 10400, "end": 10413, "loc": { "start": { "line": 330, "column": 49 }, "end": { "line": 330, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10413, "end": 10414, "loc": { "start": { "line": 330, "column": 62 }, "end": { "line": 330, "column": 63 } } }, { "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": 10415, "end": 10419, "loc": { "start": { "line": 330, "column": 64 }, "end": { "line": 330, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10419, "end": 10420, "loc": { "start": { "line": 330, "column": 68 }, "end": { "line": 330, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchEnd", "start": 10420, "end": 10441, "loc": { "start": { "line": 330, "column": 69 }, "end": { "line": 330, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10441, "end": 10442, "loc": { "start": { "line": 330, "column": 90 }, "end": { "line": 330, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10442, "end": 10443, "loc": { "start": { "line": 330, "column": 91 }, "end": { "line": 330, "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": 10457, "end": 10461, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10461, "end": 10462, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10462, "end": 10466, "loc": { "start": { "line": 331, "column": 17 }, "end": { "line": 331, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10466, "end": 10467, "loc": { "start": { "line": 331, "column": 21 }, "end": { "line": 331, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10467, "end": 10473, "loc": { "start": { "line": 331, "column": 22 }, "end": { "line": 331, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10473, "end": 10474, "loc": { "start": { "line": 331, "column": 28 }, "end": { "line": 331, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10474, "end": 10493, "loc": { "start": { "line": 331, "column": 29 }, "end": { "line": 331, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10493, "end": 10494, "loc": { "start": { "line": 331, "column": 48 }, "end": { "line": 331, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchmove", "start": 10494, "end": 10505, "loc": { "start": { "line": 331, "column": 49 }, "end": { "line": 331, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10505, "end": 10506, "loc": { "start": { "line": 331, "column": 60 }, "end": { "line": 331, "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": 10507, "end": 10511, "loc": { "start": { "line": 331, "column": 62 }, "end": { "line": 331, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10511, "end": 10512, "loc": { "start": { "line": 331, "column": 66 }, "end": { "line": 331, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerTouchMove", "start": 10512, "end": 10534, "loc": { "start": { "line": 331, "column": 67 }, "end": { "line": 331, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10534, "end": 10535, "loc": { "start": { "line": 331, "column": 89 }, "end": { "line": 331, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10535, "end": 10536, "loc": { "start": { "line": 331, "column": 90 }, "end": { "line": 331, "column": 91 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10546, "end": 10547, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "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": 10559, "end": 10563, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10563, "end": 10564, "loc": { "start": { "line": 334, "column": 12 }, "end": { "line": 334, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10564, "end": 10568, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10568, "end": 10569, "loc": { "start": { "line": 334, "column": 17 }, "end": { "line": 334, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10569, "end": 10575, "loc": { "start": { "line": 334, "column": 18 }, "end": { "line": 334, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10575, "end": 10576, "loc": { "start": { "line": 334, "column": 24 }, "end": { "line": 334, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10576, "end": 10595, "loc": { "start": { "line": 334, "column": 25 }, "end": { "line": 334, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10595, "end": 10596, "loc": { "start": { "line": 334, "column": 44 }, "end": { "line": 334, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wheel", "start": 10596, "end": 10603, "loc": { "start": { "line": 334, "column": 45 }, "end": { "line": 334, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10603, "end": 10604, "loc": { "start": { "line": 334, "column": 52 }, "end": { "line": 334, "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": 10605, "end": 10609, "loc": { "start": { "line": 334, "column": 54 }, "end": { "line": 334, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10609, "end": 10610, "loc": { "start": { "line": 334, "column": 58 }, "end": { "line": 334, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMousewheel", "start": 10610, "end": 10633, "loc": { "start": { "line": 334, "column": 59 }, "end": { "line": 334, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10633, "end": 10634, "loc": { "start": { "line": 334, "column": 82 }, "end": { "line": 334, "column": 83 } } }, { "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": 334, "column": 83 }, "end": { "line": 334, "column": 84 } } }, { "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": 10645, "end": 10649, "loc": { "start": { "line": 335, "column": 8 }, "end": { "line": 335, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10649, "end": 10650, "loc": { "start": { "line": 335, "column": 12 }, "end": { "line": 335, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10650, "end": 10654, "loc": { "start": { "line": 335, "column": 13 }, "end": { "line": 335, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10654, "end": 10655, "loc": { "start": { "line": 335, "column": 17 }, "end": { "line": 335, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10655, "end": 10661, "loc": { "start": { "line": 335, "column": 18 }, "end": { "line": 335, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10661, "end": 10662, "loc": { "start": { "line": 335, "column": 24 }, "end": { "line": 335, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10662, "end": 10681, "loc": { "start": { "line": 335, "column": 25 }, "end": { "line": 335, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10681, "end": 10682, "loc": { "start": { "line": 335, "column": 44 }, "end": { "line": 335, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mousedown", "start": 10682, "end": 10693, "loc": { "start": { "line": 335, "column": 45 }, "end": { "line": 335, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10693, "end": 10694, "loc": { "start": { "line": 335, "column": 56 }, "end": { "line": 335, "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": 10695, "end": 10699, "loc": { "start": { "line": 335, "column": 58 }, "end": { "line": 335, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10699, "end": 10700, "loc": { "start": { "line": 335, "column": 62 }, "end": { "line": 335, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseDown", "start": 10700, "end": 10722, "loc": { "start": { "line": 335, "column": 63 }, "end": { "line": 335, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10722, "end": 10723, "loc": { "start": { "line": 335, "column": 85 }, "end": { "line": 335, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10723, "end": 10724, "loc": { "start": { "line": 335, "column": 86 }, "end": { "line": 335, "column": 87 } } }, { "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": 10734, "end": 10738, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10738, "end": 10739, "loc": { "start": { "line": 336, "column": 12 }, "end": { "line": 336, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 10739, "end": 10743, "loc": { "start": { "line": 336, "column": 13 }, "end": { "line": 336, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10743, "end": 10744, "loc": { "start": { "line": 336, "column": 17 }, "end": { "line": 336, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 10744, "end": 10750, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10750, "end": 10751, "loc": { "start": { "line": 336, "column": 24 }, "end": { "line": 336, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10751, "end": 10770, "loc": { "start": { "line": 336, "column": 25 }, "end": { "line": 336, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10770, "end": 10771, "loc": { "start": { "line": 336, "column": 44 }, "end": { "line": 336, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mousemove", "start": 10771, "end": 10782, "loc": { "start": { "line": 336, "column": 45 }, "end": { "line": 336, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10782, "end": 10783, "loc": { "start": { "line": 336, "column": 56 }, "end": { "line": 336, "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": 10784, "end": 10788, "loc": { "start": { "line": 336, "column": 58 }, "end": { "line": 336, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10788, "end": 10789, "loc": { "start": { "line": 336, "column": 62 }, "end": { "line": 336, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseMove", "start": 10789, "end": 10811, "loc": { "start": { "line": 336, "column": 63 }, "end": { "line": 336, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10811, "end": 10812, "loc": { "start": { "line": 336, "column": 85 }, "end": { "line": 336, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10812, "end": 10813, "loc": { "start": { "line": 336, "column": 86 }, "end": { "line": 336, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 10823, "end": 10829, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10829, "end": 10830, "loc": { "start": { "line": 337, "column": 14 }, "end": { "line": 337, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeEventListener", "start": 10830, "end": 10849, "loc": { "start": { "line": 337, "column": 15 }, "end": { "line": 337, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10849, "end": 10850, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseup", "start": 10850, "end": 10859, "loc": { "start": { "line": 337, "column": 35 }, "end": { "line": 337, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10859, "end": 10860, "loc": { "start": { "line": 337, "column": 44 }, "end": { "line": 337, "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": 10861, "end": 10865, "loc": { "start": { "line": 337, "column": 46 }, "end": { "line": 337, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10865, "end": 10866, "loc": { "start": { "line": 337, "column": 50 }, "end": { "line": 337, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "eventListenerMouseUp", "start": 10866, "end": 10886, "loc": { "start": { "line": 337, "column": 51 }, "end": { "line": 337, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10886, "end": 10887, "loc": { "start": { "line": 337, "column": 71 }, "end": { "line": 337, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10887, "end": 10888, "loc": { "start": { "line": 337, "column": 72 }, "end": { "line": 337, "column": 73 } } }, { "type": "CommentLine", "value": " this.root.canvas.removeEventListener(\"mouseout\", this.eventListenerMouseUp);", "start": 10898, "end": 10977, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10983, "end": 10984, "loc": { "start": { "line": 339, "column": 4 }, "end": { "line": 339, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Binds the arrow keys\r\n ", "start": 10992, "end": 11033, "loc": { "start": { "line": 341, "column": 4 }, "end": { "line": 343, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bindKeys", "start": 11039, "end": 11047, "loc": { "start": { "line": 344, "column": 4 }, "end": { "line": 344, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11047, "end": 11048, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11048, "end": 11049, "loc": { "start": { "line": 344, "column": 13 }, "end": { "line": 344, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11050, "end": 11051, "loc": { "start": { "line": 344, "column": 15 }, "end": { "line": 344, "column": 16 } } }, { "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": 11061, "end": 11066, "loc": { "start": { "line": 345, "column": 8 }, "end": { "line": 345, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11067, "end": 11073, "loc": { "start": { "line": 345, "column": 14 }, "end": { "line": 345, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11074, "end": 11075, "loc": { "start": { "line": 345, "column": 21 }, "end": { "line": 345, "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": 11076, "end": 11080, "loc": { "start": { "line": 345, "column": 23 }, "end": { "line": 345, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11080, "end": 11081, "loc": { "start": { "line": 345, "column": 27 }, "end": { "line": 345, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 11081, "end": 11085, "loc": { "start": { "line": 345, "column": 28 }, "end": { "line": 345, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11085, "end": 11086, "loc": { "start": { "line": 345, "column": 32 }, "end": { "line": 345, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 11086, "end": 11095, "loc": { "start": { "line": 345, "column": 33 }, "end": { "line": 345, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11095, "end": 11096, "loc": { "start": { "line": 345, "column": 42 }, "end": { "line": 345, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11106, "end": 11112, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11112, "end": 11113, "loc": { "start": { "line": 346, "column": 14 }, "end": { "line": 346, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11113, "end": 11123, "loc": { "start": { "line": 346, "column": 15 }, "end": { "line": 346, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11123, "end": 11124, "loc": { "start": { "line": 346, "column": 25 }, "end": { "line": 346, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11124, "end": 11135, "loc": { "start": { "line": 346, "column": 26 }, "end": { "line": 346, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11135, "end": 11136, "loc": { "start": { "line": 346, "column": 37 }, "end": { "line": 346, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11136, "end": 11146, "loc": { "start": { "line": 346, "column": 38 }, "end": { "line": 346, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11146, "end": 11147, "loc": { "start": { "line": 346, "column": 48 }, "end": { "line": 346, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveUp", "start": 11147, "end": 11156, "loc": { "start": { "line": 346, "column": 49 }, "end": { "line": 346, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11156, "end": 11157, "loc": { "start": { "line": 346, "column": 58 }, "end": { "line": 346, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11157, "end": 11158, "loc": { "start": { "line": 346, "column": 59 }, "end": { "line": 346, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11158, "end": 11161, "loc": { "start": { "line": 346, "column": 60 }, "end": { "line": 346, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11161, "end": 11162, "loc": { "start": { "line": 346, "column": 63 }, "end": { "line": 346, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11162, "end": 11163, "loc": { "start": { "line": 346, "column": 64 }, "end": { "line": 346, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11163, "end": 11164, "loc": { "start": { "line": 346, "column": 65 }, "end": { "line": 346, "column": 66 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11165, "end": 11167, "loc": { "start": { "line": 346, "column": 67 }, "end": { "line": 346, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11168, "end": 11169, "loc": { "start": { "line": 346, "column": 70 }, "end": { "line": 346, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11169, "end": 11173, "loc": { "start": { "line": 346, "column": 71 }, "end": { "line": 346, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11173, "end": 11174, "loc": { "start": { "line": 346, "column": 75 }, "end": { "line": 346, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardForce", "start": 11174, "end": 11187, "loc": { "start": { "line": 346, "column": 76 }, "end": { "line": 346, "column": 89 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11187, "end": 11188, "loc": { "start": { "line": 346, "column": 89 }, "end": { "line": 346, "column": 90 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 11188, "end": 11189, "loc": { "start": { "line": 346, "column": 90 }, "end": { "line": 346, "column": 91 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11190, "end": 11191, "loc": { "start": { "line": 346, "column": 92 }, "end": { "line": 346, "column": 93 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 11192, "end": 11193, "loc": { "start": { "line": 346, "column": 94 }, "end": { "line": 346, "column": 95 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11193, "end": 11194, "loc": { "start": { "line": 346, "column": 95 }, "end": { "line": 346, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11194, "end": 11195, "loc": { "start": { "line": 346, "column": 96 }, "end": { "line": 346, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11195, "end": 11196, "loc": { "start": { "line": 346, "column": 97 }, "end": { "line": 346, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11196, "end": 11197, "loc": { "start": { "line": 346, "column": 98 }, "end": { "line": 346, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11207, "end": 11213, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11213, "end": 11214, "loc": { "start": { "line": 347, "column": 14 }, "end": { "line": 347, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11214, "end": 11224, "loc": { "start": { "line": 347, "column": 15 }, "end": { "line": 347, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11224, "end": 11225, "loc": { "start": { "line": 347, "column": 25 }, "end": { "line": 347, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11225, "end": 11236, "loc": { "start": { "line": 347, "column": 26 }, "end": { "line": 347, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11236, "end": 11237, "loc": { "start": { "line": 347, "column": 37 }, "end": { "line": 347, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11237, "end": 11247, "loc": { "start": { "line": 347, "column": 38 }, "end": { "line": 347, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11247, "end": 11248, "loc": { "start": { "line": 347, "column": 48 }, "end": { "line": 347, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveDown", "start": 11248, "end": 11259, "loc": { "start": { "line": 347, "column": 49 }, "end": { "line": 347, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11259, "end": 11260, "loc": { "start": { "line": 347, "column": 60 }, "end": { "line": 347, "column": 61 } } }, { "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": 347, "column": 61 }, "end": { "line": 347, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11261, "end": 11264, "loc": { "start": { "line": 347, "column": 62 }, "end": { "line": 347, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11264, "end": 11265, "loc": { "start": { "line": 347, "column": 65 }, "end": { "line": 347, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11265, "end": 11266, "loc": { "start": { "line": 347, "column": 66 }, "end": { "line": 347, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11266, "end": 11267, "loc": { "start": { "line": 347, "column": 67 }, "end": { "line": 347, "column": 68 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11268, "end": 11270, "loc": { "start": { "line": 347, "column": 69 }, "end": { "line": 347, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11271, "end": 11272, "loc": { "start": { "line": 347, "column": 72 }, "end": { "line": 347, "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": 11272, "end": 11276, "loc": { "start": { "line": 347, "column": 73 }, "end": { "line": 347, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11276, "end": 11277, "loc": { "start": { "line": 347, "column": 77 }, "end": { "line": 347, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardForce", "start": 11277, "end": 11290, "loc": { "start": { "line": 347, "column": 78 }, "end": { "line": 347, "column": 91 } } }, { "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": 347, "column": 91 }, "end": { "line": 347, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 11291, "end": 11292, "loc": { "start": { "line": 347, "column": 92 }, "end": { "line": 347, "column": 93 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11293, "end": 11294, "loc": { "start": { "line": 347, "column": 94 }, "end": { "line": 347, "column": 95 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11295, "end": 11296, "loc": { "start": { "line": 347, "column": 96 }, "end": { "line": 347, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11296, "end": 11297, "loc": { "start": { "line": 347, "column": 97 }, "end": { "line": 347, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11297, "end": 11298, "loc": { "start": { "line": 347, "column": 98 }, "end": { "line": 347, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11298, "end": 11299, "loc": { "start": { "line": 347, "column": 99 }, "end": { "line": 347, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11309, "end": 11315, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11315, "end": 11316, "loc": { "start": { "line": 348, "column": 14 }, "end": { "line": 348, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11316, "end": 11326, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11326, "end": 11327, "loc": { "start": { "line": 348, "column": 25 }, "end": { "line": 348, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11327, "end": 11338, "loc": { "start": { "line": 348, "column": 26 }, "end": { "line": 348, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11338, "end": 11339, "loc": { "start": { "line": 348, "column": 37 }, "end": { "line": 348, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11339, "end": 11349, "loc": { "start": { "line": 348, "column": 38 }, "end": { "line": 348, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11349, "end": 11350, "loc": { "start": { "line": 348, "column": 48 }, "end": { "line": 348, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveRight", "start": 11350, "end": 11362, "loc": { "start": { "line": 348, "column": 49 }, "end": { "line": 348, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11362, "end": 11363, "loc": { "start": { "line": 348, "column": 61 }, "end": { "line": 348, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11363, "end": 11364, "loc": { "start": { "line": 348, "column": 62 }, "end": { "line": 348, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11364, "end": 11367, "loc": { "start": { "line": 348, "column": 63 }, "end": { "line": 348, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11367, "end": 11368, "loc": { "start": { "line": 348, "column": 66 }, "end": { "line": 348, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11368, "end": 11369, "loc": { "start": { "line": 348, "column": 67 }, "end": { "line": 348, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11369, "end": 11370, "loc": { "start": { "line": 348, "column": 68 }, "end": { "line": 348, "column": 69 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11371, "end": 11373, "loc": { "start": { "line": 348, "column": 70 }, "end": { "line": 348, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11374, "end": 11375, "loc": { "start": { "line": 348, "column": 73 }, "end": { "line": 348, "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": 11375, "end": 11379, "loc": { "start": { "line": 348, "column": 74 }, "end": { "line": 348, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11379, "end": 11380, "loc": { "start": { "line": 348, "column": 78 }, "end": { "line": 348, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardForce", "start": 11380, "end": 11393, "loc": { "start": { "line": 348, "column": 79 }, "end": { "line": 348, "column": 92 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11393, "end": 11394, "loc": { "start": { "line": 348, "column": 92 }, "end": { "line": 348, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 11394, "end": 11395, "loc": { "start": { "line": 348, "column": 93 }, "end": { "line": 348, "column": 94 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11396, "end": 11397, "loc": { "start": { "line": 348, "column": 95 }, "end": { "line": 348, "column": 96 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11398, "end": 11399, "loc": { "start": { "line": 348, "column": 97 }, "end": { "line": 348, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11399, "end": 11400, "loc": { "start": { "line": 348, "column": 98 }, "end": { "line": 348, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11400, "end": 11401, "loc": { "start": { "line": 348, "column": 99 }, "end": { "line": 348, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11401, "end": 11402, "loc": { "start": { "line": 348, "column": 100 }, "end": { "line": 348, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11412, "end": 11418, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11418, "end": 11419, "loc": { "start": { "line": 349, "column": 14 }, "end": { "line": 349, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11419, "end": 11429, "loc": { "start": { "line": 349, "column": 15 }, "end": { "line": 349, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11429, "end": 11430, "loc": { "start": { "line": 349, "column": 25 }, "end": { "line": 349, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11430, "end": 11441, "loc": { "start": { "line": 349, "column": 26 }, "end": { "line": 349, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11441, "end": 11442, "loc": { "start": { "line": 349, "column": 37 }, "end": { "line": 349, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11442, "end": 11452, "loc": { "start": { "line": 349, "column": 38 }, "end": { "line": 349, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11452, "end": 11453, "loc": { "start": { "line": 349, "column": 48 }, "end": { "line": 349, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveLeft", "start": 11453, "end": 11464, "loc": { "start": { "line": 349, "column": 49 }, "end": { "line": 349, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11464, "end": 11465, "loc": { "start": { "line": 349, "column": 60 }, "end": { "line": 349, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11465, "end": 11466, "loc": { "start": { "line": 349, "column": 61 }, "end": { "line": 349, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11466, "end": 11469, "loc": { "start": { "line": 349, "column": 62 }, "end": { "line": 349, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11469, "end": 11470, "loc": { "start": { "line": 349, "column": 65 }, "end": { "line": 349, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11470, "end": 11471, "loc": { "start": { "line": 349, "column": 66 }, "end": { "line": 349, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11471, "end": 11472, "loc": { "start": { "line": 349, "column": 67 }, "end": { "line": 349, "column": 68 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11473, "end": 11475, "loc": { "start": { "line": 349, "column": 69 }, "end": { "line": 349, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11476, "end": 11477, "loc": { "start": { "line": 349, "column": 72 }, "end": { "line": 349, "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": 11477, "end": 11481, "loc": { "start": { "line": 349, "column": 73 }, "end": { "line": 349, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11481, "end": 11482, "loc": { "start": { "line": 349, "column": 77 }, "end": { "line": 349, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardForce", "start": 11482, "end": 11495, "loc": { "start": { "line": 349, "column": 78 }, "end": { "line": 349, "column": 91 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11495, "end": 11496, "loc": { "start": { "line": 349, "column": 91 }, "end": { "line": 349, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 11496, "end": 11497, "loc": { "start": { "line": 349, "column": 92 }, "end": { "line": 349, "column": 93 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11498, "end": 11499, "loc": { "start": { "line": 349, "column": 94 }, "end": { "line": 349, "column": 95 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 11500, "end": 11501, "loc": { "start": { "line": 349, "column": 96 }, "end": { "line": 349, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 11501, "end": 11502, "loc": { "start": { "line": 349, "column": 97 }, "end": { "line": 349, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11502, "end": 11503, "loc": { "start": { "line": 349, "column": 98 }, "end": { "line": 349, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11503, "end": 11504, "loc": { "start": { "line": 349, "column": 99 }, "end": { "line": 349, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11504, "end": 11505, "loc": { "start": { "line": 349, "column": 100 }, "end": { "line": 349, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11517, "end": 11523, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11537, "end": 11538, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11538, "end": 11548, "loc": { "start": { "line": 352, "column": 13 }, "end": { "line": 352, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11548, "end": 11549, "loc": { "start": { "line": 352, "column": 23 }, "end": { "line": 352, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11549, "end": 11560, "loc": { "start": { "line": 352, "column": 24 }, "end": { "line": 352, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11560, "end": 11561, "loc": { "start": { "line": 352, "column": 35 }, "end": { "line": 352, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11561, "end": 11571, "loc": { "start": { "line": 352, "column": 36 }, "end": { "line": 352, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11571, "end": 11572, "loc": { "start": { "line": 352, "column": 46 }, "end": { "line": 352, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapZoomIn", "start": 11572, "end": 11581, "loc": { "start": { "line": 352, "column": 47 }, "end": { "line": 352, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11581, "end": 11582, "loc": { "start": { "line": 352, "column": 56 }, "end": { "line": 352, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11596, "end": 11597, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11597, "end": 11600, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11600, "end": 11601, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11601, "end": 11602, "loc": { "start": { "line": 353, "column": 17 }, "end": { "line": 353, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11602, "end": 11603, "loc": { "start": { "line": 353, "column": 18 }, "end": { "line": 353, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11604, "end": 11606, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11607, "end": 11608, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "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": 11608, "end": 11612, "loc": { "start": { "line": 353, "column": 24 }, "end": { "line": 353, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11612, "end": 11613, "loc": { "start": { "line": 353, "column": 28 }, "end": { "line": 353, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 11613, "end": 11624, "loc": { "start": { "line": 353, "column": 29 }, "end": { "line": 353, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11625, "end": 11626, "loc": { "start": { "line": 353, "column": 41 }, "end": { "line": 353, "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": 11627, "end": 11631, "loc": { "start": { "line": 353, "column": 43 }, "end": { "line": 353, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11631, "end": 11632, "loc": { "start": { "line": 353, "column": 47 }, "end": { "line": 353, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 11632, "end": 11641, "loc": { "start": { "line": 353, "column": 48 }, "end": { "line": 353, "column": 57 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 11642, "end": 11643, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1.2, "start": 11644, "end": 11647, "loc": { "start": { "line": 353, "column": 60 }, "end": { "line": 353, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11647, "end": 11648, "loc": { "start": { "line": 353, "column": 63 }, "end": { "line": 353, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11648, "end": 11649, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11649, "end": 11650, "loc": { "start": { "line": 353, "column": 65 }, "end": { "line": 353, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11660, "end": 11666, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 354, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11681, "end": 11691, "loc": { "start": { "line": 355, "column": 13 }, "end": { "line": 355, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11691, "end": 11692, "loc": { "start": { "line": 355, "column": 23 }, "end": { "line": 355, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11692, "end": 11703, "loc": { "start": { "line": 355, "column": 24 }, "end": { "line": 355, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11703, "end": 11704, "loc": { "start": { "line": 355, "column": 35 }, "end": { "line": 355, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11704, "end": 11714, "loc": { "start": { "line": 355, "column": 36 }, "end": { "line": 355, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11714, "end": 11715, "loc": { "start": { "line": 355, "column": 46 }, "end": { "line": 355, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapZoomOut", "start": 11715, "end": 11725, "loc": { "start": { "line": 355, "column": 47 }, "end": { "line": 355, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11725, "end": 11726, "loc": { "start": { "line": 355, "column": 57 }, "end": { "line": 355, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11740, "end": 11741, "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": "add", "start": 11741, "end": 11744, "loc": { "start": { "line": 356, "column": 13 }, "end": { "line": 356, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11744, "end": 11745, "loc": { "start": { "line": 356, "column": 16 }, "end": { "line": 356, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11745, "end": 11746, "loc": { "start": { "line": 356, "column": 17 }, "end": { "line": 356, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11746, "end": 11747, "loc": { "start": { "line": 356, "column": 18 }, "end": { "line": 356, "column": 19 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11748, "end": 11750, "loc": { "start": { "line": 356, "column": 20 }, "end": { "line": 356, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11751, "end": 11752, "loc": { "start": { "line": 356, "column": 23 }, "end": { "line": 356, "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": 11752, "end": 11756, "loc": { "start": { "line": 356, "column": 24 }, "end": { "line": 356, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11756, "end": 11757, "loc": { "start": { "line": 356, "column": 28 }, "end": { "line": 356, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 11757, "end": 11768, "loc": { "start": { "line": 356, "column": 29 }, "end": { "line": 356, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11769, "end": 11770, "loc": { "start": { "line": 356, "column": 41 }, "end": { "line": 356, "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": 11771, "end": 11775, "loc": { "start": { "line": 356, "column": 43 }, "end": { "line": 356, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11775, "end": 11776, "loc": { "start": { "line": 356, "column": 47 }, "end": { "line": 356, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 11776, "end": 11785, "loc": { "start": { "line": 356, "column": 48 }, "end": { "line": 356, "column": 57 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 11786, "end": 11787, "loc": { "start": { "line": 356, "column": 58 }, "end": { "line": 356, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1.2, "start": 11788, "end": 11791, "loc": { "start": { "line": 356, "column": 60 }, "end": { "line": 356, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11791, "end": 11792, "loc": { "start": { "line": 356, "column": 63 }, "end": { "line": 356, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11792, "end": 11793, "loc": { "start": { "line": 356, "column": 64 }, "end": { "line": 356, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11793, "end": 11794, "loc": { "start": { "line": 356, "column": 65 }, "end": { "line": 356, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapper", "start": 11806, "end": 11812, "loc": { "start": { "line": 358, "column": 8 }, "end": { "line": 358, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11812, "end": 11813, "loc": { "start": { "line": 358, "column": 14 }, "end": { "line": 358, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 11813, "end": 11823, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11823, "end": 11824, "loc": { "start": { "line": 358, "column": 25 }, "end": { "line": 358, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 11824, "end": 11835, "loc": { "start": { "line": 358, "column": 26 }, "end": { "line": 358, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11835, "end": 11836, "loc": { "start": { "line": 358, "column": 37 }, "end": { "line": 358, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 11836, "end": 11846, "loc": { "start": { "line": 358, "column": 38 }, "end": { "line": 358, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11846, "end": 11847, "loc": { "start": { "line": 358, "column": 48 }, "end": { "line": 358, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerMap", "start": 11847, "end": 11856, "loc": { "start": { "line": 358, "column": 49 }, "end": { "line": 358, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11856, "end": 11857, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11857, "end": 11858, "loc": { "start": { "line": 358, "column": 59 }, "end": { "line": 358, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11858, "end": 11861, "loc": { "start": { "line": 358, "column": 60 }, "end": { "line": 358, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11861, "end": 11862, "loc": { "start": { "line": 358, "column": 63 }, "end": { "line": 358, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11862, "end": 11863, "loc": { "start": { "line": 358, "column": 64 }, "end": { "line": 358, "column": 65 } } }, { "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": 358, "column": 65 }, "end": { "line": 358, "column": 66 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11865, "end": 11867, "loc": { "start": { "line": 358, "column": 67 }, "end": { "line": 358, "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": 11868, "end": 11872, "loc": { "start": { "line": 358, "column": 70 }, "end": { "line": 358, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11872, "end": 11873, "loc": { "start": { "line": 358, "column": 74 }, "end": { "line": 358, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerOnMap", "start": 11873, "end": 11884, "loc": { "start": { "line": 358, "column": 75 }, "end": { "line": 358, "column": 86 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11884, "end": 11885, "loc": { "start": { "line": 358, "column": 86 }, "end": { "line": 358, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11885, "end": 11886, "loc": { "start": { "line": 358, "column": 87 }, "end": { "line": 358, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11886, "end": 11887, "loc": { "start": { "line": 358, "column": 88 }, "end": { "line": 358, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11887, "end": 11888, "loc": { "start": { "line": 358, "column": 89 }, "end": { "line": 358, "column": 90 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11894, "end": 11895, "loc": { "start": { "line": 359, "column": 4 }, "end": { "line": 359, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerOnMap", "start": 11903, "end": 11914, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11914, "end": 11915, "loc": { "start": { "line": 361, "column": 15 }, "end": { "line": 361, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11915, "end": 11916, "loc": { "start": { "line": 361, "column": 16 }, "end": { "line": 361, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11917, "end": 11918, "loc": { "start": { "line": 361, "column": 18 }, "end": { "line": 361, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11928, "end": 11932, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11932, "end": 11933, "loc": { "start": { "line": 362, "column": 12 }, "end": { "line": 362, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 11933, "end": 11946, "loc": { "start": { "line": 362, "column": 13 }, "end": { "line": 362, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11947, "end": 11948, "loc": { "start": { "line": 362, "column": 27 }, "end": { "line": 362, "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": 11949, "end": 11952, "loc": { "start": { "line": 362, "column": 29 }, "end": { "line": 362, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 11953, "end": 11959, "loc": { "start": { "line": 362, "column": 33 }, "end": { "line": 362, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11959, "end": 11960, "loc": { "start": { "line": 362, "column": 39 }, "end": { "line": 362, "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, "start": 11960, "end": 11961, "loc": { "start": { "line": 362, "column": 40 }, "end": { "line": 362, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11961, "end": 11962, "loc": { "start": { "line": 362, "column": 41 }, "end": { "line": 362, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11963, "end": 11964, "loc": { "start": { "line": 362, "column": 43 }, "end": { "line": 362, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11964, "end": 11965, "loc": { "start": { "line": 362, "column": 44 }, "end": { "line": 362, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11965, "end": 11966, "loc": { "start": { "line": 362, "column": 45 }, "end": { "line": 362, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11972, "end": 11973, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Converts from screen to world space\r\n * @param {Vector} screen\r\n * @returns {Vector} world space\r\n ", "start": 11981, "end": 12106, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 369, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenToWorld", "start": 12112, "end": 12125, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 370, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12125, "end": 12126, "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": "screen", "start": 12126, "end": 12132, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12132, "end": 12133, "loc": { "start": { "line": 370, "column": 24 }, "end": { "line": 370, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12134, "end": 12135, "loc": { "start": { "line": 370, "column": 26 }, "end": { "line": 370, "column": 27 } } }, { "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": 12145, "end": 12150, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerSpace", "start": 12151, "end": 12162, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12163, "end": 12164, "loc": { "start": { "line": 371, "column": 26 }, "end": { "line": 371, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screen", "start": 12165, "end": 12171, "loc": { "start": { "line": 371, "column": 28 }, "end": { "line": 371, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12171, "end": 12172, "loc": { "start": { "line": 371, "column": 34 }, "end": { "line": 371, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subScalars", "start": 12172, "end": 12182, "loc": { "start": { "line": 371, "column": 35 }, "end": { "line": 371, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12182, "end": 12183, "loc": { "start": { "line": 371, "column": 45 }, "end": { "line": 371, "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": 12183, "end": 12187, "loc": { "start": { "line": 371, "column": 46 }, "end": { "line": 371, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12187, "end": 12188, "loc": { "start": { "line": 371, "column": 50 }, "end": { "line": 371, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12188, "end": 12192, "loc": { "start": { "line": 371, "column": 51 }, "end": { "line": 371, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12192, "end": 12193, "loc": { "start": { "line": 371, "column": 55 }, "end": { "line": 371, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 12193, "end": 12202, "loc": { "start": { "line": 371, "column": 56 }, "end": { "line": 371, "column": 65 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 12203, "end": 12204, "loc": { "start": { "line": 371, "column": 66 }, "end": { "line": 371, "column": 67 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 12205, "end": 12206, "loc": { "start": { "line": 371, "column": 68 }, "end": { "line": 371, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12206, "end": 12207, "loc": { "start": { "line": 371, "column": 69 }, "end": { "line": 371, "column": 70 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12208, "end": 12212, "loc": { "start": { "line": 371, "column": 71 }, "end": { "line": 371, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12212, "end": 12213, "loc": { "start": { "line": 371, "column": 75 }, "end": { "line": 371, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12213, "end": 12217, "loc": { "start": { "line": 371, "column": 76 }, "end": { "line": 371, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12217, "end": 12218, "loc": { "start": { "line": 371, "column": 80 }, "end": { "line": 371, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 12218, "end": 12228, "loc": { "start": { "line": 371, "column": 81 }, "end": { "line": 371, "column": 91 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 12229, "end": 12230, "loc": { "start": { "line": 371, "column": 92 }, "end": { "line": 371, "column": 93 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 12231, "end": 12232, "loc": { "start": { "line": 371, "column": 94 }, "end": { "line": 371, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12232, "end": 12233, "loc": { "start": { "line": 371, "column": 95 }, "end": { "line": 371, "column": 96 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12233, "end": 12234, "loc": { "start": { "line": 371, "column": 96 }, "end": { "line": 371, "column": 97 } } }, { "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": 12244, "end": 12250, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerSpace", "start": 12251, "end": 12262, "loc": { "start": { "line": 372, "column": 15 }, "end": { "line": 372, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12262, "end": 12263, "loc": { "start": { "line": 372, "column": 26 }, "end": { "line": 372, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divideScalar", "start": 12263, "end": 12275, "loc": { "start": { "line": 372, "column": 27 }, "end": { "line": 372, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12275, "end": 12276, "loc": { "start": { "line": 372, "column": 39 }, "end": { "line": 372, "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": 12276, "end": 12280, "loc": { "start": { "line": 372, "column": 40 }, "end": { "line": 372, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12280, "end": 12281, "loc": { "start": { "line": 372, "column": 44 }, "end": { "line": 372, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 12281, "end": 12290, "loc": { "start": { "line": 372, "column": 45 }, "end": { "line": 372, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12290, "end": 12291, "loc": { "start": { "line": 372, "column": 54 }, "end": { "line": 372, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12291, "end": 12292, "loc": { "start": { "line": 372, "column": 55 }, "end": { "line": 372, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 12292, "end": 12295, "loc": { "start": { "line": 372, "column": 56 }, "end": { "line": 372, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12295, "end": 12296, "loc": { "start": { "line": 372, "column": 59 }, "end": { "line": 372, "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": 12296, "end": 12300, "loc": { "start": { "line": 372, "column": 60 }, "end": { "line": 372, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12300, "end": 12301, "loc": { "start": { "line": 372, "column": 64 }, "end": { "line": 372, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 12301, "end": 12307, "loc": { "start": { "line": 372, "column": 65 }, "end": { "line": 372, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12307, "end": 12308, "loc": { "start": { "line": 372, "column": 71 }, "end": { "line": 372, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12308, "end": 12309, "loc": { "start": { "line": 372, "column": 72 }, "end": { "line": 372, "column": 73 } } }, { "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": 373, "column": 4 }, "end": { "line": 373, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Converts from world to screen space\r\n * @param {Vector} world\r\n * @returns {Vector} screen space\r\n ", "start": 12324, "end": 12449, "loc": { "start": { "line": 375, "column": 4 }, "end": { "line": 379, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldToScreen", "start": 12455, "end": 12468, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12468, "end": 12469, "loc": { "start": { "line": 380, "column": 17 }, "end": { "line": 380, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "world", "start": 12469, "end": 12474, "loc": { "start": { "line": 380, "column": 18 }, "end": { "line": 380, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12474, "end": 12475, "loc": { "start": { "line": 380, "column": 23 }, "end": { "line": 380, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12476, "end": 12477, "loc": { "start": { "line": 380, "column": 25 }, "end": { "line": 380, "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": 12487, "end": 12492, "loc": { "start": { "line": 381, "column": 8 }, "end": { "line": 381, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenSpace", "start": 12493, "end": 12504, "loc": { "start": { "line": 381, "column": 14 }, "end": { "line": 381, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12505, "end": 12506, "loc": { "start": { "line": 381, "column": 26 }, "end": { "line": 381, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "world", "start": 12507, "end": 12512, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12512, "end": 12513, "loc": { "start": { "line": 381, "column": 33 }, "end": { "line": 381, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 12513, "end": 12516, "loc": { "start": { "line": 381, "column": 34 }, "end": { "line": 381, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12516, "end": 12517, "loc": { "start": { "line": 381, "column": 37 }, "end": { "line": 381, "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": 12517, "end": 12521, "loc": { "start": { "line": 381, "column": 38 }, "end": { "line": 381, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12521, "end": 12522, "loc": { "start": { "line": 381, "column": 42 }, "end": { "line": 381, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 12522, "end": 12528, "loc": { "start": { "line": 381, "column": 43 }, "end": { "line": 381, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12528, "end": 12529, "loc": { "start": { "line": 381, "column": 49 }, "end": { "line": 381, "column": 50 } } }, { "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": 381, "column": 50 }, "end": { "line": 381, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 12530, "end": 12544, "loc": { "start": { "line": 381, "column": 51 }, "end": { "line": 381, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12544, "end": 12545, "loc": { "start": { "line": 381, "column": 65 }, "end": { "line": 381, "column": 66 } } }, { "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": 12545, "end": 12549, "loc": { "start": { "line": 381, "column": 66 }, "end": { "line": 381, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12549, "end": 12550, "loc": { "start": { "line": 381, "column": 70 }, "end": { "line": 381, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 12550, "end": 12559, "loc": { "start": { "line": 381, "column": 71 }, "end": { "line": 381, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12559, "end": 12560, "loc": { "start": { "line": 381, "column": 80 }, "end": { "line": 381, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12560, "end": 12561, "loc": { "start": { "line": 381, "column": 81 }, "end": { "line": 381, "column": 82 } } }, { "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": 12571, "end": 12577, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenSpace", "start": 12578, "end": 12589, "loc": { "start": { "line": 382, "column": 15 }, "end": { "line": 382, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12589, "end": 12590, "loc": { "start": { "line": 382, "column": 26 }, "end": { "line": 382, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addScalars", "start": 12590, "end": 12600, "loc": { "start": { "line": 382, "column": 27 }, "end": { "line": 382, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12600, "end": 12601, "loc": { "start": { "line": 382, "column": 37 }, "end": { "line": 382, "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": 12601, "end": 12605, "loc": { "start": { "line": 382, "column": 38 }, "end": { "line": 382, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12605, "end": 12606, "loc": { "start": { "line": 382, "column": 42 }, "end": { "line": 382, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12606, "end": 12610, "loc": { "start": { "line": 382, "column": 43 }, "end": { "line": 382, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12610, "end": 12611, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 12611, "end": 12620, "loc": { "start": { "line": 382, "column": 48 }, "end": { "line": 382, "column": 57 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 12621, "end": 12622, "loc": { "start": { "line": 382, "column": 58 }, "end": { "line": 382, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 12623, "end": 12624, "loc": { "start": { "line": 382, "column": 60 }, "end": { "line": 382, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12624, "end": 12625, "loc": { "start": { "line": 382, "column": 61 }, "end": { "line": 382, "column": 62 } } }, { "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": 12626, "end": 12630, "loc": { "start": { "line": 382, "column": 63 }, "end": { "line": 382, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12630, "end": 12631, "loc": { "start": { "line": 382, "column": 67 }, "end": { "line": 382, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 12631, "end": 12635, "loc": { "start": { "line": 382, "column": 68 }, "end": { "line": 382, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12635, "end": 12636, "loc": { "start": { "line": 382, "column": 72 }, "end": { "line": 382, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 12636, "end": 12646, "loc": { "start": { "line": 382, "column": 73 }, "end": { "line": 382, "column": 83 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 12647, "end": 12648, "loc": { "start": { "line": 382, "column": 84 }, "end": { "line": 382, "column": 85 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 12649, "end": 12650, "loc": { "start": { "line": 382, "column": 86 }, "end": { "line": 382, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12650, "end": 12651, "loc": { "start": { "line": 382, "column": 87 }, "end": { "line": 382, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12651, "end": 12652, "loc": { "start": { "line": 382, "column": 88 }, "end": { "line": 382, "column": 89 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12658, "end": 12659, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if a point is on screen\r\n * @param {Vector} point\r\n * @returns {boolean} true if its on screen\r\n ", "start": 12667, "end": 12798, "loc": { "start": { "line": 385, "column": 4 }, "end": { "line": 389, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isWorldPointOnScreen", "start": 12804, "end": 12824, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12824, "end": 12825, "loc": { "start": { "line": 390, "column": 24 }, "end": { "line": 390, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "point", "start": 12825, "end": 12830, "loc": { "start": { "line": 390, "column": 25 }, "end": { "line": 390, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12830, "end": 12831, "loc": { "start": { "line": 390, "column": 30 }, "end": { "line": 390, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12832, "end": 12833, "loc": { "start": { "line": 390, "column": 32 }, "end": { "line": 390, "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": 12843, "end": 12848, "loc": { "start": { "line": 391, "column": 8 }, "end": { "line": 391, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 12849, "end": 12853, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12854, "end": 12855, "loc": { "start": { "line": 391, "column": 19 }, "end": { "line": 391, "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": 12856, "end": 12860, "loc": { "start": { "line": 391, "column": 21 }, "end": { "line": 391, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12860, "end": 12861, "loc": { "start": { "line": 391, "column": 25 }, "end": { "line": 391, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getVisibleRect", "start": 12861, "end": 12875, "loc": { "start": { "line": 391, "column": 26 }, "end": { "line": 391, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12875, "end": 12876, "loc": { "start": { "line": 391, "column": 40 }, "end": { "line": 391, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12876, "end": 12877, "loc": { "start": { "line": 391, "column": 41 }, "end": { "line": 391, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12877, "end": 12878, "loc": { "start": { "line": 391, "column": 42 }, "end": { "line": 391, "column": 43 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 12888, "end": 12894, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 12895, "end": 12899, "loc": { "start": { "line": 392, "column": 15 }, "end": { "line": 392, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12899, "end": 12900, "loc": { "start": { "line": 392, "column": 19 }, "end": { "line": 392, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containsPoint", "start": 12900, "end": 12913, "loc": { "start": { "line": 392, "column": 20 }, "end": { "line": 392, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12913, "end": 12914, "loc": { "start": { "line": 392, "column": 33 }, "end": { "line": 392, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "point", "start": 12914, "end": 12919, "loc": { "start": { "line": 392, "column": 34 }, "end": { "line": 392, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12919, "end": 12920, "loc": { "start": { "line": 392, "column": 39 }, "end": { "line": 392, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 12920, "end": 12921, "loc": { "start": { "line": 392, "column": 40 }, "end": { "line": 392, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12921, "end": 12922, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 392, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "point", "start": 12923, "end": 12928, "loc": { "start": { "line": 392, "column": 43 }, "end": { "line": 392, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12928, "end": 12929, "loc": { "start": { "line": 392, "column": 48 }, "end": { "line": 392, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 12929, "end": 12930, "loc": { "start": { "line": 392, "column": 49 }, "end": { "line": 392, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12930, "end": 12931, "loc": { "start": { "line": 392, "column": 50 }, "end": { "line": 392, "column": 51 } } }, { "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": 392, "column": 51 }, "end": { "line": 392, "column": 52 } } }, { "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": 393, "column": 4 }, "end": { "line": 393, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom in\r\n * @returns {boolean}\r\n ", "start": 12947, "end": 13028, "loc": { "start": { "line": 395, "column": 4 }, "end": { "line": 398, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canZoomIn", "start": 13034, "end": 13043, "loc": { "start": { "line": 399, "column": 4 }, "end": { "line": 399, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13043, "end": 13044, "loc": { "start": { "line": 399, "column": 13 }, "end": { "line": 399, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13044, "end": 13045, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13046, "end": 13047, "loc": { "start": { "line": 399, "column": 16 }, "end": { "line": 399, "column": 17 } } }, { "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": 13057, "end": 13062, "loc": { "start": { "line": 400, "column": 8 }, "end": { "line": 400, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLevel", "start": 13063, "end": 13071, "loc": { "start": { "line": 400, "column": 14 }, "end": { "line": 400, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13072, "end": 13073, "loc": { "start": { "line": 400, "column": 23 }, "end": { "line": 400, "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": 13074, "end": 13078, "loc": { "start": { "line": 400, "column": 25 }, "end": { "line": 400, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13078, "end": 13079, "loc": { "start": { "line": 400, "column": 29 }, "end": { "line": 400, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13079, "end": 13083, "loc": { "start": { "line": 400, "column": 30 }, "end": { "line": 400, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13083, "end": 13084, "loc": { "start": { "line": 400, "column": 34 }, "end": { "line": 400, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 13084, "end": 13087, "loc": { "start": { "line": 400, "column": 35 }, "end": { "line": 400, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13087, "end": 13088, "loc": { "start": { "line": 400, "column": 38 }, "end": { "line": 400, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 13088, "end": 13103, "loc": { "start": { "line": 400, "column": 39 }, "end": { "line": 400, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13103, "end": 13104, "loc": { "start": { "line": 400, "column": 54 }, "end": { "line": 400, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMaximumZoom", "start": 13104, "end": 13118, "loc": { "start": { "line": 400, "column": 55 }, "end": { "line": 400, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13118, "end": 13119, "loc": { "start": { "line": 400, "column": 69 }, "end": { "line": 400, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13119, "end": 13120, "loc": { "start": { "line": 400, "column": 70 }, "end": { "line": 400, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13120, "end": 13121, "loc": { "start": { "line": 400, "column": 71 }, "end": { "line": 400, "column": 72 } } }, { "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": 13131, "end": 13137, "loc": { "start": { "line": 401, "column": 8 }, "end": { "line": 401, "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": 13138, "end": 13142, "loc": { "start": { "line": 401, "column": 15 }, "end": { "line": 401, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13142, "end": 13143, "loc": { "start": { "line": 401, "column": 19 }, "end": { "line": 401, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 13143, "end": 13152, "loc": { "start": { "line": 401, "column": 20 }, "end": { "line": 401, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 13153, "end": 13155, "loc": { "start": { "line": 401, "column": 30 }, "end": { "line": 401, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLevel", "start": 13156, "end": 13164, "loc": { "start": { "line": 401, "column": 33 }, "end": { "line": 401, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 13165, "end": 13166, "loc": { "start": { "line": 401, "column": 42 }, "end": { "line": 401, "column": 43 } } }, { "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": 13167, "end": 13171, "loc": { "start": { "line": 401, "column": 44 }, "end": { "line": 401, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13171, "end": 13172, "loc": { "start": { "line": 401, "column": 48 }, "end": { "line": 401, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13178, "end": 13179, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if we can further zoom out\r\n * @returns {boolean}\r\n ", "start": 13187, "end": 13269, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 407, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canZoomOut", "start": 13275, "end": 13285, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13285, "end": 13286, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13286, "end": 13287, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13288, "end": 13289, "loc": { "start": { "line": 408, "column": 17 }, "end": { "line": 408, "column": 18 } } }, { "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": 13299, "end": 13304, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minLevel", "start": 13305, "end": 13313, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13314, "end": 13315, "loc": { "start": { "line": 409, "column": 23 }, "end": { "line": 409, "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": 13316, "end": 13320, "loc": { "start": { "line": 409, "column": 25 }, "end": { "line": 409, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13320, "end": 13321, "loc": { "start": { "line": 409, "column": 29 }, "end": { "line": 409, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13321, "end": 13325, "loc": { "start": { "line": 409, "column": 30 }, "end": { "line": 409, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13325, "end": 13326, "loc": { "start": { "line": 409, "column": 34 }, "end": { "line": 409, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 13326, "end": 13329, "loc": { "start": { "line": 409, "column": 35 }, "end": { "line": 409, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13329, "end": 13330, "loc": { "start": { "line": 409, "column": 38 }, "end": { "line": 409, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 13330, "end": 13345, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13345, "end": 13346, "loc": { "start": { "line": 409, "column": 54 }, "end": { "line": 409, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMinimumZoom", "start": 13346, "end": 13360, "loc": { "start": { "line": 409, "column": 55 }, "end": { "line": 409, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13360, "end": 13361, "loc": { "start": { "line": 409, "column": 69 }, "end": { "line": 409, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13361, "end": 13362, "loc": { "start": { "line": 409, "column": 70 }, "end": { "line": 409, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13362, "end": 13363, "loc": { "start": { "line": 409, "column": 71 }, "end": { "line": 409, "column": 72 } } }, { "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": 13373, "end": 13379, "loc": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "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": 13380, "end": 13384, "loc": { "start": { "line": 410, "column": 15 }, "end": { "line": 410, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13384, "end": 13385, "loc": { "start": { "line": 410, "column": 19 }, "end": { "line": 410, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 13385, "end": 13394, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 13395, "end": 13397, "loc": { "start": { "line": 410, "column": 30 }, "end": { "line": 410, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minLevel", "start": 13398, "end": 13406, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 410, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 13407, "end": 13408, "loc": { "start": { "line": 410, "column": 42 }, "end": { "line": 410, "column": 43 } } }, { "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": 13409, "end": 13413, "loc": { "start": { "line": 410, "column": 44 }, "end": { "line": 410, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13413, "end": 13414, "loc": { "start": { "line": 410, "column": 48 }, "end": { "line": 410, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13420, "end": 13421, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 5 } } }, { "type": "CommentLine", "value": " EVENTS", "start": 13429, "end": 13438, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the mouse event is too close after a touch event and thus\r\n * should get ignored\r\n ", "start": 13446, "end": 13561, "loc": { "start": { "line": 415, "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": "checkPreventDoubleMouse", "start": 13567, "end": 13590, "loc": { "start": { "line": 419, "column": 4 }, "end": { "line": 419, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13590, "end": 13591, "loc": { "start": { "line": 419, "column": 27 }, "end": { "line": 419, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13591, "end": 13592, "loc": { "start": { "line": 419, "column": 28 }, "end": { "line": 419, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13593, "end": 13594, "loc": { "start": { "line": 419, "column": 30 }, "end": { "line": 419, "column": 31 } } }, { "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": 13604, "end": 13606, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 420, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13607, "end": 13608, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 13608, "end": 13619, "loc": { "start": { "line": 420, "column": 12 }, "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": 13619, "end": 13620, "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": "now", "start": 13620, "end": 13623, "loc": { "start": { "line": 420, "column": 24 }, "end": { "line": 420, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13623, "end": 13624, "loc": { "start": { "line": 420, "column": 27 }, "end": { "line": 420, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13624, "end": 13625, "loc": { "start": { "line": 420, "column": 28 }, "end": { "line": 420, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 13626, "end": 13627, "loc": { "start": { "line": 420, "column": 30 }, "end": { "line": 420, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clickDetectorGlobals", "start": 13628, "end": 13648, "loc": { "start": { "line": 420, "column": 32 }, "end": { "line": 420, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13648, "end": 13649, "loc": { "start": { "line": 420, "column": 52 }, "end": { "line": 420, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastTouchTime", "start": 13649, "end": 13662, "loc": { "start": { "line": 420, "column": 53 }, "end": { "line": 420, "column": 66 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13663, "end": 13664, "loc": { "start": { "line": 420, "column": 67 }, "end": { "line": 420, "column": 68 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 13665, "end": 13671, "loc": { "start": { "line": 420, "column": 69 }, "end": { "line": 420, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13671, "end": 13672, "loc": { "start": { "line": 420, "column": 75 }, "end": { "line": 420, "column": 76 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13673, "end": 13674, "loc": { "start": { "line": 420, "column": 77 }, "end": { "line": 420, "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": 13688, "end": 13694, "loc": { "start": { "line": 421, "column": 12 }, "end": { "line": 421, "column": 18 } } }, { "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": 13695, "end": 13700, "loc": { "start": { "line": 421, "column": 19 }, "end": { "line": 421, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13700, "end": 13701, "loc": { "start": { "line": 421, "column": 24 }, "end": { "line": 421, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13711, "end": 13712, "loc": { "start": { "line": 422, "column": 8 }, "end": { "line": 422, "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": 13722, "end": 13728, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 13729, "end": 13733, "loc": { "start": { "line": 423, "column": 15 }, "end": { "line": 423, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13733, "end": 13734, "loc": { "start": { "line": 423, "column": 19 }, "end": { "line": 423, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13740, "end": 13741, "loc": { "start": { "line": 424, "column": 4 }, "end": { "line": 424, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousedown handler\r\n * @param {MouseEvent} event\r\n ", "start": 13749, "end": 13821, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 429, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseDown", "start": 13827, "end": 13838, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13838, "end": 13839, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 13839, "end": 13844, "loc": { "start": { "line": 430, "column": 16 }, "end": { "line": 430, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13844, "end": 13845, "loc": { "start": { "line": 430, "column": 21 }, "end": { "line": 430, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13846, "end": 13847, "loc": { "start": { "line": 430, "column": 23 }, "end": { "line": 430, "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": 13857, "end": 13859, "loc": { "start": { "line": 431, "column": 8 }, "end": { "line": 431, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13860, "end": 13861, "loc": { "start": { "line": 431, "column": 11 }, "end": { "line": 431, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 13861, "end": 13866, "loc": { "start": { "line": 431, "column": 12 }, "end": { "line": 431, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13866, "end": 13867, "loc": { "start": { "line": 431, "column": 17 }, "end": { "line": 431, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 13867, "end": 13877, "loc": { "start": { "line": 431, "column": 18 }, "end": { "line": 431, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13877, "end": 13878, "loc": { "start": { "line": 431, "column": 28 }, "end": { "line": 431, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13879, "end": 13880, "loc": { "start": { "line": 431, "column": 30 }, "end": { "line": 431, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 13894, "end": 13899, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13899, "end": 13900, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 432, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 13900, "end": 13914, "loc": { "start": { "line": 432, "column": 18 }, "end": { "line": 432, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13914, "end": 13915, "loc": { "start": { "line": 432, "column": 32 }, "end": { "line": 432, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13915, "end": 13916, "loc": { "start": { "line": 432, "column": 33 }, "end": { "line": 432, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13916, "end": 13917, "loc": { "start": { "line": 432, "column": 34 }, "end": { "line": 432, "column": 35 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 13931, "end": 13958, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13968, "end": 13969, "loc": { "start": { "line": 434, "column": 8 }, "end": { "line": 434, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13981, "end": 13983, "loc": { "start": { "line": 436, "column": 8 }, "end": { "line": 436, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13984, "end": 13985, "loc": { "start": { "line": 436, "column": 11 }, "end": { "line": 436, "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": 13985, "end": 13986, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "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": 13986, "end": 13990, "loc": { "start": { "line": 436, "column": 13 }, "end": { "line": 436, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13990, "end": 13991, "loc": { "start": { "line": 436, "column": 17 }, "end": { "line": 436, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkPreventDoubleMouse", "start": 13991, "end": 14014, "loc": { "start": { "line": 436, "column": 18 }, "end": { "line": 436, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14014, "end": 14015, "loc": { "start": { "line": 436, "column": 41 }, "end": { "line": 436, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14015, "end": 14016, "loc": { "start": { "line": 436, "column": 42 }, "end": { "line": 436, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14016, "end": 14017, "loc": { "start": { "line": 436, "column": 43 }, "end": { "line": 436, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14018, "end": 14019, "loc": { "start": { "line": 436, "column": 45 }, "end": { "line": 436, "column": 46 } } }, { "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": 14033, "end": 14039, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14039, "end": 14040, "loc": { "start": { "line": 437, "column": 18 }, "end": { "line": 437, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14050, "end": 14051, "loc": { "start": { "line": 438, "column": 8 }, "end": { "line": 438, "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": 14063, "end": 14067, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14067, "end": 14068, "loc": { "start": { "line": 440, "column": 12 }, "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": "touchPostMoveVelocity", "start": 14068, "end": 14089, "loc": { "start": { "line": 440, "column": 13 }, "end": { "line": 440, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14090, "end": 14091, "loc": { "start": { "line": 440, "column": 35 }, "end": { "line": 440, "column": 36 } } }, { "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": 14092, "end": 14095, "loc": { "start": { "line": 440, "column": 37 }, "end": { "line": 440, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 14096, "end": 14102, "loc": { "start": { "line": 440, "column": 41 }, "end": { "line": 440, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14102, "end": 14103, "loc": { "start": { "line": 440, "column": 47 }, "end": { "line": 440, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 14103, "end": 14104, "loc": { "start": { "line": 440, "column": 48 }, "end": { "line": 440, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14104, "end": 14105, "loc": { "start": { "line": 440, "column": 49 }, "end": { "line": 440, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 14106, "end": 14107, "loc": { "start": { "line": 440, "column": 51 }, "end": { "line": 440, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14107, "end": 14108, "loc": { "start": { "line": 440, "column": 52 }, "end": { "line": 440, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14108, "end": 14109, "loc": { "start": { "line": 440, "column": 53 }, "end": { "line": 440, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14119, "end": 14121, "loc": { "start": { "line": 441, "column": 8 }, "end": { "line": 441, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14122, "end": 14123, "loc": { "start": { "line": 441, "column": 11 }, "end": { "line": 441, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14123, "end": 14128, "loc": { "start": { "line": 441, "column": 12 }, "end": { "line": 441, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14128, "end": 14129, "loc": { "start": { "line": 441, "column": 17 }, "end": { "line": 441, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14129, "end": 14135, "loc": { "start": { "line": 441, "column": 18 }, "end": { "line": 441, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14136, "end": 14139, "loc": { "start": { "line": 441, "column": 25 }, "end": { "line": 441, "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": 14140, "end": 14141, "loc": { "start": { "line": 441, "column": 29 }, "end": { "line": 441, "column": 30 } } }, { "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": 441, "column": 30 }, "end": { "line": 441, "column": 31 } } }, { "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": 441, "column": 32 }, "end": { "line": 441, "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": 14158, "end": 14162, "loc": { "start": { "line": 442, "column": 12 }, "end": { "line": 442, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14162, "end": 14163, "loc": { "start": { "line": 442, "column": 16 }, "end": { "line": 442, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStartHandler", "start": 14163, "end": 14194, "loc": { "start": { "line": 442, "column": 17 }, "end": { "line": 442, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14194, "end": 14195, "loc": { "start": { "line": 442, "column": 48 }, "end": { "line": 442, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14195, "end": 14200, "loc": { "start": { "line": 442, "column": 49 }, "end": { "line": 442, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14200, "end": 14201, "loc": { "start": { "line": 442, "column": 54 }, "end": { "line": 442, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 14201, "end": 14208, "loc": { "start": { "line": 442, "column": 55 }, "end": { "line": 442, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14208, "end": 14209, "loc": { "start": { "line": 442, "column": 62 }, "end": { "line": 442, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14210, "end": 14215, "loc": { "start": { "line": 442, "column": 64 }, "end": { "line": 442, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14215, "end": 14216, "loc": { "start": { "line": 442, "column": 69 }, "end": { "line": 442, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 14216, "end": 14223, "loc": { "start": { "line": 442, "column": 70 }, "end": { "line": 442, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14223, "end": 14224, "loc": { "start": { "line": 442, "column": 77 }, "end": { "line": 442, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14224, "end": 14225, "loc": { "start": { "line": 442, "column": 78 }, "end": { "line": 442, "column": 79 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14235, "end": 14236, "loc": { "start": { "line": 443, "column": 8 }, "end": { "line": 443, "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": 14237, "end": 14241, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 443, "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": 14242, "end": 14244, "loc": { "start": { "line": 443, "column": 15 }, "end": { "line": 443, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14245, "end": 14246, "loc": { "start": { "line": 443, "column": 18 }, "end": { "line": 443, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14246, "end": 14251, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14251, "end": 14252, "loc": { "start": { "line": 443, "column": 24 }, "end": { "line": 443, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14252, "end": 14258, "loc": { "start": { "line": 443, "column": 25 }, "end": { "line": 443, "column": 31 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14259, "end": 14262, "loc": { "start": { "line": 443, "column": 32 }, "end": { "line": 443, "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": 14263, "end": 14264, "loc": { "start": { "line": 443, "column": 36 }, "end": { "line": 443, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14264, "end": 14265, "loc": { "start": { "line": 443, "column": 37 }, "end": { "line": 443, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14266, "end": 14267, "loc": { "start": { "line": 443, "column": 39 }, "end": { "line": 443, "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": 14281, "end": 14285, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14285, "end": 14286, "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": "downPreHandler", "start": 14286, "end": 14300, "loc": { "start": { "line": 444, "column": 17 }, "end": { "line": 444, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14300, "end": 14301, "loc": { "start": { "line": 444, "column": 31 }, "end": { "line": 444, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 14301, "end": 14309, "loc": { "start": { "line": 444, "column": 32 }, "end": { "line": 444, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14309, "end": 14310, "loc": { "start": { "line": 444, "column": 40 }, "end": { "line": 444, "column": 41 } } }, { "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": 14310, "end": 14313, "loc": { "start": { "line": 444, "column": 41 }, "end": { "line": 444, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 14314, "end": 14320, "loc": { "start": { "line": 444, "column": 45 }, "end": { "line": 444, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14320, "end": 14321, "loc": { "start": { "line": 444, "column": 51 }, "end": { "line": 444, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14321, "end": 14326, "loc": { "start": { "line": 444, "column": 52 }, "end": { "line": 444, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14326, "end": 14327, "loc": { "start": { "line": 444, "column": 57 }, "end": { "line": 444, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 14327, "end": 14334, "loc": { "start": { "line": 444, "column": 58 }, "end": { "line": 444, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14334, "end": 14335, "loc": { "start": { "line": 444, "column": 65 }, "end": { "line": 444, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14336, "end": 14341, "loc": { "start": { "line": 444, "column": 67 }, "end": { "line": 444, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14341, "end": 14342, "loc": { "start": { "line": 444, "column": 72 }, "end": { "line": 444, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 14342, "end": 14349, "loc": { "start": { "line": 444, "column": 73 }, "end": { "line": 444, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14349, "end": 14350, "loc": { "start": { "line": 444, "column": 80 }, "end": { "line": 444, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14350, "end": 14351, "loc": { "start": { "line": 444, "column": 81 }, "end": { "line": 444, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 14352, "end": 14367, "loc": { "start": { "line": 444, "column": 83 }, "end": { "line": 444, "column": 98 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14367, "end": 14368, "loc": { "start": { "line": 444, "column": 98 }, "end": { "line": 444, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "middle", "start": 14368, "end": 14374, "loc": { "start": { "line": 444, "column": 99 }, "end": { "line": 444, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14374, "end": 14375, "loc": { "start": { "line": 444, "column": 105 }, "end": { "line": 444, "column": 106 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14375, "end": 14376, "loc": { "start": { "line": 444, "column": 106 }, "end": { "line": 444, "column": 107 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14386, "end": 14387, "loc": { "start": { "line": 445, "column": 8 }, "end": { "line": 445, "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": 14388, "end": 14392, "loc": { "start": { "line": 445, "column": 10 }, "end": { "line": 445, "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": 14393, "end": 14395, "loc": { "start": { "line": 445, "column": 15 }, "end": { "line": 445, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14396, "end": 14397, "loc": { "start": { "line": 445, "column": 18 }, "end": { "line": 445, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14397, "end": 14402, "loc": { "start": { "line": 445, "column": 19 }, "end": { "line": 445, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14402, "end": 14403, "loc": { "start": { "line": 445, "column": 24 }, "end": { "line": 445, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14403, "end": 14409, "loc": { "start": { "line": 445, "column": 25 }, "end": { "line": 445, "column": 31 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14410, "end": 14413, "loc": { "start": { "line": 445, "column": 32 }, "end": { "line": 445, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14414, "end": 14415, "loc": { "start": { "line": 445, "column": 36 }, "end": { "line": 445, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14415, "end": 14416, "loc": { "start": { "line": 445, "column": 37 }, "end": { "line": 445, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14417, "end": 14418, "loc": { "start": { "line": 445, "column": 39 }, "end": { "line": 445, "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": 14432, "end": 14436, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14436, "end": 14437, "loc": { "start": { "line": 446, "column": 16 }, "end": { "line": 446, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "downPreHandler", "start": 14437, "end": 14451, "loc": { "start": { "line": 446, "column": 17 }, "end": { "line": 446, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14451, "end": 14452, "loc": { "start": { "line": 446, "column": 31 }, "end": { "line": 446, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 14452, "end": 14460, "loc": { "start": { "line": 446, "column": 32 }, "end": { "line": 446, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14460, "end": 14461, "loc": { "start": { "line": 446, "column": 40 }, "end": { "line": 446, "column": 41 } } }, { "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": 14461, "end": 14464, "loc": { "start": { "line": 446, "column": 41 }, "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": "Vector", "start": 14465, "end": 14471, "loc": { "start": { "line": 446, "column": 45 }, "end": { "line": 446, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14471, "end": 14472, "loc": { "start": { "line": 446, "column": 51 }, "end": { "line": 446, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14472, "end": 14477, "loc": { "start": { "line": 446, "column": 52 }, "end": { "line": 446, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14477, "end": 14478, "loc": { "start": { "line": 446, "column": 57 }, "end": { "line": 446, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 14478, "end": 14485, "loc": { "start": { "line": 446, "column": 58 }, "end": { "line": 446, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14485, "end": 14486, "loc": { "start": { "line": 446, "column": 65 }, "end": { "line": 446, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14487, "end": 14492, "loc": { "start": { "line": 446, "column": 67 }, "end": { "line": 446, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14492, "end": 14493, "loc": { "start": { "line": 446, "column": 72 }, "end": { "line": 446, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 14493, "end": 14500, "loc": { "start": { "line": 446, "column": 73 }, "end": { "line": 446, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14500, "end": 14501, "loc": { "start": { "line": 446, "column": 80 }, "end": { "line": 446, "column": 81 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14501, "end": 14502, "loc": { "start": { "line": 446, "column": 81 }, "end": { "line": 446, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 14503, "end": 14518, "loc": { "start": { "line": 446, "column": 83 }, "end": { "line": 446, "column": 98 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14518, "end": 14519, "loc": { "start": { "line": 446, "column": 98 }, "end": { "line": 446, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "right", "start": 14519, "end": 14524, "loc": { "start": { "line": 446, "column": 99 }, "end": { "line": 446, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14524, "end": 14525, "loc": { "start": { "line": 446, "column": 104 }, "end": { "line": 446, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14525, "end": 14526, "loc": { "start": { "line": 446, "column": 105 }, "end": { "line": 446, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14536, "end": 14537, "loc": { "start": { "line": 447, "column": 8 }, "end": { "line": 447, "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": 14547, "end": 14553, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 14554, "end": 14559, "loc": { "start": { "line": 448, "column": 15 }, "end": { "line": 448, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14559, "end": 14560, "loc": { "start": { "line": 448, "column": 20 }, "end": { "line": 448, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14566, "end": 14567, "loc": { "start": { "line": 449, "column": 4 }, "end": { "line": 449, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousemove handler\r\n * @param {MouseEvent} event\r\n ", "start": 14575, "end": 14647, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 454, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseMove", "start": 14653, "end": 14664, "loc": { "start": { "line": 455, "column": 4 }, "end": { "line": 455, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14664, "end": 14665, "loc": { "start": { "line": 455, "column": 15 }, "end": { "line": 455, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14665, "end": 14670, "loc": { "start": { "line": 455, "column": 16 }, "end": { "line": 455, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14670, "end": 14671, "loc": { "start": { "line": 455, "column": 21 }, "end": { "line": 455, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14672, "end": 14673, "loc": { "start": { "line": 455, "column": 23 }, "end": { "line": 455, "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": 14683, "end": 14685, "loc": { "start": { "line": 456, "column": 8 }, "end": { "line": 456, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14686, "end": 14687, "loc": { "start": { "line": 456, "column": 11 }, "end": { "line": 456, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14687, "end": 14692, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14692, "end": 14693, "loc": { "start": { "line": 456, "column": 17 }, "end": { "line": 456, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 14693, "end": 14703, "loc": { "start": { "line": 456, "column": 18 }, "end": { "line": 456, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14703, "end": 14704, "loc": { "start": { "line": 456, "column": 28 }, "end": { "line": 456, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14705, "end": 14706, "loc": { "start": { "line": 456, "column": 30 }, "end": { "line": 456, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14720, "end": 14725, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14725, "end": 14726, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 457, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 14726, "end": 14740, "loc": { "start": { "line": 457, "column": 18 }, "end": { "line": 457, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14740, "end": 14741, "loc": { "start": { "line": 457, "column": 32 }, "end": { "line": 457, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14741, "end": 14742, "loc": { "start": { "line": 457, "column": 33 }, "end": { "line": 457, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14742, "end": 14743, "loc": { "start": { "line": 457, "column": 34 }, "end": { "line": 457, "column": 35 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 14757, "end": 14784, "loc": { "start": { "line": 458, "column": 12 }, "end": { "line": 458, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14794, "end": 14795, "loc": { "start": { "line": 459, "column": 8 }, "end": { "line": 459, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14807, "end": 14809, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14810, "end": 14811, "loc": { "start": { "line": 461, "column": 11 }, "end": { "line": 461, "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": 14811, "end": 14812, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "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": 14812, "end": 14816, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14816, "end": 14817, "loc": { "start": { "line": 461, "column": 17 }, "end": { "line": 461, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkPreventDoubleMouse", "start": 14817, "end": 14840, "loc": { "start": { "line": 461, "column": 18 }, "end": { "line": 461, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14840, "end": 14841, "loc": { "start": { "line": 461, "column": 41 }, "end": { "line": 461, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14841, "end": 14842, "loc": { "start": { "line": 461, "column": 42 }, "end": { "line": 461, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14842, "end": 14843, "loc": { "start": { "line": 461, "column": 43 }, "end": { "line": 461, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14844, "end": 14845, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 46 } } }, { "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": 14859, "end": 14865, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14865, "end": 14866, "loc": { "start": { "line": 462, "column": 18 }, "end": { "line": 462, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14876, "end": 14877, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14889, "end": 14891, "loc": { "start": { "line": 465, "column": 8 }, "end": { "line": 465, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14892, "end": 14893, "loc": { "start": { "line": 465, "column": 11 }, "end": { "line": 465, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14893, "end": 14898, "loc": { "start": { "line": 465, "column": 12 }, "end": { "line": 465, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14898, "end": 14899, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14899, "end": 14905, "loc": { "start": { "line": 465, "column": 18 }, "end": { "line": 465, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14906, "end": 14909, "loc": { "start": { "line": 465, "column": 25 }, "end": { "line": 465, "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": 14910, "end": 14911, "loc": { "start": { "line": 465, "column": 29 }, "end": { "line": 465, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14911, "end": 14912, "loc": { "start": { "line": 465, "column": 30 }, "end": { "line": 465, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14913, "end": 14914, "loc": { "start": { "line": 465, "column": 32 }, "end": { "line": 465, "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": 14928, "end": 14932, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 466, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14932, "end": 14933, "loc": { "start": { "line": 466, "column": 16 }, "end": { "line": 466, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchMoveHandler", "start": 14933, "end": 14963, "loc": { "start": { "line": 466, "column": 17 }, "end": { "line": 466, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14963, "end": 14964, "loc": { "start": { "line": 466, "column": 47 }, "end": { "line": 466, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14964, "end": 14969, "loc": { "start": { "line": 466, "column": 48 }, "end": { "line": 466, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14969, "end": 14970, "loc": { "start": { "line": 466, "column": 53 }, "end": { "line": 466, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 14970, "end": 14977, "loc": { "start": { "line": 466, "column": 54 }, "end": { "line": 466, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14977, "end": 14978, "loc": { "start": { "line": 466, "column": 61 }, "end": { "line": 466, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14979, "end": 14984, "loc": { "start": { "line": 466, "column": 63 }, "end": { "line": 466, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14984, "end": 14985, "loc": { "start": { "line": 466, "column": 68 }, "end": { "line": 466, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 14985, "end": 14992, "loc": { "start": { "line": 466, "column": 69 }, "end": { "line": 466, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14992, "end": 14993, "loc": { "start": { "line": 466, "column": 76 }, "end": { "line": 466, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14993, "end": 14994, "loc": { "start": { "line": 466, "column": 77 }, "end": { "line": 466, "column": 78 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15004, "end": 15005, "loc": { "start": { "line": 467, "column": 8 }, "end": { "line": 467, "column": 9 } } }, { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 15017, "end": 15047, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "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": 15057, "end": 15061, "loc": { "start": { "line": 470, "column": 8 }, "end": { "line": 470, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15061, "end": 15062, "loc": { "start": { "line": 470, "column": 12 }, "end": { "line": 470, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 15062, "end": 15076, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15076, "end": 15077, "loc": { "start": { "line": 470, "column": 27 }, "end": { "line": 470, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15077, "end": 15078, "loc": { "start": { "line": 470, "column": 28 }, "end": { "line": 470, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15078, "end": 15079, "loc": { "start": { "line": 470, "column": 29 }, "end": { "line": 470, "column": 30 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 15089, "end": 15095, "loc": { "start": { "line": 471, "column": 8 }, "end": { "line": 471, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 15096, "end": 15101, "loc": { "start": { "line": 471, "column": 15 }, "end": { "line": 471, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15101, "end": 15102, "loc": { "start": { "line": 471, "column": 20 }, "end": { "line": 471, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15108, "end": 15109, "loc": { "start": { "line": 472, "column": 4 }, "end": { "line": 472, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Mouseup handler\r\n * @param {MouseEvent=} event\r\n ", "start": 15117, "end": 15188, "loc": { "start": { "line": 474, "column": 4 }, "end": { "line": 477, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseUp", "start": 15194, "end": 15203, "loc": { "start": { "line": 478, "column": 4 }, "end": { "line": 478, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15203, "end": 15204, "loc": { "start": { "line": 478, "column": 13 }, "end": { "line": 478, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15204, "end": 15209, "loc": { "start": { "line": 478, "column": 14 }, "end": { "line": 478, "column": 19 } } }, { "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": 478, "column": 19 }, "end": { "line": 478, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15211, "end": 15212, "loc": { "start": { "line": 478, "column": 21 }, "end": { "line": 478, "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": 15222, "end": 15224, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15225, "end": 15226, "loc": { "start": { "line": 479, "column": 11 }, "end": { "line": 479, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15226, "end": 15231, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15231, "end": 15232, "loc": { "start": { "line": 479, "column": 17 }, "end": { "line": 479, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15233, "end": 15234, "loc": { "start": { "line": 479, "column": 19 }, "end": { "line": 479, "column": 20 } } }, { "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": 15248, "end": 15250, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15251, "end": 15252, "loc": { "start": { "line": 480, "column": 15 }, "end": { "line": 480, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15252, "end": 15257, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15257, "end": 15258, "loc": { "start": { "line": 480, "column": 21 }, "end": { "line": 480, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 15258, "end": 15268, "loc": { "start": { "line": 480, "column": 22 }, "end": { "line": 480, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15268, "end": 15269, "loc": { "start": { "line": 480, "column": 32 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15270, "end": 15271, "loc": { "start": { "line": 480, "column": 34 }, "end": { "line": 480, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15289, "end": 15294, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15294, "end": 15295, "loc": { "start": { "line": 481, "column": 21 }, "end": { "line": 481, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 15295, "end": 15309, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15309, "end": 15310, "loc": { "start": { "line": 481, "column": 36 }, "end": { "line": 481, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15310, "end": 15311, "loc": { "start": { "line": 481, "column": 37 }, "end": { "line": 481, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15311, "end": 15312, "loc": { "start": { "line": 481, "column": 38 }, "end": { "line": 481, "column": 39 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15330, "end": 15357, "loc": { "start": { "line": 482, "column": 16 }, "end": { "line": 482, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15371, "end": 15372, "loc": { "start": { "line": 483, "column": 12 }, "end": { "line": 483, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15382, "end": 15383, "loc": { "start": { "line": 484, "column": 8 }, "end": { "line": 484, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15395, "end": 15397, "loc": { "start": { "line": 486, "column": 8 }, "end": { "line": 486, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15398, "end": 15399, "loc": { "start": { "line": 486, "column": 11 }, "end": { "line": 486, "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": 15399, "end": 15400, "loc": { "start": { "line": 486, "column": 12 }, "end": { "line": 486, "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": 15400, "end": 15404, "loc": { "start": { "line": 486, "column": 13 }, "end": { "line": 486, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15404, "end": 15405, "loc": { "start": { "line": 486, "column": 17 }, "end": { "line": 486, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkPreventDoubleMouse", "start": 15405, "end": 15428, "loc": { "start": { "line": 486, "column": 18 }, "end": { "line": 486, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15428, "end": 15429, "loc": { "start": { "line": 486, "column": 41 }, "end": { "line": 486, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15429, "end": 15430, "loc": { "start": { "line": 486, "column": 42 }, "end": { "line": 486, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15430, "end": 15431, "loc": { "start": { "line": 486, "column": 43 }, "end": { "line": 486, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15432, "end": 15433, "loc": { "start": { "line": 486, "column": 45 }, "end": { "line": 486, "column": 46 } } }, { "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": 15447, "end": 15453, "loc": { "start": { "line": 487, "column": 12 }, "end": { "line": 487, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15453, "end": 15454, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15464, "end": 15465, "loc": { "start": { "line": 488, "column": 8 }, "end": { "line": 488, "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": 15477, "end": 15481, "loc": { "start": { "line": 490, "column": 8 }, "end": { "line": 490, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15481, "end": 15482, "loc": { "start": { "line": 490, "column": 12 }, "end": { "line": 490, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStopHandler", "start": 15482, "end": 15512, "loc": { "start": { "line": 490, "column": 13 }, "end": { "line": 490, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15512, "end": 15513, "loc": { "start": { "line": 490, "column": 43 }, "end": { "line": 490, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15513, "end": 15518, "loc": { "start": { "line": 490, "column": 44 }, "end": { "line": 490, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15518, "end": 15519, "loc": { "start": { "line": 490, "column": 49 }, "end": { "line": 490, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 15519, "end": 15526, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15526, "end": 15527, "loc": { "start": { "line": 490, "column": 57 }, "end": { "line": 490, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15528, "end": 15533, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15533, "end": 15534, "loc": { "start": { "line": 490, "column": 64 }, "end": { "line": 490, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 15534, "end": 15541, "loc": { "start": { "line": 490, "column": 65 }, "end": { "line": 490, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15541, "end": 15542, "loc": { "start": { "line": 490, "column": 72 }, "end": { "line": 490, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15542, "end": 15543, "loc": { "start": { "line": 490, "column": 73 }, "end": { "line": 490, "column": 74 } } }, { "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": 15553, "end": 15559, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 15560, "end": 15565, "loc": { "start": { "line": 491, "column": 15 }, "end": { "line": 491, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15565, "end": 15566, "loc": { "start": { "line": 491, "column": 20 }, "end": { "line": 491, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15572, "end": 15573, "loc": { "start": { "line": 492, "column": 4 }, "end": { "line": 492, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Mousewheel event\r\n * @param {WheelEvent} event\r\n ", "start": 15581, "end": 15652, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 497, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onMouseWheel", "start": 15658, "end": 15670, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15670, "end": 15671, "loc": { "start": { "line": 498, "column": 16 }, "end": { "line": 498, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15671, "end": 15676, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15676, "end": 15677, "loc": { "start": { "line": 498, "column": 22 }, "end": { "line": 498, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15678, "end": 15679, "loc": { "start": { "line": 498, "column": 24 }, "end": { "line": 498, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15689, "end": 15691, "loc": { "start": { "line": 499, "column": 8 }, "end": { "line": 499, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15692, "end": 15693, "loc": { "start": { "line": 499, "column": 11 }, "end": { "line": 499, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15693, "end": 15698, "loc": { "start": { "line": 499, "column": 12 }, "end": { "line": 499, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15698, "end": 15699, "loc": { "start": { "line": 499, "column": 17 }, "end": { "line": 499, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 15699, "end": 15709, "loc": { "start": { "line": 499, "column": 18 }, "end": { "line": 499, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15709, "end": 15710, "loc": { "start": { "line": 499, "column": 28 }, "end": { "line": 499, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15711, "end": 15712, "loc": { "start": { "line": 499, "column": 30 }, "end": { "line": 499, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15726, "end": 15731, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15731, "end": 15732, "loc": { "start": { "line": 500, "column": 17 }, "end": { "line": 500, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 15732, "end": 15746, "loc": { "start": { "line": 500, "column": 18 }, "end": { "line": 500, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15746, "end": 15747, "loc": { "start": { "line": 500, "column": 32 }, "end": { "line": 500, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15747, "end": 15748, "loc": { "start": { "line": 500, "column": 33 }, "end": { "line": 500, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15748, "end": 15749, "loc": { "start": { "line": 500, "column": 34 }, "end": { "line": 500, "column": 35 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 15763, "end": 15790, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 501, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15800, "end": 15801, "loc": { "start": { "line": 502, "column": 8 }, "end": { "line": 502, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 15811, "end": 15816, "loc": { "start": { "line": 503, "column": 8 }, "end": { "line": 503, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevZoom", "start": 15817, "end": 15825, "loc": { "start": { "line": 503, "column": 14 }, "end": { "line": 503, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15826, "end": 15827, "loc": { "start": { "line": 503, "column": 23 }, "end": { "line": 503, "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": 15828, "end": 15832, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15832, "end": 15833, "loc": { "start": { "line": 503, "column": 29 }, "end": { "line": 503, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 15833, "end": 15842, "loc": { "start": { "line": 503, "column": 30 }, "end": { "line": 503, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15842, "end": 15843, "loc": { "start": { "line": 503, "column": 39 }, "end": { "line": 503, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 15855, "end": 15860, "loc": { "start": { "line": 505, "column": 8 }, "end": { "line": 505, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15861, "end": 15866, "loc": { "start": { "line": 505, "column": 14 }, "end": { "line": 505, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15867, "end": 15868, "loc": { "start": { "line": 505, "column": 20 }, "end": { "line": 505, "column": 21 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 15869, "end": 15870, "loc": { "start": { "line": 505, "column": 22 }, "end": { "line": 505, "column": 23 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15871, "end": 15872, "loc": { "start": { "line": 505, "column": 24 }, "end": { "line": 505, "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.15, "start": 15873, "end": 15877, "loc": { "start": { "line": 505, "column": 26 }, "end": { "line": 505, "column": 30 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15878, "end": 15879, "loc": { "start": { "line": 505, "column": 31 }, "end": { "line": 505, "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": 15880, "end": 15884, "loc": { "start": { "line": 505, "column": 33 }, "end": { "line": 505, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15884, "end": 15885, "loc": { "start": { "line": 505, "column": 37 }, "end": { "line": 505, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 15885, "end": 15889, "loc": { "start": { "line": 505, "column": 38 }, "end": { "line": 505, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15889, "end": 15890, "loc": { "start": { "line": 505, "column": 42 }, "end": { "line": 505, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 15890, "end": 15893, "loc": { "start": { "line": 505, "column": 43 }, "end": { "line": 505, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15893, "end": 15894, "loc": { "start": { "line": 505, "column": 46 }, "end": { "line": 505, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 15894, "end": 15902, "loc": { "start": { "line": 505, "column": 47 }, "end": { "line": 505, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15902, "end": 15903, "loc": { "start": { "line": 505, "column": 55 }, "end": { "line": 505, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getScrollWheelSensitivity", "start": 15903, "end": 15928, "loc": { "start": { "line": 505, "column": 56 }, "end": { "line": 505, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15928, "end": 15929, "loc": { "start": { "line": 505, "column": 81 }, "end": { "line": 505, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15929, "end": 15930, "loc": { "start": { "line": 505, "column": 82 }, "end": { "line": 505, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15930, "end": 15931, "loc": { "start": { "line": 505, "column": 83 }, "end": { "line": 505, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 15941, "end": 15947, "loc": { "start": { "line": 506, "column": 8 }, "end": { "line": 506, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15947, "end": 15948, "loc": { "start": { "line": 506, "column": 14 }, "end": { "line": 506, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 15948, "end": 15954, "loc": { "start": { "line": 506, "column": 15 }, "end": { "line": 506, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15954, "end": 15955, "loc": { "start": { "line": 506, "column": 21 }, "end": { "line": 506, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 15955, "end": 15963, "loc": { "start": { "line": 506, "column": 22 }, "end": { "line": 506, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15963, "end": 15964, "loc": { "start": { "line": 506, "column": 30 }, "end": { "line": 506, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 15964, "end": 15969, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15969, "end": 15970, "loc": { "start": { "line": 506, "column": 36 }, "end": { "line": 506, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15970, "end": 15971, "loc": { "start": { "line": 506, "column": 37 }, "end": { "line": 506, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Got invalid scale in mouse wheel event: ", "start": 15972, "end": 16014, "loc": { "start": { "line": 506, "column": 39 }, "end": { "line": 506, "column": 81 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 16015, "end": 16016, "loc": { "start": { "line": 506, "column": 82 }, "end": { "line": 506, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 16017, "end": 16022, "loc": { "start": { "line": 506, "column": 84 }, "end": { "line": 506, "column": 89 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16022, "end": 16023, "loc": { "start": { "line": 506, "column": 89 }, "end": { "line": 506, "column": 90 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deltaY", "start": 16023, "end": 16029, "loc": { "start": { "line": 506, "column": 90 }, "end": { "line": 506, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16029, "end": 16030, "loc": { "start": { "line": 506, "column": 96 }, "end": { "line": 506, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16030, "end": 16031, "loc": { "start": { "line": 506, "column": 97 }, "end": { "line": 506, "column": 98 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 16041, "end": 16047, "loc": { "start": { "line": 507, "column": 8 }, "end": { "line": 507, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16047, "end": 16048, "loc": { "start": { "line": 507, "column": 14 }, "end": { "line": 507, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 16048, "end": 16054, "loc": { "start": { "line": 507, "column": 15 }, "end": { "line": 507, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16054, "end": 16055, "loc": { "start": { "line": 507, "column": 21 }, "end": { "line": 507, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 16055, "end": 16063, "loc": { "start": { "line": 507, "column": 22 }, "end": { "line": 507, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16063, "end": 16064, "loc": { "start": { "line": 507, "column": 30 }, "end": { "line": 507, "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": 16064, "end": 16068, "loc": { "start": { "line": 507, "column": 31 }, "end": { "line": 507, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16068, "end": 16069, "loc": { "start": { "line": 507, "column": 35 }, "end": { "line": 507, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16069, "end": 16078, "loc": { "start": { "line": 507, "column": 36 }, "end": { "line": 507, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16078, "end": 16079, "loc": { "start": { "line": 507, "column": 45 }, "end": { "line": 507, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16079, "end": 16080, "loc": { "start": { "line": 507, "column": 46 }, "end": { "line": 507, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Got invalid zoom level *before* wheel: ", "start": 16081, "end": 16122, "loc": { "start": { "line": 507, "column": 48 }, "end": { "line": 507, "column": 89 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 16123, "end": 16124, "loc": { "start": { "line": 507, "column": 90 }, "end": { "line": 507, "column": 91 } } }, { "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": 16125, "end": 16129, "loc": { "start": { "line": 507, "column": 92 }, "end": { "line": 507, "column": 96 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16129, "end": 16130, "loc": { "start": { "line": 507, "column": 96 }, "end": { "line": 507, "column": 97 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16130, "end": 16139, "loc": { "start": { "line": 507, "column": 97 }, "end": { "line": 507, "column": 106 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16139, "end": 16140, "loc": { "start": { "line": 507, "column": 106 }, "end": { "line": 507, "column": 107 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16140, "end": 16141, "loc": { "start": { "line": 507, "column": 107 }, "end": { "line": 507, "column": 108 } } }, { "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": 16151, "end": 16155, "loc": { "start": { "line": 508, "column": 8 }, "end": { "line": 508, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16155, "end": 16156, "loc": { "start": { "line": 508, "column": 12 }, "end": { "line": 508, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16156, "end": 16165, "loc": { "start": { "line": 508, "column": 13 }, "end": { "line": 508, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*=", "start": 16166, "end": 16168, "loc": { "start": { "line": 508, "column": 23 }, "end": { "line": 508, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 16169, "end": 16174, "loc": { "start": { "line": 508, "column": 26 }, "end": { "line": 508, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16174, "end": 16175, "loc": { "start": { "line": 508, "column": 31 }, "end": { "line": 508, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deltaY", "start": 16175, "end": 16181, "loc": { "start": { "line": 508, "column": 32 }, "end": { "line": 508, "column": 38 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 16182, "end": 16183, "loc": { "start": { "line": 508, "column": 39 }, "end": { "line": 508, "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, "start": 16184, "end": 16185, "loc": { "start": { "line": 508, "column": 41 }, "end": { "line": 508, "column": 42 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16186, "end": 16187, "loc": { "start": { "line": 508, "column": 43 }, "end": { "line": 508, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 16188, "end": 16193, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 50 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16194, "end": 16195, "loc": { "start": { "line": 508, "column": 51 }, "end": { "line": 508, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16196, "end": 16197, "loc": { "start": { "line": 508, "column": 53 }, "end": { "line": 508, "column": 54 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 16198, "end": 16199, "loc": { "start": { "line": 508, "column": 55 }, "end": { "line": 508, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 16200, "end": 16205, "loc": { "start": { "line": 508, "column": 57 }, "end": { "line": 508, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16205, "end": 16206, "loc": { "start": { "line": 508, "column": 62 }, "end": { "line": 508, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 16216, "end": 16222, "loc": { "start": { "line": 509, "column": 8 }, "end": { "line": 509, "column": 14 } } }, { "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": 509, "column": 14 }, "end": { "line": 509, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 16223, "end": 16229, "loc": { "start": { "line": 509, "column": 15 }, "end": { "line": 509, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16229, "end": 16230, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 16230, "end": 16238, "loc": { "start": { "line": 509, "column": 22 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16238, "end": 16239, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "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": 16239, "end": 16243, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16243, "end": 16244, "loc": { "start": { "line": 509, "column": 35 }, "end": { "line": 509, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16244, "end": 16253, "loc": { "start": { "line": 509, "column": 36 }, "end": { "line": 509, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16253, "end": 16254, "loc": { "start": { "line": 509, "column": 45 }, "end": { "line": 509, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16254, "end": 16255, "loc": { "start": { "line": 509, "column": 46 }, "end": { "line": 509, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Got invalid zoom level *after* wheel: ", "start": 16256, "end": 16296, "loc": { "start": { "line": 509, "column": 48 }, "end": { "line": 509, "column": 88 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 16297, "end": 16298, "loc": { "start": { "line": 509, "column": 89 }, "end": { "line": 509, "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": 16299, "end": 16303, "loc": { "start": { "line": 509, "column": 91 }, "end": { "line": 509, "column": 95 } } }, { "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": 509, "column": 95 }, "end": { "line": 509, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16304, "end": 16313, "loc": { "start": { "line": 509, "column": 96 }, "end": { "line": 509, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16313, "end": 16314, "loc": { "start": { "line": 509, "column": 105 }, "end": { "line": 509, "column": 106 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16314, "end": 16315, "loc": { "start": { "line": 509, "column": 106 }, "end": { "line": 509, "column": 107 } } }, { "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": 16327, "end": 16331, "loc": { "start": { "line": 511, "column": 8 }, "end": { "line": 511, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16331, "end": 16332, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 16332, "end": 16346, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16346, "end": 16347, "loc": { "start": { "line": 511, "column": 27 }, "end": { "line": 511, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16347, "end": 16348, "loc": { "start": { "line": 511, "column": 28 }, "end": { "line": 511, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16348, "end": 16349, "loc": { "start": { "line": 511, "column": 29 }, "end": { "line": 511, "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": 16359, "end": 16363, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 12 } } }, { "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": 512, "column": 12 }, "end": { "line": 512, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 16364, "end": 16375, "loc": { "start": { "line": 512, "column": 13 }, "end": { "line": 512, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16376, "end": 16377, "loc": { "start": { "line": 512, "column": 25 }, "end": { "line": 512, "column": 26 } } }, { "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": 16378, "end": 16382, "loc": { "start": { "line": 512, "column": 27 }, "end": { "line": 512, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16382, "end": 16383, "loc": { "start": { "line": 512, "column": 31 }, "end": { "line": 512, "column": 32 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16395, "end": 16398, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 16399, "end": 16412, "loc": { "start": { "line": 514, "column": 12 }, "end": { "line": 514, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16413, "end": 16414, "loc": { "start": { "line": 514, "column": 26 }, "end": { "line": 514, "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": 16415, "end": 16419, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16419, "end": 16420, "loc": { "start": { "line": 514, "column": 32 }, "end": { "line": 514, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16420, "end": 16424, "loc": { "start": { "line": 514, "column": 33 }, "end": { "line": 514, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16424, "end": 16425, "loc": { "start": { "line": 514, "column": 37 }, "end": { "line": 514, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 16425, "end": 16428, "loc": { "start": { "line": 514, "column": 38 }, "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": 16428, "end": 16429, "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": "mousePosition", "start": 16429, "end": 16442, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16442, "end": 16443, "loc": { "start": { "line": 514, "column": 55 }, "end": { "line": 514, "column": 56 } } }, { "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": 16453, "end": 16455, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16456, "end": 16457, "loc": { "start": { "line": 515, "column": 11 }, "end": { "line": 515, "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": 16457, "end": 16458, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "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": 16458, "end": 16462, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16462, "end": 16463, "loc": { "start": { "line": 515, "column": 17 }, "end": { "line": 515, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16463, "end": 16467, "loc": { "start": { "line": 515, "column": 18 }, "end": { "line": 515, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16467, "end": 16468, "loc": { "start": { "line": 515, "column": 22 }, "end": { "line": 515, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 16468, "end": 16471, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16471, "end": 16472, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 16472, "end": 16480, "loc": { "start": { "line": 515, "column": 27 }, "end": { "line": 515, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16480, "end": 16481, "loc": { "start": { "line": 515, "column": 35 }, "end": { "line": 515, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 16481, "end": 16495, "loc": { "start": { "line": 515, "column": 36 }, "end": { "line": 515, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16495, "end": 16496, "loc": { "start": { "line": 515, "column": 50 }, "end": { "line": 515, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16496, "end": 16497, "loc": { "start": { "line": 515, "column": 51 }, "end": { "line": 515, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16497, "end": 16498, "loc": { "start": { "line": 515, "column": 52 }, "end": { "line": 515, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomToCursor", "start": 16498, "end": 16510, "loc": { "start": { "line": 515, "column": 53 }, "end": { "line": 515, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16510, "end": 16511, "loc": { "start": { "line": 515, "column": 65 }, "end": { "line": 515, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16512, "end": 16513, "loc": { "start": { "line": 515, "column": 67 }, "end": { "line": 515, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 16527, "end": 16540, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16541, "end": 16542, "loc": { "start": { "line": 516, "column": 26 }, "end": { "line": 516, "column": 27 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 16543, "end": 16546, "loc": { "start": { "line": 516, "column": 28 }, "end": { "line": 516, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 16547, "end": 16553, "loc": { "start": { "line": 516, "column": 32 }, "end": { "line": 516, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16553, "end": 16554, "loc": { "start": { "line": 516, "column": 38 }, "end": { "line": 516, "column": 39 } } }, { "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": 16554, "end": 16558, "loc": { "start": { "line": 516, "column": 39 }, "end": { "line": 516, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16558, "end": 16559, "loc": { "start": { "line": 516, "column": 43 }, "end": { "line": 516, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16559, "end": 16563, "loc": { "start": { "line": 516, "column": 44 }, "end": { "line": 516, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16563, "end": 16564, "loc": { "start": { "line": 516, "column": 48 }, "end": { "line": 516, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 16564, "end": 16573, "loc": { "start": { "line": 516, "column": 49 }, "end": { "line": 516, "column": 58 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 16574, "end": 16575, "loc": { "start": { "line": 516, "column": 59 }, "end": { "line": 516, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 16576, "end": 16577, "loc": { "start": { "line": 516, "column": 61 }, "end": { "line": 516, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16577, "end": 16578, "loc": { "start": { "line": 516, "column": 62 }, "end": { "line": 516, "column": 63 } } }, { "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": 16579, "end": 16583, "loc": { "start": { "line": 516, "column": 64 }, "end": { "line": 516, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16583, "end": 16584, "loc": { "start": { "line": 516, "column": 68 }, "end": { "line": 516, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16584, "end": 16588, "loc": { "start": { "line": 516, "column": 69 }, "end": { "line": 516, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16588, "end": 16589, "loc": { "start": { "line": 516, "column": 73 }, "end": { "line": 516, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 16589, "end": 16599, "loc": { "start": { "line": 516, "column": 74 }, "end": { "line": 516, "column": 84 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 16600, "end": 16601, "loc": { "start": { "line": 516, "column": 85 }, "end": { "line": 516, "column": 86 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 16602, "end": 16603, "loc": { "start": { "line": 516, "column": 87 }, "end": { "line": 516, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16603, "end": 16604, "loc": { "start": { "line": 516, "column": 88 }, "end": { "line": 516, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16604, "end": 16605, "loc": { "start": { "line": 516, "column": 89 }, "end": { "line": 516, "column": 90 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16615, "end": 16616, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16628, "end": 16630, "loc": { "start": { "line": 519, "column": 8 }, "end": { "line": 519, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16631, "end": 16632, "loc": { "start": { "line": 519, "column": 11 }, "end": { "line": 519, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 16632, "end": 16645, "loc": { "start": { "line": 519, "column": 12 }, "end": { "line": 519, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16645, "end": 16646, "loc": { "start": { "line": 519, "column": 25 }, "end": { "line": 519, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16647, "end": 16648, "loc": { "start": { "line": 519, "column": 27 }, "end": { "line": 519, "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": 16662, "end": 16667, "loc": { "start": { "line": 520, "column": 12 }, "end": { "line": 520, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 16668, "end": 16676, "loc": { "start": { "line": 520, "column": 18 }, "end": { "line": 520, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16677, "end": 16678, "loc": { "start": { "line": 520, "column": 27 }, "end": { "line": 520, "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": 16679, "end": 16683, "loc": { "start": { "line": 520, "column": 29 }, "end": { "line": 520, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16683, "end": 16684, "loc": { "start": { "line": 520, "column": 33 }, "end": { "line": 520, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 16684, "end": 16688, "loc": { "start": { "line": 520, "column": 34 }, "end": { "line": 520, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16688, "end": 16689, "loc": { "start": { "line": 520, "column": 38 }, "end": { "line": 520, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 16689, "end": 16695, "loc": { "start": { "line": 520, "column": 39 }, "end": { "line": 520, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16695, "end": 16696, "loc": { "start": { "line": 520, "column": 45 }, "end": { "line": 520, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenToWorld", "start": 16696, "end": 16709, "loc": { "start": { "line": 520, "column": 46 }, "end": { "line": 520, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16709, "end": 16710, "loc": { "start": { "line": 520, "column": 59 }, "end": { "line": 520, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 16710, "end": 16723, "loc": { "start": { "line": 520, "column": 60 }, "end": { "line": 520, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16723, "end": 16724, "loc": { "start": { "line": 520, "column": 73 }, "end": { "line": 520, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16724, "end": 16725, "loc": { "start": { "line": 520, "column": 74 }, "end": { "line": 520, "column": 75 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16739, "end": 16744, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldDelta", "start": 16745, "end": 16755, "loc": { "start": { "line": 521, "column": 18 }, "end": { "line": 521, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16756, "end": 16757, "loc": { "start": { "line": 521, "column": 29 }, "end": { "line": 521, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldPos", "start": 16758, "end": 16766, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16766, "end": 16767, "loc": { "start": { "line": 521, "column": 39 }, "end": { "line": 521, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 16767, "end": 16770, "loc": { "start": { "line": 521, "column": 40 }, "end": { "line": 521, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16770, "end": 16771, "loc": { "start": { "line": 521, "column": 43 }, "end": { "line": 521, "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": 16771, "end": 16775, "loc": { "start": { "line": 521, "column": 44 }, "end": { "line": 521, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16775, "end": 16776, "loc": { "start": { "line": 521, "column": 48 }, "end": { "line": 521, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 16776, "end": 16782, "loc": { "start": { "line": 521, "column": 49 }, "end": { "line": 521, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16782, "end": 16783, "loc": { "start": { "line": 521, "column": 55 }, "end": { "line": 521, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16783, "end": 16784, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "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": 16798, "end": 16803, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actualDelta", "start": 16804, "end": 16815, "loc": { "start": { "line": 522, "column": 18 }, "end": { "line": 522, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16816, "end": 16817, "loc": { "start": { "line": 522, "column": 30 }, "end": { "line": 522, "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": 16818, "end": 16822, "loc": { "start": { "line": 522, "column": 32 }, "end": { "line": 522, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16822, "end": 16823, "loc": { "start": { "line": 522, "column": 36 }, "end": { "line": 522, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 16823, "end": 16832, "loc": { "start": { "line": 522, "column": 37 }, "end": { "line": 522, "column": 46 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 16833, "end": 16834, "loc": { "start": { "line": 522, "column": 47 }, "end": { "line": 522, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevZoom", "start": 16835, "end": 16843, "loc": { "start": { "line": 522, "column": 49 }, "end": { "line": 522, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 16844, "end": 16845, "loc": { "start": { "line": 522, "column": 58 }, "end": { "line": 522, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16846, "end": 16847, "loc": { "start": { "line": 522, "column": 60 }, "end": { "line": 522, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16847, "end": 16848, "loc": { "start": { "line": 522, "column": 61 }, "end": { "line": 522, "column": 62 } } }, { "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": 16862, "end": 16866, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16866, "end": 16867, "loc": { "start": { "line": 523, "column": 16 }, "end": { "line": 523, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 16867, "end": 16873, "loc": { "start": { "line": 523, "column": 17 }, "end": { "line": 523, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16874, "end": 16875, "loc": { "start": { "line": 523, "column": 24 }, "end": { "line": 523, "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": 16876, "end": 16880, "loc": { "start": { "line": 523, "column": 26 }, "end": { "line": 523, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16880, "end": 16881, "loc": { "start": { "line": 523, "column": 30 }, "end": { "line": 523, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 16881, "end": 16887, "loc": { "start": { "line": 523, "column": 31 }, "end": { "line": 523, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16887, "end": 16888, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 16888, "end": 16891, "loc": { "start": { "line": 523, "column": 38 }, "end": { "line": 523, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16891, "end": 16892, "loc": { "start": { "line": 523, "column": 41 }, "end": { "line": 523, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldDelta", "start": 16892, "end": 16902, "loc": { "start": { "line": 523, "column": 42 }, "end": { "line": 523, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16902, "end": 16903, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 16903, "end": 16917, "loc": { "start": { "line": 523, "column": 53 }, "end": { "line": 523, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16917, "end": 16918, "loc": { "start": { "line": 523, "column": 67 }, "end": { "line": 523, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actualDelta", "start": 16918, "end": 16929, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16929, "end": 16930, "loc": { "start": { "line": 523, "column": 79 }, "end": { "line": 523, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16930, "end": 16931, "loc": { "start": { "line": 523, "column": 80 }, "end": { "line": 523, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16931, "end": 16932, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 82 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16946, "end": 16950, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16950, "end": 16951, "loc": { "start": { "line": 524, "column": 16 }, "end": { "line": 524, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 16951, "end": 16964, "loc": { "start": { "line": 524, "column": 17 }, "end": { "line": 524, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16965, "end": 16966, "loc": { "start": { "line": 524, "column": 31 }, "end": { "line": 524, "column": 32 } } }, { "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": 16967, "end": 16971, "loc": { "start": { "line": 524, "column": 33 }, "end": { "line": 524, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16971, "end": 16972, "loc": { "start": { "line": 524, "column": 37 }, "end": { "line": 524, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16982, "end": 16983, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 525, "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": 16995, "end": 17001, "loc": { "start": { "line": 527, "column": 8 }, "end": { "line": 527, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 17002, "end": 17007, "loc": { "start": { "line": 527, "column": 15 }, "end": { "line": 527, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17007, "end": 17008, "loc": { "start": { "line": 527, "column": 20 }, "end": { "line": 527, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17014, "end": 17015, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch start handler\r\n * @param {TouchEvent} event\r\n ", "start": 17023, "end": 17097, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 533, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchStart", "start": 17103, "end": 17115, "loc": { "start": { "line": 534, "column": 4 }, "end": { "line": 534, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17115, "end": 17116, "loc": { "start": { "line": 534, "column": 16 }, "end": { "line": 534, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17116, "end": 17121, "loc": { "start": { "line": 534, "column": 17 }, "end": { "line": 534, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17121, "end": 17122, "loc": { "start": { "line": 534, "column": 22 }, "end": { "line": 534, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17123, "end": 17124, "loc": { "start": { "line": 534, "column": 24 }, "end": { "line": 534, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17134, "end": 17136, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17137, "end": 17138, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17138, "end": 17143, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17143, "end": 17144, "loc": { "start": { "line": 535, "column": 17 }, "end": { "line": 535, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 17144, "end": 17154, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17154, "end": 17155, "loc": { "start": { "line": 535, "column": 28 }, "end": { "line": 535, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17156, "end": 17157, "loc": { "start": { "line": 535, "column": 30 }, "end": { "line": 535, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17171, "end": 17176, "loc": { "start": { "line": 536, "column": 12 }, "end": { "line": 536, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17176, "end": 17177, "loc": { "start": { "line": 536, "column": 17 }, "end": { "line": 536, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 17177, "end": 17191, "loc": { "start": { "line": 536, "column": 18 }, "end": { "line": 536, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17191, "end": 17192, "loc": { "start": { "line": 536, "column": 32 }, "end": { "line": 536, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17192, "end": 17193, "loc": { "start": { "line": 536, "column": 33 }, "end": { "line": 536, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17193, "end": 17194, "loc": { "start": { "line": 536, "column": 34 }, "end": { "line": 536, "column": 35 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 17208, "end": 17235, "loc": { "start": { "line": 537, "column": 12 }, "end": { "line": 537, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17245, "end": 17246, "loc": { "start": { "line": 538, "column": 8 }, "end": { "line": 538, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clickDetectorGlobals", "start": 17258, "end": 17278, "loc": { "start": { "line": 540, "column": 8 }, "end": { "line": 540, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17278, "end": 17279, "loc": { "start": { "line": 540, "column": 28 }, "end": { "line": 540, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastTouchTime", "start": 17279, "end": 17292, "loc": { "start": { "line": 540, "column": 29 }, "end": { "line": 540, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17293, "end": 17294, "loc": { "start": { "line": 540, "column": 43 }, "end": { "line": 540, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 17295, "end": 17306, "loc": { "start": { "line": 540, "column": 45 }, "end": { "line": 540, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17306, "end": 17307, "loc": { "start": { "line": 540, "column": 56 }, "end": { "line": 540, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 17307, "end": 17310, "loc": { "start": { "line": 540, "column": 57 }, "end": { "line": 540, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17310, "end": 17311, "loc": { "start": { "line": 540, "column": 60 }, "end": { "line": 540, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17311, "end": 17312, "loc": { "start": { "line": 540, "column": 61 }, "end": { "line": 540, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17312, "end": 17313, "loc": { "start": { "line": 540, "column": 62 }, "end": { "line": 540, "column": 63 } } }, { "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": 17323, "end": 17327, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17327, "end": 17328, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 17328, "end": 17349, "loc": { "start": { "line": 541, "column": 13 }, "end": { "line": 541, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17350, "end": 17351, "loc": { "start": { "line": 541, "column": 35 }, "end": { "line": 541, "column": 36 } } }, { "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": 17352, "end": 17355, "loc": { "start": { "line": 541, "column": 37 }, "end": { "line": 541, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 17356, "end": 17362, "loc": { "start": { "line": 541, "column": 41 }, "end": { "line": 541, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17362, "end": 17363, "loc": { "start": { "line": 541, "column": 47 }, "end": { "line": 541, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17363, "end": 17364, "loc": { "start": { "line": 541, "column": 48 }, "end": { "line": 541, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17364, "end": 17365, "loc": { "start": { "line": 541, "column": 49 }, "end": { "line": 541, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17366, "end": 17367, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17367, "end": 17368, "loc": { "start": { "line": 541, "column": 52 }, "end": { "line": 541, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17368, "end": 17369, "loc": { "start": { "line": 541, "column": 53 }, "end": { "line": 541, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17381, "end": 17383, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17384, "end": 17385, "loc": { "start": { "line": 543, "column": 11 }, "end": { "line": 543, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17385, "end": 17390, "loc": { "start": { "line": 543, "column": 12 }, "end": { "line": 543, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17390, "end": 17391, "loc": { "start": { "line": 543, "column": 17 }, "end": { "line": 543, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 17391, "end": 17398, "loc": { "start": { "line": 543, "column": 18 }, "end": { "line": 543, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17398, "end": 17399, "loc": { "start": { "line": 543, "column": 25 }, "end": { "line": 543, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17399, "end": 17405, "loc": { "start": { "line": 543, "column": 26 }, "end": { "line": 543, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17406, "end": 17409, "loc": { "start": { "line": 543, "column": 33 }, "end": { "line": 543, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 17410, "end": 17411, "loc": { "start": { "line": 543, "column": 37 }, "end": { "line": 543, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17411, "end": 17412, "loc": { "start": { "line": 543, "column": 38 }, "end": { "line": 543, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17413, "end": 17414, "loc": { "start": { "line": 543, "column": 40 }, "end": { "line": 543, "column": 41 } } }, { "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": 17428, "end": 17433, "loc": { "start": { "line": 544, "column": 12 }, "end": { "line": 544, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 17434, "end": 17439, "loc": { "start": { "line": 544, "column": 18 }, "end": { "line": 544, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17440, "end": 17441, "loc": { "start": { "line": 544, "column": 24 }, "end": { "line": 544, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17442, "end": 17447, "loc": { "start": { "line": 544, "column": 26 }, "end": { "line": 544, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17447, "end": 17448, "loc": { "start": { "line": 544, "column": 31 }, "end": { "line": 544, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 17448, "end": 17455, "loc": { "start": { "line": 544, "column": 32 }, "end": { "line": 544, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17455, "end": 17456, "loc": { "start": { "line": 544, "column": 39 }, "end": { "line": 544, "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, "start": 17456, "end": 17457, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17457, "end": 17458, "loc": { "start": { "line": 544, "column": 41 }, "end": { "line": 544, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17458, "end": 17459, "loc": { "start": { "line": 544, "column": 42 }, "end": { "line": 544, "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": 17473, "end": 17477, "loc": { "start": { "line": 545, "column": 12 }, "end": { "line": 545, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17477, "end": 17478, "loc": { "start": { "line": 545, "column": 16 }, "end": { "line": 545, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStartHandler", "start": 17478, "end": 17509, "loc": { "start": { "line": 545, "column": 17 }, "end": { "line": 545, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17509, "end": 17510, "loc": { "start": { "line": 545, "column": 48 }, "end": { "line": 545, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 17510, "end": 17515, "loc": { "start": { "line": 545, "column": 49 }, "end": { "line": 545, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17515, "end": 17516, "loc": { "start": { "line": 545, "column": 54 }, "end": { "line": 545, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 17516, "end": 17523, "loc": { "start": { "line": 545, "column": 55 }, "end": { "line": 545, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17523, "end": 17524, "loc": { "start": { "line": 545, "column": 62 }, "end": { "line": 545, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 17525, "end": 17530, "loc": { "start": { "line": 545, "column": 64 }, "end": { "line": 545, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17530, "end": 17531, "loc": { "start": { "line": 545, "column": 69 }, "end": { "line": 545, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 17531, "end": 17538, "loc": { "start": { "line": 545, "column": 70 }, "end": { "line": 545, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17538, "end": 17539, "loc": { "start": { "line": 545, "column": 77 }, "end": { "line": 545, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17539, "end": 17540, "loc": { "start": { "line": 545, "column": 78 }, "end": { "line": 545, "column": 79 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17550, "end": 17551, "loc": { "start": { "line": 546, "column": 8 }, "end": { "line": 546, "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": 17552, "end": 17556, "loc": { "start": { "line": 546, "column": 10 }, "end": { "line": 546, "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": 17557, "end": 17559, "loc": { "start": { "line": 546, "column": 15 }, "end": { "line": 546, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17560, "end": 17561, "loc": { "start": { "line": 546, "column": 18 }, "end": { "line": 546, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17561, "end": 17566, "loc": { "start": { "line": 546, "column": 19 }, "end": { "line": 546, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17566, "end": 17567, "loc": { "start": { "line": 546, "column": 24 }, "end": { "line": 546, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 17567, "end": 17574, "loc": { "start": { "line": 546, "column": 25 }, "end": { "line": 546, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17574, "end": 17575, "loc": { "start": { "line": 546, "column": 32 }, "end": { "line": 546, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17575, "end": 17581, "loc": { "start": { "line": 546, "column": 33 }, "end": { "line": 546, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17582, "end": 17585, "loc": { "start": { "line": 546, "column": 40 }, "end": { "line": 546, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 17586, "end": 17587, "loc": { "start": { "line": 546, "column": 44 }, "end": { "line": 546, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17587, "end": 17588, "loc": { "start": { "line": 546, "column": 45 }, "end": { "line": 546, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17589, "end": 17590, "loc": { "start": { "line": 546, "column": 47 }, "end": { "line": 546, "column": 48 } } }, { "type": "CommentLine", "value": " if (this.pinchPreHandler.dispatch() === STOP_PROPAGATION) {", "start": 17604, "end": 17666, "loc": { "start": { "line": 547, "column": 12 }, "end": { "line": 547, "column": 74 } } }, { "type": "CommentLine", "value": " // Something prevented pinching", "start": 17680, "end": 17718, "loc": { "start": { "line": 548, "column": 12 }, "end": { "line": 548, "column": 50 } } }, { "type": "CommentLine", "value": " return false;", "start": 17732, "end": 17752, "loc": { "start": { "line": 549, "column": 12 }, "end": { "line": 549, "column": 32 } } }, { "type": "CommentLine", "value": " }", "start": 17766, "end": 17770, "loc": { "start": { "line": 550, "column": 12 }, "end": { "line": 550, "column": 16 } } }, { "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": 17786, "end": 17791, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 17792, "end": 17798, "loc": { "start": { "line": 552, "column": 18 }, "end": { "line": 552, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17799, "end": 17800, "loc": { "start": { "line": 552, "column": 25 }, "end": { "line": 552, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17801, "end": 17806, "loc": { "start": { "line": 552, "column": 27 }, "end": { "line": 552, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17806, "end": 17807, "loc": { "start": { "line": 552, "column": 32 }, "end": { "line": 552, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 17807, "end": 17814, "loc": { "start": { "line": 552, "column": 33 }, "end": { "line": 552, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17814, "end": 17815, "loc": { "start": { "line": 552, "column": 40 }, "end": { "line": 552, "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": 17815, "end": 17816, "loc": { "start": { "line": 552, "column": 41 }, "end": { "line": 552, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17816, "end": 17817, "loc": { "start": { "line": 552, "column": 42 }, "end": { "line": 552, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17817, "end": 17818, "loc": { "start": { "line": 552, "column": 43 }, "end": { "line": 552, "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": 17832, "end": 17837, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 17838, "end": 17844, "loc": { "start": { "line": 553, "column": 18 }, "end": { "line": 553, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17845, "end": 17846, "loc": { "start": { "line": 553, "column": 25 }, "end": { "line": 553, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 17847, "end": 17852, "loc": { "start": { "line": 553, "column": 27 }, "end": { "line": 553, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17852, "end": 17853, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 17853, "end": 17860, "loc": { "start": { "line": 553, "column": 33 }, "end": { "line": 553, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17860, "end": 17861, "loc": { "start": { "line": 553, "column": 40 }, "end": { "line": 553, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 17861, "end": 17862, "loc": { "start": { "line": 553, "column": 41 }, "end": { "line": 553, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17862, "end": 17863, "loc": { "start": { "line": 553, "column": 42 }, "end": { "line": 553, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17863, "end": 17864, "loc": { "start": { "line": 553, "column": 43 }, "end": { "line": 553, "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": 17878, "end": 17882, "loc": { "start": { "line": 554, "column": 12 }, "end": { "line": 554, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17882, "end": 17883, "loc": { "start": { "line": 554, "column": 16 }, "end": { "line": 554, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 17883, "end": 17898, "loc": { "start": { "line": 554, "column": 17 }, "end": { "line": 554, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17899, "end": 17900, "loc": { "start": { "line": 554, "column": 33 }, "end": { "line": 554, "column": 34 } } }, { "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": 17901, "end": 17906, "loc": { "start": { "line": 554, "column": 35 }, "end": { "line": 554, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17906, "end": 17907, "loc": { "start": { "line": 554, "column": 40 }, "end": { "line": 554, "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": 17921, "end": 17925, "loc": { "start": { "line": 555, "column": 12 }, "end": { "line": 555, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17925, "end": 17926, "loc": { "start": { "line": 555, "column": 16 }, "end": { "line": 555, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 17926, "end": 17943, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17944, "end": 17945, "loc": { "start": { "line": 555, "column": 35 }, "end": { "line": 555, "column": 36 } } }, { "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": 17946, "end": 17950, "loc": { "start": { "line": 555, "column": 37 }, "end": { "line": 555, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17950, "end": 17951, "loc": { "start": { "line": 555, "column": 41 }, "end": { "line": 555, "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": 17965, "end": 17969, "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": 17969, "end": 17970, "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": "lastPinchPositions", "start": 17970, "end": 17988, "loc": { "start": { "line": 556, "column": 17 }, "end": { "line": 556, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17989, "end": 17990, "loc": { "start": { "line": 556, "column": 36 }, "end": { "line": 556, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17991, "end": 17992, "loc": { "start": { "line": 556, "column": 38 }, "end": { "line": 556, "column": 39 } } }, { "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": 18010, "end": 18013, "loc": { "start": { "line": 557, "column": 16 }, "end": { "line": 557, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 18014, "end": 18020, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18020, "end": 18021, "loc": { "start": { "line": 557, "column": 26 }, "end": { "line": 557, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 18021, "end": 18027, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18027, "end": 18028, "loc": { "start": { "line": 557, "column": 33 }, "end": { "line": 557, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 18028, "end": 18035, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18035, "end": 18036, "loc": { "start": { "line": 557, "column": 41 }, "end": { "line": 557, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 18037, "end": 18043, "loc": { "start": { "line": 557, "column": 43 }, "end": { "line": 557, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18043, "end": 18044, "loc": { "start": { "line": 557, "column": 49 }, "end": { "line": 557, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 18044, "end": 18051, "loc": { "start": { "line": 557, "column": 50 }, "end": { "line": 557, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18051, "end": 18052, "loc": { "start": { "line": 557, "column": 57 }, "end": { "line": 557, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18052, "end": 18053, "loc": { "start": { "line": 557, "column": 58 }, "end": { "line": 557, "column": 59 } } }, { "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": 18071, "end": 18074, "loc": { "start": { "line": 558, "column": 16 }, "end": { "line": 558, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 18075, "end": 18081, "loc": { "start": { "line": 558, "column": 20 }, "end": { "line": 558, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18081, "end": 18082, "loc": { "start": { "line": 558, "column": 26 }, "end": { "line": 558, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 18082, "end": 18088, "loc": { "start": { "line": 558, "column": 27 }, "end": { "line": 558, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18088, "end": 18089, "loc": { "start": { "line": 558, "column": 33 }, "end": { "line": 558, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 18089, "end": 18096, "loc": { "start": { "line": 558, "column": 34 }, "end": { "line": 558, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18096, "end": 18097, "loc": { "start": { "line": 558, "column": 41 }, "end": { "line": 558, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 18098, "end": 18104, "loc": { "start": { "line": 558, "column": 43 }, "end": { "line": 558, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18104, "end": 18105, "loc": { "start": { "line": 558, "column": 49 }, "end": { "line": 558, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 18105, "end": 18112, "loc": { "start": { "line": 558, "column": 50 }, "end": { "line": 558, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18112, "end": 18113, "loc": { "start": { "line": 558, "column": 57 }, "end": { "line": 558, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18113, "end": 18114, "loc": { "start": { "line": 558, "column": 58 }, "end": { "line": 558, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18128, "end": 18129, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18129, "end": 18130, "loc": { "start": { "line": 559, "column": 13 }, "end": { "line": 559, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18140, "end": 18141, "loc": { "start": { "line": 560, "column": 8 }, "end": { "line": 560, "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": 18151, "end": 18157, "loc": { "start": { "line": 561, "column": 8 }, "end": { "line": 561, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 18158, "end": 18163, "loc": { "start": { "line": 561, "column": 15 }, "end": { "line": 561, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18163, "end": 18164, "loc": { "start": { "line": 561, "column": 20 }, "end": { "line": 561, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18170, "end": 18171, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 562, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch move handler\r\n * @param {TouchEvent} event\r\n ", "start": 18179, "end": 18252, "loc": { "start": { "line": 564, "column": 4 }, "end": { "line": 567, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchMove", "start": 18258, "end": 18269, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 568, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18269, "end": 18270, "loc": { "start": { "line": 568, "column": 15 }, "end": { "line": 568, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18270, "end": 18275, "loc": { "start": { "line": 568, "column": 16 }, "end": { "line": 568, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18275, "end": 18276, "loc": { "start": { "line": 568, "column": 21 }, "end": { "line": 568, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18277, "end": 18278, "loc": { "start": { "line": 568, "column": 23 }, "end": { "line": 568, "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": 18288, "end": 18290, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18291, "end": 18292, "loc": { "start": { "line": 569, "column": 11 }, "end": { "line": 569, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18292, "end": 18297, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 569, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18297, "end": 18298, "loc": { "start": { "line": 569, "column": 17 }, "end": { "line": 569, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 18298, "end": 18308, "loc": { "start": { "line": 569, "column": 18 }, "end": { "line": 569, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18308, "end": 18309, "loc": { "start": { "line": 569, "column": 28 }, "end": { "line": 569, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18310, "end": 18311, "loc": { "start": { "line": 569, "column": 30 }, "end": { "line": 569, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18325, "end": 18330, "loc": { "start": { "line": 570, "column": 12 }, "end": { "line": 570, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18330, "end": 18331, "loc": { "start": { "line": 570, "column": 17 }, "end": { "line": 570, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 18331, "end": 18345, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18345, "end": 18346, "loc": { "start": { "line": 570, "column": 32 }, "end": { "line": 570, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18346, "end": 18347, "loc": { "start": { "line": 570, "column": 33 }, "end": { "line": 570, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18347, "end": 18348, "loc": { "start": { "line": 570, "column": 34 }, "end": { "line": 570, "column": 35 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 18362, "end": 18389, "loc": { "start": { "line": 571, "column": 12 }, "end": { "line": 571, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18399, "end": 18400, "loc": { "start": { "line": 572, "column": 8 }, "end": { "line": 572, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clickDetectorGlobals", "start": 18412, "end": 18432, "loc": { "start": { "line": 574, "column": 8 }, "end": { "line": 574, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18432, "end": 18433, "loc": { "start": { "line": 574, "column": 28 }, "end": { "line": 574, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastTouchTime", "start": 18433, "end": 18446, "loc": { "start": { "line": 574, "column": 29 }, "end": { "line": 574, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18447, "end": 18448, "loc": { "start": { "line": 574, "column": 43 }, "end": { "line": 574, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 18449, "end": 18460, "loc": { "start": { "line": 574, "column": 45 }, "end": { "line": 574, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18460, "end": 18461, "loc": { "start": { "line": 574, "column": 56 }, "end": { "line": 574, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 18461, "end": 18464, "loc": { "start": { "line": 574, "column": 57 }, "end": { "line": 574, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18464, "end": 18465, "loc": { "start": { "line": 574, "column": 60 }, "end": { "line": 574, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18465, "end": 18466, "loc": { "start": { "line": 574, "column": 61 }, "end": { "line": 574, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18466, "end": 18467, "loc": { "start": { "line": 574, "column": 62 }, "end": { "line": 574, "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": 18479, "end": 18481, "loc": { "start": { "line": 576, "column": 8 }, "end": { "line": 576, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18482, "end": 18483, "loc": { "start": { "line": 576, "column": 11 }, "end": { "line": 576, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18483, "end": 18488, "loc": { "start": { "line": 576, "column": 12 }, "end": { "line": 576, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18488, "end": 18489, "loc": { "start": { "line": 576, "column": 17 }, "end": { "line": 576, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 18489, "end": 18496, "loc": { "start": { "line": 576, "column": 18 }, "end": { "line": 576, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18496, "end": 18497, "loc": { "start": { "line": 576, "column": 25 }, "end": { "line": 576, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18497, "end": 18503, "loc": { "start": { "line": 576, "column": 26 }, "end": { "line": 576, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18504, "end": 18507, "loc": { "start": { "line": 576, "column": 33 }, "end": { "line": 576, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18508, "end": 18509, "loc": { "start": { "line": 576, "column": 37 }, "end": { "line": 576, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18509, "end": 18510, "loc": { "start": { "line": 576, "column": 38 }, "end": { "line": 576, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18511, "end": 18512, "loc": { "start": { "line": 576, "column": 40 }, "end": { "line": 576, "column": 41 } } }, { "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": 18526, "end": 18531, "loc": { "start": { "line": 577, "column": 12 }, "end": { "line": 577, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 18532, "end": 18537, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18538, "end": 18539, "loc": { "start": { "line": 577, "column": 24 }, "end": { "line": 577, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18540, "end": 18545, "loc": { "start": { "line": 577, "column": 26 }, "end": { "line": 577, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18545, "end": 18546, "loc": { "start": { "line": 577, "column": 31 }, "end": { "line": 577, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 18546, "end": 18553, "loc": { "start": { "line": 577, "column": 32 }, "end": { "line": 577, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18553, "end": 18554, "loc": { "start": { "line": 577, "column": 39 }, "end": { "line": 577, "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, "start": 18554, "end": 18555, "loc": { "start": { "line": 577, "column": 40 }, "end": { "line": 577, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18555, "end": 18556, "loc": { "start": { "line": 577, "column": 41 }, "end": { "line": 577, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18556, "end": 18557, "loc": { "start": { "line": 577, "column": 42 }, "end": { "line": 577, "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": 18571, "end": 18575, "loc": { "start": { "line": 578, "column": 12 }, "end": { "line": 578, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18575, "end": 18576, "loc": { "start": { "line": 578, "column": 16 }, "end": { "line": 578, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchMoveHandler", "start": 18576, "end": 18606, "loc": { "start": { "line": 578, "column": 17 }, "end": { "line": 578, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18606, "end": 18607, "loc": { "start": { "line": 578, "column": 47 }, "end": { "line": 578, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 18607, "end": 18612, "loc": { "start": { "line": 578, "column": 48 }, "end": { "line": 578, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18612, "end": 18613, "loc": { "start": { "line": 578, "column": 53 }, "end": { "line": 578, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 18613, "end": 18620, "loc": { "start": { "line": 578, "column": 54 }, "end": { "line": 578, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18620, "end": 18621, "loc": { "start": { "line": 578, "column": 61 }, "end": { "line": 578, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 18622, "end": 18627, "loc": { "start": { "line": 578, "column": 63 }, "end": { "line": 578, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18627, "end": 18628, "loc": { "start": { "line": 578, "column": 68 }, "end": { "line": 578, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 18628, "end": 18635, "loc": { "start": { "line": 578, "column": 69 }, "end": { "line": 578, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18635, "end": 18636, "loc": { "start": { "line": 578, "column": 76 }, "end": { "line": 578, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18636, "end": 18637, "loc": { "start": { "line": 578, "column": 77 }, "end": { "line": 578, "column": 78 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18647, "end": 18648, "loc": { "start": { "line": 579, "column": 8 }, "end": { "line": 579, "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": 18649, "end": 18653, "loc": { "start": { "line": 579, "column": 10 }, "end": { "line": 579, "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": 18654, "end": 18656, "loc": { "start": { "line": 579, "column": 15 }, "end": { "line": 579, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18657, "end": 18658, "loc": { "start": { "line": 579, "column": 18 }, "end": { "line": 579, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18658, "end": 18663, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18663, "end": 18664, "loc": { "start": { "line": 579, "column": 24 }, "end": { "line": 579, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 18664, "end": 18671, "loc": { "start": { "line": 579, "column": 25 }, "end": { "line": 579, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18671, "end": 18672, "loc": { "start": { "line": 579, "column": 32 }, "end": { "line": 579, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18672, "end": 18678, "loc": { "start": { "line": 579, "column": 33 }, "end": { "line": 579, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18679, "end": 18682, "loc": { "start": { "line": 579, "column": 40 }, "end": { "line": 579, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 18683, "end": 18684, "loc": { "start": { "line": 579, "column": 44 }, "end": { "line": 579, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18684, "end": 18685, "loc": { "start": { "line": 579, "column": 45 }, "end": { "line": 579, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18686, "end": 18687, "loc": { "start": { "line": 579, "column": 47 }, "end": { "line": 579, "column": 48 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 18701, "end": 18703, "loc": { "start": { "line": 580, "column": 12 }, "end": { "line": 580, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18704, "end": 18705, "loc": { "start": { "line": 580, "column": 15 }, "end": { "line": 580, "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": 18705, "end": 18709, "loc": { "start": { "line": 580, "column": 16 }, "end": { "line": 580, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18709, "end": 18710, "loc": { "start": { "line": 580, "column": 20 }, "end": { "line": 580, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 18710, "end": 18727, "loc": { "start": { "line": 580, "column": 21 }, "end": { "line": 580, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18727, "end": 18728, "loc": { "start": { "line": 580, "column": 38 }, "end": { "line": 580, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18729, "end": 18730, "loc": { "start": { "line": 580, "column": 40 }, "end": { "line": 580, "column": 41 } } }, { "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": 18748, "end": 18753, "loc": { "start": { "line": 581, "column": 16 }, "end": { "line": 581, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 18754, "end": 18760, "loc": { "start": { "line": 581, "column": 22 }, "end": { "line": 581, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18761, "end": 18762, "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": "event", "start": 18763, "end": 18768, "loc": { "start": { "line": 581, "column": 31 }, "end": { "line": 581, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18768, "end": 18769, "loc": { "start": { "line": 581, "column": 36 }, "end": { "line": 581, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 18769, "end": 18776, "loc": { "start": { "line": 581, "column": 37 }, "end": { "line": 581, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18776, "end": 18777, "loc": { "start": { "line": 581, "column": 44 }, "end": { "line": 581, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18777, "end": 18778, "loc": { "start": { "line": 581, "column": 45 }, "end": { "line": 581, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18778, "end": 18779, "loc": { "start": { "line": 581, "column": 46 }, "end": { "line": 581, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18779, "end": 18780, "loc": { "start": { "line": 581, "column": 47 }, "end": { "line": 581, "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": 18798, "end": 18803, "loc": { "start": { "line": 582, "column": 16 }, "end": { "line": 582, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 18804, "end": 18810, "loc": { "start": { "line": 582, "column": 22 }, "end": { "line": 582, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18811, "end": 18812, "loc": { "start": { "line": 582, "column": 29 }, "end": { "line": 582, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18813, "end": 18818, "loc": { "start": { "line": 582, "column": 31 }, "end": { "line": 582, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18818, "end": 18819, "loc": { "start": { "line": 582, "column": 36 }, "end": { "line": 582, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touches", "start": 18819, "end": 18826, "loc": { "start": { "line": 582, "column": 37 }, "end": { "line": 582, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18826, "end": 18827, "loc": { "start": { "line": 582, "column": 44 }, "end": { "line": 582, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 18827, "end": 18828, "loc": { "start": { "line": 582, "column": 45 }, "end": { "line": 582, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18828, "end": 18829, "loc": { "start": { "line": 582, "column": 46 }, "end": { "line": 582, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18829, "end": 18830, "loc": { "start": { "line": 582, "column": 47 }, "end": { "line": 582, "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": 18850, "end": 18855, "loc": { "start": { "line": 584, "column": 16 }, "end": { "line": 584, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 18856, "end": 18873, "loc": { "start": { "line": 584, "column": 22 }, "end": { "line": 584, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18874, "end": 18875, "loc": { "start": { "line": 584, "column": 40 }, "end": { "line": 584, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18876, "end": 18877, "loc": { "start": { "line": 584, "column": 42 }, "end": { "line": 584, "column": 43 } } }, { "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": 18899, "end": 18902, "loc": { "start": { "line": 585, "column": 20 }, "end": { "line": 585, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 18903, "end": 18909, "loc": { "start": { "line": 585, "column": 24 }, "end": { "line": 585, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18909, "end": 18910, "loc": { "start": { "line": 585, "column": 30 }, "end": { "line": 585, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 18910, "end": 18916, "loc": { "start": { "line": 585, "column": 31 }, "end": { "line": 585, "column": 37 } } }, { "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": 585, "column": 37 }, "end": { "line": 585, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 18917, "end": 18924, "loc": { "start": { "line": 585, "column": 38 }, "end": { "line": 585, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18924, "end": 18925, "loc": { "start": { "line": 585, "column": 45 }, "end": { "line": 585, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch1", "start": 18926, "end": 18932, "loc": { "start": { "line": 585, "column": 47 }, "end": { "line": 585, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18932, "end": 18933, "loc": { "start": { "line": 585, "column": 53 }, "end": { "line": 585, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 18933, "end": 18940, "loc": { "start": { "line": 585, "column": 54 }, "end": { "line": 585, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18940, "end": 18941, "loc": { "start": { "line": 585, "column": 61 }, "end": { "line": 585, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18941, "end": 18942, "loc": { "start": { "line": 585, "column": 62 }, "end": { "line": 585, "column": 63 } } }, { "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": 18964, "end": 18967, "loc": { "start": { "line": 586, "column": 20 }, "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": "Vector", "start": 18968, "end": 18974, "loc": { "start": { "line": 586, "column": 24 }, "end": { "line": 586, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18974, "end": 18975, "loc": { "start": { "line": 586, "column": 30 }, "end": { "line": 586, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 18975, "end": 18981, "loc": { "start": { "line": 586, "column": 31 }, "end": { "line": 586, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18981, "end": 18982, "loc": { "start": { "line": 586, "column": 37 }, "end": { "line": 586, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 18982, "end": 18989, "loc": { "start": { "line": 586, "column": 38 }, "end": { "line": 586, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18989, "end": 18990, "loc": { "start": { "line": 586, "column": 45 }, "end": { "line": 586, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch2", "start": 18991, "end": 18997, "loc": { "start": { "line": 586, "column": 47 }, "end": { "line": 586, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18997, "end": 18998, "loc": { "start": { "line": 586, "column": 53 }, "end": { "line": 586, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 18998, "end": 19005, "loc": { "start": { "line": 586, "column": 54 }, "end": { "line": 586, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19005, "end": 19006, "loc": { "start": { "line": 586, "column": 61 }, "end": { "line": 586, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19006, "end": 19007, "loc": { "start": { "line": 586, "column": 62 }, "end": { "line": 586, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19025, "end": 19026, "loc": { "start": { "line": 587, "column": 16 }, "end": { "line": 587, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19026, "end": 19027, "loc": { "start": { "line": 587, "column": 17 }, "end": { "line": 587, "column": 18 } } }, { "type": "CommentLine", "value": " Get distance of taps last time and now", "start": 19047, "end": 19088, "loc": { "start": { "line": 589, "column": 16 }, "end": { "line": 589, "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": 19106, "end": 19111, "loc": { "start": { "line": 590, "column": 16 }, "end": { "line": 590, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 19112, "end": 19124, "loc": { "start": { "line": 590, "column": 22 }, "end": { "line": 590, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19125, "end": 19126, "loc": { "start": { "line": 590, "column": 35 }, "end": { "line": 590, "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": 19127, "end": 19131, "loc": { "start": { "line": 590, "column": 37 }, "end": { "line": 590, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19131, "end": 19132, "loc": { "start": { "line": 590, "column": 41 }, "end": { "line": 590, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 19132, "end": 19150, "loc": { "start": { "line": 590, "column": 42 }, "end": { "line": 590, "column": 60 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19150, "end": 19151, "loc": { "start": { "line": 590, "column": 60 }, "end": { "line": 590, "column": 61 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19151, "end": 19152, "loc": { "start": { "line": 590, "column": 61 }, "end": { "line": 590, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19152, "end": 19153, "loc": { "start": { "line": 590, "column": 62 }, "end": { "line": 590, "column": 63 } } }, { "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": 590, "column": 63 }, "end": { "line": 590, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distance", "start": 19154, "end": 19162, "loc": { "start": { "line": 590, "column": 64 }, "end": { "line": 590, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19162, "end": 19163, "loc": { "start": { "line": 590, "column": 72 }, "end": { "line": 590, "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": 19163, "end": 19167, "loc": { "start": { "line": 590, "column": 73 }, "end": { "line": 590, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19167, "end": 19168, "loc": { "start": { "line": 590, "column": 77 }, "end": { "line": 590, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 19168, "end": 19186, "loc": { "start": { "line": 590, "column": 78 }, "end": { "line": 590, "column": 96 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19186, "end": 19187, "loc": { "start": { "line": 590, "column": 96 }, "end": { "line": 590, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19187, "end": 19188, "loc": { "start": { "line": 590, "column": 97 }, "end": { "line": 590, "column": 98 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19188, "end": 19189, "loc": { "start": { "line": 590, "column": 98 }, "end": { "line": 590, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19189, "end": 19190, "loc": { "start": { "line": 590, "column": 99 }, "end": { "line": 590, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19190, "end": 19191, "loc": { "start": { "line": 590, "column": 100 }, "end": { "line": 590, "column": 101 } } }, { "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": 19209, "end": 19214, "loc": { "start": { "line": 591, "column": 16 }, "end": { "line": 591, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thisDistance", "start": 19215, "end": 19227, "loc": { "start": { "line": 591, "column": 22 }, "end": { "line": 591, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19228, "end": 19229, "loc": { "start": { "line": 591, "column": 35 }, "end": { "line": 591, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 19230, "end": 19247, "loc": { "start": { "line": 591, "column": 37 }, "end": { "line": 591, "column": 54 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19247, "end": 19248, "loc": { "start": { "line": 591, "column": 54 }, "end": { "line": 591, "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": 19248, "end": 19249, "loc": { "start": { "line": 591, "column": 55 }, "end": { "line": 591, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19249, "end": 19250, "loc": { "start": { "line": 591, "column": 56 }, "end": { "line": 591, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19250, "end": 19251, "loc": { "start": { "line": 591, "column": 57 }, "end": { "line": 591, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distance", "start": 19251, "end": 19259, "loc": { "start": { "line": 591, "column": 58 }, "end": { "line": 591, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19259, "end": 19260, "loc": { "start": { "line": 591, "column": 66 }, "end": { "line": 591, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 19260, "end": 19277, "loc": { "start": { "line": 591, "column": 67 }, "end": { "line": 591, "column": 84 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19277, "end": 19278, "loc": { "start": { "line": 591, "column": 84 }, "end": { "line": 591, "column": 85 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19278, "end": 19279, "loc": { "start": { "line": 591, "column": 85 }, "end": { "line": 591, "column": 86 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19279, "end": 19280, "loc": { "start": { "line": 591, "column": 86 }, "end": { "line": 591, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19280, "end": 19281, "loc": { "start": { "line": 591, "column": 87 }, "end": { "line": 591, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19281, "end": 19282, "loc": { "start": { "line": 591, "column": 88 }, "end": { "line": 591, "column": 89 } } }, { "type": "CommentLine", "value": " IMPORTANT to do math max here to avoid NaN and causing an invalid zoom level", "start": 19302, "end": 19381, "loc": { "start": { "line": 593, "column": 16 }, "end": { "line": 593, "column": 95 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19399, "end": 19404, "loc": { "start": { "line": 594, "column": 16 }, "end": { "line": 594, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "difference", "start": 19405, "end": 19415, "loc": { "start": { "line": 594, "column": 22 }, "end": { "line": 594, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19416, "end": 19417, "loc": { "start": { "line": 594, "column": 33 }, "end": { "line": 594, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thisDistance", "start": 19418, "end": 19430, "loc": { "start": { "line": 594, "column": 35 }, "end": { "line": 594, "column": 47 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19431, "end": 19432, "loc": { "start": { "line": 594, "column": 48 }, "end": { "line": 594, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19433, "end": 19437, "loc": { "start": { "line": 594, "column": 50 }, "end": { "line": 594, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19437, "end": 19438, "loc": { "start": { "line": 594, "column": 54 }, "end": { "line": 594, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 19438, "end": 19441, "loc": { "start": { "line": 594, "column": 55 }, "end": { "line": 594, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19441, "end": 19442, "loc": { "start": { "line": 594, "column": 58 }, "end": { "line": 594, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.001, "start": 19442, "end": 19447, "loc": { "start": { "line": 594, "column": 59 }, "end": { "line": 594, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19447, "end": 19448, "loc": { "start": { "line": 594, "column": 64 }, "end": { "line": 594, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 19449, "end": 19461, "loc": { "start": { "line": 594, "column": 66 }, "end": { "line": 594, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19461, "end": 19462, "loc": { "start": { "line": 594, "column": 78 }, "end": { "line": 594, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19462, "end": 19463, "loc": { "start": { "line": 594, "column": 79 }, "end": { "line": 594, "column": 80 } } }, { "type": "CommentLine", "value": " Find old center of zoom", "start": 19483, "end": 19509, "loc": { "start": { "line": 596, "column": 16 }, "end": { "line": 596, "column": 42 } } }, { "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": 19527, "end": 19530, "loc": { "start": { "line": 597, "column": 16 }, "end": { "line": 597, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldCenter", "start": 19531, "end": 19540, "loc": { "start": { "line": 597, "column": 20 }, "end": { "line": 597, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19541, "end": 19542, "loc": { "start": { "line": 597, "column": 30 }, "end": { "line": 597, "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": 19543, "end": 19547, "loc": { "start": { "line": 597, "column": 32 }, "end": { "line": 597, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19547, "end": 19548, "loc": { "start": { "line": 597, "column": 36 }, "end": { "line": 597, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 19548, "end": 19566, "loc": { "start": { "line": 597, "column": 37 }, "end": { "line": 597, "column": 55 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19566, "end": 19567, "loc": { "start": { "line": 597, "column": 55 }, "end": { "line": 597, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19567, "end": 19568, "loc": { "start": { "line": 597, "column": 56 }, "end": { "line": 597, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19568, "end": 19569, "loc": { "start": { "line": 597, "column": 57 }, "end": { "line": 597, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19569, "end": 19570, "loc": { "start": { "line": 597, "column": 58 }, "end": { "line": 597, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPoint", "start": 19570, "end": 19581, "loc": { "start": { "line": 597, "column": 59 }, "end": { "line": 597, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19581, "end": 19582, "loc": { "start": { "line": 597, "column": 70 }, "end": { "line": 597, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19582, "end": 19586, "loc": { "start": { "line": 597, "column": 71 }, "end": { "line": 597, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19586, "end": 19587, "loc": { "start": { "line": 597, "column": 75 }, "end": { "line": 597, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 19587, "end": 19605, "loc": { "start": { "line": 597, "column": 76 }, "end": { "line": 597, "column": 94 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19605, "end": 19606, "loc": { "start": { "line": 597, "column": 94 }, "end": { "line": 597, "column": 95 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19606, "end": 19607, "loc": { "start": { "line": 597, "column": 95 }, "end": { "line": 597, "column": 96 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19607, "end": 19608, "loc": { "start": { "line": 597, "column": 96 }, "end": { "line": 597, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19608, "end": 19609, "loc": { "start": { "line": 597, "column": 97 }, "end": { "line": 597, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19609, "end": 19610, "loc": { "start": { "line": 597, "column": 98 }, "end": { "line": 597, "column": 99 } } }, { "type": "CommentLine", "value": " Find new center of zoom", "start": 19630, "end": 19656, "loc": { "start": { "line": 599, "column": 16 }, "end": { "line": 599, "column": 42 } } }, { "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": 19674, "end": 19677, "loc": { "start": { "line": 600, "column": 16 }, "end": { "line": 600, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 19678, "end": 19684, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19685, "end": 19686, "loc": { "start": { "line": 600, "column": 27 }, "end": { "line": 600, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 19687, "end": 19704, "loc": { "start": { "line": 600, "column": 29 }, "end": { "line": 600, "column": 46 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19704, "end": 19705, "loc": { "start": { "line": 600, "column": 46 }, "end": { "line": 600, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19705, "end": 19706, "loc": { "start": { "line": 600, "column": 47 }, "end": { "line": 600, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19706, "end": 19707, "loc": { "start": { "line": 600, "column": 48 }, "end": { "line": 600, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19707, "end": 19708, "loc": { "start": { "line": 600, "column": 49 }, "end": { "line": 600, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "centerPoint", "start": 19708, "end": 19719, "loc": { "start": { "line": 600, "column": 50 }, "end": { "line": 600, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19719, "end": 19720, "loc": { "start": { "line": 600, "column": 61 }, "end": { "line": 600, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 19720, "end": 19737, "loc": { "start": { "line": 600, "column": 62 }, "end": { "line": 600, "column": 79 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19737, "end": 19738, "loc": { "start": { "line": 600, "column": 79 }, "end": { "line": 600, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19738, "end": 19739, "loc": { "start": { "line": 600, "column": 80 }, "end": { "line": 600, "column": 81 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19739, "end": 19740, "loc": { "start": { "line": 600, "column": 81 }, "end": { "line": 600, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19740, "end": 19741, "loc": { "start": { "line": 600, "column": 82 }, "end": { "line": 600, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19741, "end": 19742, "loc": { "start": { "line": 600, "column": 83 }, "end": { "line": 600, "column": 84 } } }, { "type": "CommentLine", "value": " Compute movement", "start": 19762, "end": 19781, "loc": { "start": { "line": 602, "column": 16 }, "end": { "line": 602, "column": 35 } } }, { "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": 19799, "end": 19802, "loc": { "start": { "line": 603, "column": 16 }, "end": { "line": 603, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 19803, "end": 19811, "loc": { "start": { "line": 603, "column": 20 }, "end": { "line": 603, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19812, "end": 19813, "loc": { "start": { "line": 603, "column": 29 }, "end": { "line": 603, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldCenter", "start": 19814, "end": 19823, "loc": { "start": { "line": 603, "column": 31 }, "end": { "line": 603, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19823, "end": 19824, "loc": { "start": { "line": 603, "column": 40 }, "end": { "line": 603, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 19824, "end": 19827, "loc": { "start": { "line": 603, "column": 41 }, "end": { "line": 603, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19827, "end": 19828, "loc": { "start": { "line": 603, "column": 44 }, "end": { "line": 603, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 19828, "end": 19834, "loc": { "start": { "line": 603, "column": 45 }, "end": { "line": 603, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19834, "end": 19835, "loc": { "start": { "line": 603, "column": 51 }, "end": { "line": 603, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19835, "end": 19836, "loc": { "start": { "line": 603, "column": 52 }, "end": { "line": 603, "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": 19854, "end": 19858, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19858, "end": 19859, "loc": { "start": { "line": 604, "column": 20 }, "end": { "line": 604, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 19859, "end": 19865, "loc": { "start": { "line": 604, "column": 21 }, "end": { "line": 604, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19865, "end": 19866, "loc": { "start": { "line": 604, "column": 27 }, "end": { "line": 604, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 19866, "end": 19867, "loc": { "start": { "line": 604, "column": 28 }, "end": { "line": 604, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 19868, "end": 19870, "loc": { "start": { "line": 604, "column": 30 }, "end": { "line": 604, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 19871, "end": 19879, "loc": { "start": { "line": 604, "column": 33 }, "end": { "line": 604, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19879, "end": 19880, "loc": { "start": { "line": 604, "column": 41 }, "end": { "line": 604, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 19880, "end": 19881, "loc": { "start": { "line": 604, "column": 42 }, "end": { "line": 604, "column": 43 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19882, "end": 19883, "loc": { "start": { "line": 604, "column": 44 }, "end": { "line": 604, "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": 19884, "end": 19888, "loc": { "start": { "line": 604, "column": 46 }, "end": { "line": 604, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19888, "end": 19889, "loc": { "start": { "line": 604, "column": 50 }, "end": { "line": 604, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 19889, "end": 19898, "loc": { "start": { "line": 604, "column": 51 }, "end": { "line": 604, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19898, "end": 19899, "loc": { "start": { "line": 604, "column": 60 }, "end": { "line": 604, "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": 19917, "end": 19921, "loc": { "start": { "line": 605, "column": 16 }, "end": { "line": 605, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19921, "end": 19922, "loc": { "start": { "line": 605, "column": 20 }, "end": { "line": 605, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 19922, "end": 19928, "loc": { "start": { "line": 605, "column": 21 }, "end": { "line": 605, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19928, "end": 19929, "loc": { "start": { "line": 605, "column": 27 }, "end": { "line": 605, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 19929, "end": 19930, "loc": { "start": { "line": 605, "column": 28 }, "end": { "line": 605, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 19931, "end": 19933, "loc": { "start": { "line": 605, "column": 30 }, "end": { "line": 605, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 19934, "end": 19942, "loc": { "start": { "line": 605, "column": 33 }, "end": { "line": 605, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19942, "end": 19943, "loc": { "start": { "line": 605, "column": 41 }, "end": { "line": 605, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 19943, "end": 19944, "loc": { "start": { "line": 605, "column": 42 }, "end": { "line": 605, "column": 43 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19945, "end": 19946, "loc": { "start": { "line": 605, "column": 44 }, "end": { "line": 605, "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": 19947, "end": 19951, "loc": { "start": { "line": 605, "column": 46 }, "end": { "line": 605, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19951, "end": 19952, "loc": { "start": { "line": 605, "column": 50 }, "end": { "line": 605, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 19952, "end": 19961, "loc": { "start": { "line": 605, "column": 51 }, "end": { "line": 605, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19961, "end": 19962, "loc": { "start": { "line": 605, "column": 60 }, "end": { "line": 605, "column": 61 } } }, { "type": "CommentLine", "value": " Compute zoom", "start": 19982, "end": 19997, "loc": { "start": { "line": 607, "column": 16 }, "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": "center", "start": 20015, "end": 20021, "loc": { "start": { "line": 608, "column": 16 }, "end": { "line": 608, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20022, "end": 20023, "loc": { "start": { "line": 608, "column": 23 }, "end": { "line": 608, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 20024, "end": 20030, "loc": { "start": { "line": 608, "column": 25 }, "end": { "line": 608, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20030, "end": 20031, "loc": { "start": { "line": 608, "column": 31 }, "end": { "line": 608, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 20031, "end": 20034, "loc": { "start": { "line": 608, "column": 32 }, "end": { "line": 608, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20034, "end": 20035, "loc": { "start": { "line": 608, "column": 35 }, "end": { "line": 608, "column": 36 } } }, { "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": 20035, "end": 20038, "loc": { "start": { "line": 608, "column": 36 }, "end": { "line": 608, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 20039, "end": 20045, "loc": { "start": { "line": 608, "column": 40 }, "end": { "line": 608, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20045, "end": 20046, "loc": { "start": { "line": 608, "column": 46 }, "end": { "line": 608, "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": 20046, "end": 20050, "loc": { "start": { "line": 608, "column": 47 }, "end": { "line": 608, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20050, "end": 20051, "loc": { "start": { "line": 608, "column": 51 }, "end": { "line": 608, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 20051, "end": 20055, "loc": { "start": { "line": 608, "column": 52 }, "end": { "line": 608, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20055, "end": 20056, "loc": { "start": { "line": 608, "column": 56 }, "end": { "line": 608, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 20056, "end": 20065, "loc": { "start": { "line": 608, "column": 57 }, "end": { "line": 608, "column": 66 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 20066, "end": 20067, "loc": { "start": { "line": 608, "column": 67 }, "end": { "line": 608, "column": 68 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 20068, "end": 20069, "loc": { "start": { "line": 608, "column": 69 }, "end": { "line": 608, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20069, "end": 20070, "loc": { "start": { "line": 608, "column": 70 }, "end": { "line": 608, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20071, "end": 20075, "loc": { "start": { "line": 608, "column": 72 }, "end": { "line": 608, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20075, "end": 20076, "loc": { "start": { "line": 608, "column": 76 }, "end": { "line": 608, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 20076, "end": 20080, "loc": { "start": { "line": 608, "column": 77 }, "end": { "line": 608, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20080, "end": 20081, "loc": { "start": { "line": 608, "column": 81 }, "end": { "line": 608, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 20081, "end": 20091, "loc": { "start": { "line": 608, "column": 82 }, "end": { "line": 608, "column": 92 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 20092, "end": 20093, "loc": { "start": { "line": 608, "column": 93 }, "end": { "line": 608, "column": 94 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 20094, "end": 20095, "loc": { "start": { "line": 608, "column": 95 }, "end": { "line": 608, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20095, "end": 20096, "loc": { "start": { "line": 608, "column": 96 }, "end": { "line": 608, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20096, "end": 20097, "loc": { "start": { "line": 608, "column": 97 }, "end": { "line": 608, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20097, "end": 20098, "loc": { "start": { "line": 608, "column": 98 }, "end": { "line": 608, "column": 99 } } }, { "type": "CommentLine", "value": " Apply zoom", "start": 20118, "end": 20131, "loc": { "start": { "line": 610, "column": 16 }, "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": "assert", "start": 20149, "end": 20155, "loc": { "start": { "line": 611, "column": 16 }, "end": { "line": 611, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20155, "end": 20156, "loc": { "start": { "line": 611, "column": 22 }, "end": { "line": 611, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 20178, "end": 20184, "loc": { "start": { "line": 612, "column": 20 }, "end": { "line": 612, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20184, "end": 20185, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 612, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 20185, "end": 20193, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20193, "end": 20194, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 612, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "difference", "start": 20194, "end": 20204, "loc": { "start": { "line": 612, "column": 36 }, "end": { "line": 612, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20204, "end": 20205, "loc": { "start": { "line": 612, "column": 46 }, "end": { "line": 612, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20205, "end": 20206, "loc": { "start": { "line": 612, "column": 47 }, "end": { "line": 612, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid pinch difference: ", "start": 20228, "end": 20256, "loc": { "start": { "line": 613, "column": 20 }, "end": { "line": 613, "column": 48 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20257, "end": 20258, "loc": { "start": { "line": 613, "column": 49 }, "end": { "line": 613, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "difference", "start": 20284, "end": 20294, "loc": { "start": { "line": 614, "column": 24 }, "end": { "line": 614, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20295, "end": 20296, "loc": { "start": { "line": 614, "column": 35 }, "end": { "line": 614, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "(last=", "start": 20322, "end": 20330, "loc": { "start": { "line": 615, "column": 24 }, "end": { "line": 615, "column": 32 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20331, "end": 20332, "loc": { "start": { "line": 615, "column": 33 }, "end": { "line": 615, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastDistance", "start": 20358, "end": 20370, "loc": { "start": { "line": 616, "column": 24 }, "end": { "line": 616, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20371, "end": 20372, "loc": { "start": { "line": 616, "column": 37 }, "end": { "line": 616, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ", new = ", "start": 20398, "end": 20408, "loc": { "start": { "line": 617, "column": 24 }, "end": { "line": 617, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20409, "end": 20410, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "thisDistance", "start": 20436, "end": 20448, "loc": { "start": { "line": 618, "column": 24 }, "end": { "line": 618, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20449, "end": 20450, "loc": { "start": { "line": 618, "column": 37 }, "end": { "line": 618, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 20476, "end": 20479, "loc": { "start": { "line": 619, "column": 24 }, "end": { "line": 619, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20497, "end": 20498, "loc": { "start": { "line": 620, "column": 16 }, "end": { "line": 620, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20498, "end": 20499, "loc": { "start": { "line": 620, "column": 17 }, "end": { "line": 620, "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": 20517, "end": 20521, "loc": { "start": { "line": 621, "column": 16 }, "end": { "line": 621, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20521, "end": 20522, "loc": { "start": { "line": 621, "column": 20 }, "end": { "line": 621, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 20522, "end": 20531, "loc": { "start": { "line": 621, "column": 21 }, "end": { "line": 621, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*=", "start": 20532, "end": 20534, "loc": { "start": { "line": 621, "column": 31 }, "end": { "line": 621, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "difference", "start": 20535, "end": 20545, "loc": { "start": { "line": 621, "column": 34 }, "end": { "line": 621, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20545, "end": 20546, "loc": { "start": { "line": 621, "column": 44 }, "end": { "line": 621, "column": 45 } } }, { "type": "CommentLine", "value": " Stick to pivot point", "start": 20566, "end": 20589, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 39 } } }, { "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": 20607, "end": 20612, "loc": { "start": { "line": 624, "column": 16 }, "end": { "line": 624, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "correcture", "start": 20613, "end": 20623, "loc": { "start": { "line": 624, "column": 22 }, "end": { "line": 624, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20624, "end": 20625, "loc": { "start": { "line": 624, "column": 33 }, "end": { "line": 624, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 20626, "end": 20632, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20632, "end": 20633, "loc": { "start": { "line": 624, "column": 41 }, "end": { "line": 624, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 20633, "end": 20647, "loc": { "start": { "line": 624, "column": 42 }, "end": { "line": 624, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20647, "end": 20648, "loc": { "start": { "line": 624, "column": 56 }, "end": { "line": 624, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "difference", "start": 20648, "end": 20658, "loc": { "start": { "line": 624, "column": 57 }, "end": { "line": 624, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 20659, "end": 20660, "loc": { "start": { "line": 624, "column": 68 }, "end": { "line": 624, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 20661, "end": 20662, "loc": { "start": { "line": 624, "column": 70 }, "end": { "line": 624, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20662, "end": 20663, "loc": { "start": { "line": 624, "column": 71 }, "end": { "line": 624, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20663, "end": 20664, "loc": { "start": { "line": 624, "column": 72 }, "end": { "line": 624, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divideScalar", "start": 20664, "end": 20676, "loc": { "start": { "line": 624, "column": 73 }, "end": { "line": 624, "column": 85 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20676, "end": 20677, "loc": { "start": { "line": 624, "column": 85 }, "end": { "line": 624, "column": 86 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20677, "end": 20681, "loc": { "start": { "line": 624, "column": 86 }, "end": { "line": 624, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20681, "end": 20682, "loc": { "start": { "line": 624, "column": 90 }, "end": { "line": 624, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 20682, "end": 20691, "loc": { "start": { "line": 624, "column": 91 }, "end": { "line": 624, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20691, "end": 20692, "loc": { "start": { "line": 624, "column": 100 }, "end": { "line": 624, "column": 101 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20692, "end": 20693, "loc": { "start": { "line": 624, "column": 101 }, "end": { "line": 624, "column": 102 } } }, { "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": 20713, "end": 20717, "loc": { "start": { "line": 626, "column": 16 }, "end": { "line": 626, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20717, "end": 20718, "loc": { "start": { "line": 626, "column": 20 }, "end": { "line": 626, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 20718, "end": 20724, "loc": { "start": { "line": 626, "column": 21 }, "end": { "line": 626, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20725, "end": 20726, "loc": { "start": { "line": 626, "column": 28 }, "end": { "line": 626, "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": 20727, "end": 20731, "loc": { "start": { "line": 626, "column": 30 }, "end": { "line": 626, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20731, "end": 20732, "loc": { "start": { "line": 626, "column": 34 }, "end": { "line": 626, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 20732, "end": 20738, "loc": { "start": { "line": 626, "column": 35 }, "end": { "line": 626, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20738, "end": 20739, "loc": { "start": { "line": 626, "column": 41 }, "end": { "line": 626, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 20739, "end": 20742, "loc": { "start": { "line": 626, "column": 42 }, "end": { "line": 626, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20742, "end": 20743, "loc": { "start": { "line": 626, "column": 45 }, "end": { "line": 626, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "correcture", "start": 20743, "end": 20753, "loc": { "start": { "line": 626, "column": 46 }, "end": { "line": 626, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20753, "end": 20754, "loc": { "start": { "line": 626, "column": 56 }, "end": { "line": 626, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20754, "end": 20755, "loc": { "start": { "line": 626, "column": 57 }, "end": { "line": 626, "column": 58 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20773, "end": 20777, "loc": { "start": { "line": 627, "column": 16 }, "end": { "line": 627, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20777, "end": 20778, "loc": { "start": { "line": 627, "column": 20 }, "end": { "line": 627, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 20778, "end": 20796, "loc": { "start": { "line": 627, "column": 21 }, "end": { "line": 627, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20797, "end": 20798, "loc": { "start": { "line": 627, "column": 40 }, "end": { "line": 627, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPinchPositions", "start": 20799, "end": 20816, "loc": { "start": { "line": 627, "column": 42 }, "end": { "line": 627, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20816, "end": 20817, "loc": { "start": { "line": 627, "column": 59 }, "end": { "line": 627, "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": 20835, "end": 20839, "loc": { "start": { "line": 628, "column": 16 }, "end": { "line": 628, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20839, "end": 20840, "loc": { "start": { "line": 628, "column": 20 }, "end": { "line": 628, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userInteraction", "start": 20840, "end": 20855, "loc": { "start": { "line": 628, "column": 21 }, "end": { "line": 628, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20855, "end": 20856, "loc": { "start": { "line": 628, "column": 36 }, "end": { "line": 628, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 20856, "end": 20864, "loc": { "start": { "line": 628, "column": 37 }, "end": { "line": 628, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20864, "end": 20865, "loc": { "start": { "line": 628, "column": 45 }, "end": { "line": 628, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "USER_INTERACT_MOVE", "start": 20865, "end": 20883, "loc": { "start": { "line": 628, "column": 46 }, "end": { "line": 628, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20883, "end": 20884, "loc": { "start": { "line": 628, "column": 64 }, "end": { "line": 628, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20884, "end": 20885, "loc": { "start": { "line": 628, "column": 65 }, "end": { "line": 628, "column": 66 } } }, { "type": "CommentLine", "value": " Since we zoomed, abort any programmed zooming", "start": 20905, "end": 20953, "loc": { "start": { "line": 630, "column": 16 }, "end": { "line": 630, "column": 64 } } }, { "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": 20971, "end": 20973, "loc": { "start": { "line": 631, "column": 16 }, "end": { "line": 631, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20974, "end": 20975, "loc": { "start": { "line": 631, "column": 19 }, "end": { "line": 631, "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": 20975, "end": 20979, "loc": { "start": { "line": 631, "column": 20 }, "end": { "line": 631, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20979, "end": 20980, "loc": { "start": { "line": 631, "column": 24 }, "end": { "line": 631, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 20980, "end": 20991, "loc": { "start": { "line": 631, "column": 25 }, "end": { "line": 631, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20991, "end": 20992, "loc": { "start": { "line": 631, "column": 36 }, "end": { "line": 631, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20993, "end": 20994, "loc": { "start": { "line": 631, "column": 38 }, "end": { "line": 631, "column": 39 } } }, { "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": 21016, "end": 21020, "loc": { "start": { "line": 632, "column": 20 }, "end": { "line": 632, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21020, "end": 21021, "loc": { "start": { "line": 632, "column": 24 }, "end": { "line": 632, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 21021, "end": 21032, "loc": { "start": { "line": 632, "column": 25 }, "end": { "line": 632, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21033, "end": 21034, "loc": { "start": { "line": 632, "column": 37 }, "end": { "line": 632, "column": 38 } } }, { "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": 21035, "end": 21039, "loc": { "start": { "line": 632, "column": 39 }, "end": { "line": 632, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21039, "end": 21040, "loc": { "start": { "line": 632, "column": 43 }, "end": { "line": 632, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21058, "end": 21059, "loc": { "start": { "line": 633, "column": 16 }, "end": { "line": 633, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21073, "end": 21074, "loc": { "start": { "line": 634, "column": 12 }, "end": { "line": 634, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21084, "end": 21085, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 9 } } }, { "type": "CommentLine", "value": " Clamp everything afterwards", "start": 21097, "end": 21127, "loc": { "start": { "line": 637, "column": 8 }, "end": { "line": 637, "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": 21137, "end": 21141, "loc": { "start": { "line": 638, "column": 8 }, "end": { "line": 638, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21141, "end": 21142, "loc": { "start": { "line": 638, "column": 12 }, "end": { "line": 638, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 21142, "end": 21156, "loc": { "start": { "line": 638, "column": 13 }, "end": { "line": 638, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21156, "end": 21157, "loc": { "start": { "line": 638, "column": 27 }, "end": { "line": 638, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21157, "end": 21158, "loc": { "start": { "line": 638, "column": 28 }, "end": { "line": 638, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21158, "end": 21159, "loc": { "start": { "line": 638, "column": 29 }, "end": { "line": 638, "column": 30 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 21169, "end": 21175, "loc": { "start": { "line": 639, "column": 8 }, "end": { "line": 639, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 21176, "end": 21181, "loc": { "start": { "line": 639, "column": 15 }, "end": { "line": 639, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21181, "end": 21182, "loc": { "start": { "line": 639, "column": 20 }, "end": { "line": 639, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21188, "end": 21189, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Touch end and cancel handler\r\n * @param {TouchEvent=} event\r\n ", "start": 21197, "end": 21281, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 645, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onTouchEnd", "start": 21287, "end": 21297, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 646, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21297, "end": 21298, "loc": { "start": { "line": 646, "column": 14 }, "end": { "line": 646, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21298, "end": 21303, "loc": { "start": { "line": 646, "column": 15 }, "end": { "line": 646, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21303, "end": 21304, "loc": { "start": { "line": 646, "column": 20 }, "end": { "line": 646, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21305, "end": 21306, "loc": { "start": { "line": 646, "column": 22 }, "end": { "line": 646, "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": 21316, "end": 21318, "loc": { "start": { "line": 647, "column": 8 }, "end": { "line": 647, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21319, "end": 21320, "loc": { "start": { "line": 647, "column": 11 }, "end": { "line": 647, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21320, "end": 21325, "loc": { "start": { "line": 647, "column": 12 }, "end": { "line": 647, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21325, "end": 21326, "loc": { "start": { "line": 647, "column": 17 }, "end": { "line": 647, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21327, "end": 21328, "loc": { "start": { "line": 647, "column": 19 }, "end": { "line": 647, "column": 20 } } }, { "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": 21342, "end": 21344, "loc": { "start": { "line": 648, "column": 12 }, "end": { "line": 648, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21345, "end": 21346, "loc": { "start": { "line": 648, "column": 15 }, "end": { "line": 648, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21346, "end": 21351, "loc": { "start": { "line": 648, "column": 16 }, "end": { "line": 648, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21351, "end": 21352, "loc": { "start": { "line": 648, "column": 21 }, "end": { "line": 648, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cancelable", "start": 21352, "end": 21362, "loc": { "start": { "line": 648, "column": 22 }, "end": { "line": 648, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21362, "end": 21363, "loc": { "start": { "line": 648, "column": 32 }, "end": { "line": 648, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21364, "end": 21365, "loc": { "start": { "line": 648, "column": 34 }, "end": { "line": 648, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21383, "end": 21388, "loc": { "start": { "line": 649, "column": 16 }, "end": { "line": 649, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21388, "end": 21389, "loc": { "start": { "line": 649, "column": 21 }, "end": { "line": 649, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 21389, "end": 21403, "loc": { "start": { "line": 649, "column": 22 }, "end": { "line": 649, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21403, "end": 21404, "loc": { "start": { "line": 649, "column": 36 }, "end": { "line": 649, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21404, "end": 21405, "loc": { "start": { "line": 649, "column": 37 }, "end": { "line": 649, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21405, "end": 21406, "loc": { "start": { "line": 649, "column": 38 }, "end": { "line": 649, "column": 39 } } }, { "type": "CommentLine", "value": " event.stopPropagation();", "start": 21424, "end": 21451, "loc": { "start": { "line": 650, "column": 16 }, "end": { "line": 650, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21465, "end": 21466, "loc": { "start": { "line": 651, "column": 12 }, "end": { "line": 651, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21476, "end": 21477, "loc": { "start": { "line": 652, "column": 8 }, "end": { "line": 652, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clickDetectorGlobals", "start": 21489, "end": 21509, "loc": { "start": { "line": 654, "column": 8 }, "end": { "line": 654, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21509, "end": 21510, "loc": { "start": { "line": 654, "column": 28 }, "end": { "line": 654, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastTouchTime", "start": 21510, "end": 21523, "loc": { "start": { "line": 654, "column": 29 }, "end": { "line": 654, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21524, "end": 21525, "loc": { "start": { "line": 654, "column": 43 }, "end": { "line": 654, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 21526, "end": 21537, "loc": { "start": { "line": 654, "column": 45 }, "end": { "line": 654, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21537, "end": 21538, "loc": { "start": { "line": 654, "column": 56 }, "end": { "line": 654, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 21538, "end": 21541, "loc": { "start": { "line": 654, "column": 57 }, "end": { "line": 654, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21541, "end": 21542, "loc": { "start": { "line": 654, "column": 60 }, "end": { "line": 654, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21542, "end": 21543, "loc": { "start": { "line": 654, "column": 61 }, "end": { "line": 654, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21543, "end": 21544, "loc": { "start": { "line": 654, "column": 62 }, "end": { "line": 654, "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": 21554, "end": 21556, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 655, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21557, "end": 21558, "loc": { "start": { "line": 655, "column": 11 }, "end": { "line": 655, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21558, "end": 21563, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21563, "end": 21564, "loc": { "start": { "line": 655, "column": 17 }, "end": { "line": 655, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "changedTouches", "start": 21564, "end": 21578, "loc": { "start": { "line": 655, "column": 18 }, "end": { "line": 655, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21578, "end": 21579, "loc": { "start": { "line": 655, "column": 32 }, "end": { "line": 655, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 21579, "end": 21585, "loc": { "start": { "line": 655, "column": 33 }, "end": { "line": 655, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 21586, "end": 21589, "loc": { "start": { "line": 655, "column": 40 }, "end": { "line": 655, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 21590, "end": 21591, "loc": { "start": { "line": 655, "column": 44 }, "end": { "line": 655, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21591, "end": 21592, "loc": { "start": { "line": 655, "column": 45 }, "end": { "line": 655, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21593, "end": 21594, "loc": { "start": { "line": 655, "column": 47 }, "end": { "line": 655, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 21608, "end": 21614, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21614, "end": 21615, "loc": { "start": { "line": 656, "column": 18 }, "end": { "line": 656, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 21615, "end": 21619, "loc": { "start": { "line": 656, "column": 19 }, "end": { "line": 656, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21619, "end": 21620, "loc": { "start": { "line": 656, "column": 23 }, "end": { "line": 656, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Touch end without changed touches", "start": 21620, "end": 21655, "loc": { "start": { "line": 656, "column": 24 }, "end": { "line": 656, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21655, "end": 21656, "loc": { "start": { "line": 656, "column": 59 }, "end": { "line": 656, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21656, "end": 21657, "loc": { "start": { "line": 656, "column": 60 }, "end": { "line": 656, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21667, "end": 21668, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21680, "end": 21685, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 21686, "end": 21691, "loc": { "start": { "line": 659, "column": 14 }, "end": { "line": 659, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21692, "end": 21693, "loc": { "start": { "line": 659, "column": 20 }, "end": { "line": 659, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 21694, "end": 21699, "loc": { "start": { "line": 659, "column": 22 }, "end": { "line": 659, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21699, "end": 21700, "loc": { "start": { "line": 659, "column": 27 }, "end": { "line": 659, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "changedTouches", "start": 21700, "end": 21714, "loc": { "start": { "line": 659, "column": 28 }, "end": { "line": 659, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21714, "end": 21715, "loc": { "start": { "line": 659, "column": 42 }, "end": { "line": 659, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 21715, "end": 21716, "loc": { "start": { "line": 659, "column": 43 }, "end": { "line": 659, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21716, "end": 21717, "loc": { "start": { "line": 659, "column": 44 }, "end": { "line": 659, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21717, "end": 21718, "loc": { "start": { "line": 659, "column": 45 }, "end": { "line": 659, "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": 21728, "end": 21732, "loc": { "start": { "line": 660, "column": 8 }, "end": { "line": 660, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21732, "end": 21733, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStopHandler", "start": 21733, "end": 21763, "loc": { "start": { "line": 660, "column": 13 }, "end": { "line": 660, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21763, "end": 21764, "loc": { "start": { "line": 660, "column": 43 }, "end": { "line": 660, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 21764, "end": 21769, "loc": { "start": { "line": 660, "column": 44 }, "end": { "line": 660, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21769, "end": 21770, "loc": { "start": { "line": 660, "column": 49 }, "end": { "line": 660, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 21770, "end": 21777, "loc": { "start": { "line": 660, "column": 50 }, "end": { "line": 660, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21777, "end": 21778, "loc": { "start": { "line": 660, "column": 57 }, "end": { "line": 660, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touch", "start": 21779, "end": 21784, "loc": { "start": { "line": 660, "column": 59 }, "end": { "line": 660, "column": 64 } } }, { "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": 660, "column": 64 }, "end": { "line": 660, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 21785, "end": 21792, "loc": { "start": { "line": 660, "column": 65 }, "end": { "line": 660, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21792, "end": 21793, "loc": { "start": { "line": 660, "column": 72 }, "end": { "line": 660, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21793, "end": 21794, "loc": { "start": { "line": 660, "column": 73 }, "end": { "line": 660, "column": 74 } } }, { "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": 21804, "end": 21810, "loc": { "start": { "line": 661, "column": 8 }, "end": { "line": 661, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 21811, "end": 21816, "loc": { "start": { "line": 661, "column": 15 }, "end": { "line": 661, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21816, "end": 21817, "loc": { "start": { "line": 661, "column": 20 }, "end": { "line": 661, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21823, "end": 21824, "loc": { "start": { "line": 662, "column": 4 }, "end": { "line": 662, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch start handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 21832, "end": 21933, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 668, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStartHandler", "start": 21939, "end": 21970, "loc": { "start": { "line": 669, "column": 4 }, "end": { "line": 669, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21970, "end": 21971, "loc": { "start": { "line": 669, "column": 35 }, "end": { "line": 669, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 21971, "end": 21972, "loc": { "start": { "line": 669, "column": 36 }, "end": { "line": 669, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21972, "end": 21973, "loc": { "start": { "line": 669, "column": 37 }, "end": { "line": 669, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 21974, "end": 21975, "loc": { "start": { "line": 669, "column": 39 }, "end": { "line": 669, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21975, "end": 21976, "loc": { "start": { "line": 669, "column": 40 }, "end": { "line": 669, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21977, "end": 21978, "loc": { "start": { "line": 669, "column": 42 }, "end": { "line": 669, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 21988, "end": 21993, "loc": { "start": { "line": 670, "column": 8 }, "end": { "line": 670, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 21994, "end": 21997, "loc": { "start": { "line": 670, "column": 14 }, "end": { "line": 670, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21998, "end": 21999, "loc": { "start": { "line": 670, "column": 18 }, "end": { "line": 670, "column": 19 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 22000, "end": 22003, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 22004, "end": 22010, "loc": { "start": { "line": 670, "column": 24 }, "end": { "line": 670, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22010, "end": 22011, "loc": { "start": { "line": 670, "column": 30 }, "end": { "line": 670, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 22011, "end": 22012, "loc": { "start": { "line": 670, "column": 31 }, "end": { "line": 670, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22012, "end": 22013, "loc": { "start": { "line": 670, "column": 32 }, "end": { "line": 670, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 22014, "end": 22015, "loc": { "start": { "line": 670, "column": 34 }, "end": { "line": 670, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22015, "end": 22016, "loc": { "start": { "line": 670, "column": 35 }, "end": { "line": 670, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22016, "end": 22017, "loc": { "start": { "line": 670, "column": 36 }, "end": { "line": 670, "column": 37 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 22027, "end": 22029, "loc": { "start": { "line": 671, "column": 8 }, "end": { "line": 671, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22030, "end": 22031, "loc": { "start": { "line": 671, "column": 11 }, "end": { "line": 671, "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": 22031, "end": 22035, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22035, "end": 22036, "loc": { "start": { "line": 671, "column": 16 }, "end": { "line": 671, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "downPreHandler", "start": 22036, "end": 22050, "loc": { "start": { "line": 671, "column": 17 }, "end": { "line": 671, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22050, "end": 22051, "loc": { "start": { "line": 671, "column": 31 }, "end": { "line": 671, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 22051, "end": 22059, "loc": { "start": { "line": 671, "column": 32 }, "end": { "line": 671, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22059, "end": 22060, "loc": { "start": { "line": 671, "column": 40 }, "end": { "line": 671, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 22060, "end": 22063, "loc": { "start": { "line": 671, "column": 41 }, "end": { "line": 671, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22063, "end": 22064, "loc": { "start": { "line": 671, "column": 44 }, "end": { "line": 671, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumMouseButton", "start": 22065, "end": 22080, "loc": { "start": { "line": 671, "column": 46 }, "end": { "line": 671, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22080, "end": 22081, "loc": { "start": { "line": 671, "column": 61 }, "end": { "line": 671, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "left", "start": 22081, "end": 22085, "loc": { "start": { "line": 671, "column": 62 }, "end": { "line": 671, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22085, "end": 22086, "loc": { "start": { "line": 671, "column": 66 }, "end": { "line": 671, "column": 67 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 22087, "end": 22090, "loc": { "start": { "line": 671, "column": 68 }, "end": { "line": 671, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 22091, "end": 22107, "loc": { "start": { "line": 671, "column": 72 }, "end": { "line": 671, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22107, "end": 22108, "loc": { "start": { "line": 671, "column": 88 }, "end": { "line": 671, "column": 89 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22109, "end": 22110, "loc": { "start": { "line": 671, "column": 90 }, "end": { "line": 671, "column": 91 } } }, { "type": "CommentLine", "value": " Somebody else captured it", "start": 22124, "end": 22152, "loc": { "start": { "line": 672, "column": 12 }, "end": { "line": 672, "column": 40 } } }, { "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": 22166, "end": 22172, "loc": { "start": { "line": 673, "column": 12 }, "end": { "line": 673, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22172, "end": 22173, "loc": { "start": { "line": 673, "column": 18 }, "end": { "line": 673, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22183, "end": 22184, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "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": 22196, "end": 22200, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22200, "end": 22201, "loc": { "start": { "line": 676, "column": 12 }, "end": { "line": 676, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 22201, "end": 22222, "loc": { "start": { "line": 676, "column": 13 }, "end": { "line": 676, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22223, "end": 22224, "loc": { "start": { "line": 676, "column": 35 }, "end": { "line": 676, "column": 36 } } }, { "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": 22225, "end": 22228, "loc": { "start": { "line": 676, "column": 37 }, "end": { "line": 676, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 22229, "end": 22235, "loc": { "start": { "line": 676, "column": 41 }, "end": { "line": 676, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22235, "end": 22236, "loc": { "start": { "line": 676, "column": 47 }, "end": { "line": 676, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 22236, "end": 22237, "loc": { "start": { "line": 676, "column": 48 }, "end": { "line": 676, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22237, "end": 22238, "loc": { "start": { "line": 676, "column": 49 }, "end": { "line": 676, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 22239, "end": 22240, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22240, "end": 22241, "loc": { "start": { "line": 676, "column": 52 }, "end": { "line": 676, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22241, "end": 22242, "loc": { "start": { "line": 676, "column": 53 }, "end": { "line": 676, "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": 22252, "end": 22256, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22256, "end": 22257, "loc": { "start": { "line": 677, "column": 12 }, "end": { "line": 677, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 22257, "end": 22272, "loc": { "start": { "line": 677, "column": 13 }, "end": { "line": 677, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22273, "end": 22274, "loc": { "start": { "line": 677, "column": 29 }, "end": { "line": 677, "column": 30 } } }, { "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": 22275, "end": 22279, "loc": { "start": { "line": 677, "column": 31 }, "end": { "line": 677, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22279, "end": 22280, "loc": { "start": { "line": 677, "column": 35 }, "end": { "line": 677, "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": 22290, "end": 22294, "loc": { "start": { "line": 678, "column": 8 }, "end": { "line": 678, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22294, "end": 22295, "loc": { "start": { "line": 678, "column": 12 }, "end": { "line": 678, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 22295, "end": 22313, "loc": { "start": { "line": 678, "column": 13 }, "end": { "line": 678, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22314, "end": 22315, "loc": { "start": { "line": 678, "column": 32 }, "end": { "line": 678, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 22316, "end": 22319, "loc": { "start": { "line": 678, "column": 34 }, "end": { "line": 678, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22319, "end": 22320, "loc": { "start": { "line": 678, "column": 37 }, "end": { "line": 678, "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": 22330, "end": 22334, "loc": { "start": { "line": 679, "column": 8 }, "end": { "line": 679, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22334, "end": 22335, "loc": { "start": { "line": 679, "column": 12 }, "end": { "line": 679, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 22335, "end": 22361, "loc": { "start": { "line": 679, "column": 13 }, "end": { "line": 679, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22362, "end": 22363, "loc": { "start": { "line": 679, "column": 40 }, "end": { "line": 679, "column": 41 } } }, { "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": 22364, "end": 22368, "loc": { "start": { "line": 679, "column": 42 }, "end": { "line": 679, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22368, "end": 22369, "loc": { "start": { "line": 679, "column": 46 }, "end": { "line": 679, "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": 22379, "end": 22383, "loc": { "start": { "line": 680, "column": 8 }, "end": { "line": 680, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22383, "end": 22384, "loc": { "start": { "line": 680, "column": 12 }, "end": { "line": 680, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 22384, "end": 22405, "loc": { "start": { "line": 680, "column": 13 }, "end": { "line": 680, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22406, "end": 22407, "loc": { "start": { "line": 680, "column": 35 }, "end": { "line": 680, "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": 22408, "end": 22409, "loc": { "start": { "line": 680, "column": 37 }, "end": { "line": 680, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22409, "end": 22410, "loc": { "start": { "line": 680, "column": 38 }, "end": { "line": 680, "column": 39 } } }, { "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": 22420, "end": 22424, "loc": { "start": { "line": 681, "column": 8 }, "end": { "line": 681, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22424, "end": 22425, "loc": { "start": { "line": 681, "column": 12 }, "end": { "line": 681, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 22425, "end": 22447, "loc": { "start": { "line": 681, "column": 13 }, "end": { "line": 681, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22448, "end": 22449, "loc": { "start": { "line": 681, "column": 36 }, "end": { "line": 681, "column": 37 } } }, { "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": 22450, "end": 22455, "loc": { "start": { "line": 681, "column": 38 }, "end": { "line": 681, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22455, "end": 22456, "loc": { "start": { "line": 681, "column": 43 }, "end": { "line": 681, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22462, "end": 22463, "loc": { "start": { "line": 682, "column": 4 }, "end": { "line": 682, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch move handler\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 22471, "end": 22571, "loc": { "start": { "line": 684, "column": 4 }, "end": { "line": 688, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchMoveHandler", "start": 22577, "end": 22607, "loc": { "start": { "line": 689, "column": 4 }, "end": { "line": 689, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22607, "end": 22608, "loc": { "start": { "line": 689, "column": 34 }, "end": { "line": 689, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 22608, "end": 22609, "loc": { "start": { "line": 689, "column": 35 }, "end": { "line": 689, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22609, "end": 22610, "loc": { "start": { "line": 689, "column": 36 }, "end": { "line": 689, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 22611, "end": 22612, "loc": { "start": { "line": 689, "column": 38 }, "end": { "line": 689, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22612, "end": 22613, "loc": { "start": { "line": 689, "column": 39 }, "end": { "line": 689, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22614, "end": 22615, "loc": { "start": { "line": 689, "column": 41 }, "end": { "line": 689, "column": 42 } } }, { "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": 22625, "end": 22630, "loc": { "start": { "line": 690, "column": 8 }, "end": { "line": 690, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 22631, "end": 22634, "loc": { "start": { "line": 690, "column": 14 }, "end": { "line": 690, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22635, "end": 22636, "loc": { "start": { "line": 690, "column": 18 }, "end": { "line": 690, "column": 19 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 22637, "end": 22640, "loc": { "start": { "line": 690, "column": 20 }, "end": { "line": 690, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 22641, "end": 22647, "loc": { "start": { "line": 690, "column": 24 }, "end": { "line": 690, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22647, "end": 22648, "loc": { "start": { "line": 690, "column": 30 }, "end": { "line": 690, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 22648, "end": 22649, "loc": { "start": { "line": 690, "column": 31 }, "end": { "line": 690, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22649, "end": 22650, "loc": { "start": { "line": 690, "column": 32 }, "end": { "line": 690, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 22651, "end": 22652, "loc": { "start": { "line": 690, "column": 34 }, "end": { "line": 690, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22652, "end": 22653, "loc": { "start": { "line": 690, "column": 35 }, "end": { "line": 690, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22653, "end": 22654, "loc": { "start": { "line": 690, "column": 36 }, "end": { "line": 690, "column": 37 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 22664, "end": 22666, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22667, "end": 22668, "loc": { "start": { "line": 691, "column": 11 }, "end": { "line": 691, "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": 22668, "end": 22672, "loc": { "start": { "line": 691, "column": 12 }, "end": { "line": 691, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22672, "end": 22673, "loc": { "start": { "line": 691, "column": 16 }, "end": { "line": 691, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movePreHandler", "start": 22673, "end": 22687, "loc": { "start": { "line": 691, "column": 17 }, "end": { "line": 691, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22687, "end": 22688, "loc": { "start": { "line": 691, "column": 31 }, "end": { "line": 691, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 22688, "end": 22696, "loc": { "start": { "line": 691, "column": 32 }, "end": { "line": 691, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22696, "end": 22697, "loc": { "start": { "line": 691, "column": 40 }, "end": { "line": 691, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 22697, "end": 22700, "loc": { "start": { "line": 691, "column": 41 }, "end": { "line": 691, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22700, "end": 22701, "loc": { "start": { "line": 691, "column": 44 }, "end": { "line": 691, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 22702, "end": 22705, "loc": { "start": { "line": 691, "column": 46 }, "end": { "line": 691, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "STOP_PROPAGATION", "start": 22706, "end": 22722, "loc": { "start": { "line": 691, "column": 50 }, "end": { "line": 691, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22722, "end": 22723, "loc": { "start": { "line": 691, "column": 66 }, "end": { "line": 691, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22724, "end": 22725, "loc": { "start": { "line": 691, "column": 68 }, "end": { "line": 691, "column": 69 } } }, { "type": "CommentLine", "value": " Somebody else captured it", "start": 22739, "end": 22767, "loc": { "start": { "line": 692, "column": 12 }, "end": { "line": 692, "column": 40 } } }, { "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": 22781, "end": 22787, "loc": { "start": { "line": 693, "column": 12 }, "end": { "line": 693, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22787, "end": 22788, "loc": { "start": { "line": 693, "column": 18 }, "end": { "line": 693, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22798, "end": 22799, "loc": { "start": { "line": 694, "column": 8 }, "end": { "line": 694, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 22811, "end": 22813, "loc": { "start": { "line": 696, "column": 8 }, "end": { "line": 696, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22814, "end": 22815, "loc": { "start": { "line": 696, "column": 11 }, "end": { "line": 696, "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": 22815, "end": 22816, "loc": { "start": { "line": 696, "column": 12 }, "end": { "line": 696, "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": 22816, "end": 22820, "loc": { "start": { "line": 696, "column": 13 }, "end": { "line": 696, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22820, "end": 22821, "loc": { "start": { "line": 696, "column": 17 }, "end": { "line": 696, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 22821, "end": 22836, "loc": { "start": { "line": 696, "column": 18 }, "end": { "line": 696, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22836, "end": 22837, "loc": { "start": { "line": 696, "column": 33 }, "end": { "line": 696, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22838, "end": 22839, "loc": { "start": { "line": 696, "column": 35 }, "end": { "line": 696, "column": 36 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 22853, "end": 22859, "loc": { "start": { "line": 697, "column": 12 }, "end": { "line": 697, "column": 18 } } }, { "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": 22860, "end": 22865, "loc": { "start": { "line": 697, "column": 19 }, "end": { "line": 697, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22865, "end": 22866, "loc": { "start": { "line": 697, "column": 24 }, "end": { "line": 697, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22876, "end": 22877, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 9 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 22889, "end": 22892, "loc": { "start": { "line": 700, "column": 8 }, "end": { "line": 700, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 22893, "end": 22898, "loc": { "start": { "line": 700, "column": 12 }, "end": { "line": 700, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22899, "end": 22900, "loc": { "start": { "line": 700, "column": 18 }, "end": { "line": 700, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 22901, "end": 22905, "loc": { "start": { "line": 700, "column": 20 }, "end": { "line": 700, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22905, "end": 22906, "loc": { "start": { "line": 700, "column": 24 }, "end": { "line": 700, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 22906, "end": 22924, "loc": { "start": { "line": 700, "column": 25 }, "end": { "line": 700, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22924, "end": 22925, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 700, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sub", "start": 22925, "end": 22928, "loc": { "start": { "line": 700, "column": 44 }, "end": { "line": 700, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22928, "end": 22929, "loc": { "start": { "line": 700, "column": 47 }, "end": { "line": 700, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 22929, "end": 22932, "loc": { "start": { "line": 700, "column": 48 }, "end": { "line": 700, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22932, "end": 22933, "loc": { "start": { "line": 700, "column": 51 }, "end": { "line": 700, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22933, "end": 22934, "loc": { "start": { "line": 700, "column": 52 }, "end": { "line": 700, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divideScalar", "start": 22934, "end": 22946, "loc": { "start": { "line": 700, "column": 53 }, "end": { "line": 700, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22946, "end": 22947, "loc": { "start": { "line": 700, "column": 65 }, "end": { "line": 700, "column": 66 } } }, { "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": 22947, "end": 22951, "loc": { "start": { "line": 700, "column": 66 }, "end": { "line": 700, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22951, "end": 22952, "loc": { "start": { "line": 700, "column": 70 }, "end": { "line": 700, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 22952, "end": 22961, "loc": { "start": { "line": 700, "column": 71 }, "end": { "line": 700, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22961, "end": 22962, "loc": { "start": { "line": 700, "column": 80 }, "end": { "line": 700, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22962, "end": 22963, "loc": { "start": { "line": 700, "column": 81 }, "end": { "line": 700, "column": 82 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 22973, "end": 22975, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22976, "end": 22977, "loc": { "start": { "line": 701, "column": 11 }, "end": { "line": 701, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 22977, "end": 22985, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 22986, "end": 22988, "loc": { "start": { "line": 701, "column": 21 }, "end": { "line": 701, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 22989, "end": 23001, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23001, "end": 23002, "loc": { "start": { "line": 701, "column": 36 }, "end": { "line": 701, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 23002, "end": 23007, "loc": { "start": { "line": 701, "column": 37 }, "end": { "line": 701, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23007, "end": 23008, "loc": { "start": { "line": 701, "column": 42 }, "end": { "line": 701, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "testCulling", "start": 23008, "end": 23019, "loc": { "start": { "line": 701, "column": 43 }, "end": { "line": 701, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23019, "end": 23020, "loc": { "start": { "line": 701, "column": 54 }, "end": { "line": 701, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23021, "end": 23022, "loc": { "start": { "line": 701, "column": 56 }, "end": { "line": 701, "column": 57 } } }, { "type": "CommentLine", "value": " When testing culling, we see everything from the same distance", "start": 23036, "end": 23101, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 23115, "end": 23120, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23121, "end": 23122, "loc": { "start": { "line": 703, "column": 18 }, "end": { "line": 703, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 23123, "end": 23128, "loc": { "start": { "line": 703, "column": 20 }, "end": { "line": 703, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23128, "end": 23129, "loc": { "start": { "line": 703, "column": 25 }, "end": { "line": 703, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 23129, "end": 23143, "loc": { "start": { "line": 703, "column": 26 }, "end": { "line": 703, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23143, "end": 23144, "loc": { "start": { "line": 703, "column": 40 }, "end": { "line": 703, "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": 23144, "end": 23148, "loc": { "start": { "line": 703, "column": 41 }, "end": { "line": 703, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23148, "end": 23149, "loc": { "start": { "line": 703, "column": 45 }, "end": { "line": 703, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 23149, "end": 23158, "loc": { "start": { "line": 703, "column": 46 }, "end": { "line": 703, "column": 55 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 23159, "end": 23160, "loc": { "start": { "line": 703, "column": 56 }, "end": { "line": 703, "column": 57 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 23161, "end": 23162, "loc": { "start": { "line": 703, "column": 58 }, "end": { "line": 703, "column": 59 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 23162, "end": 23163, "loc": { "start": { "line": 703, "column": 59 }, "end": { "line": 703, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23163, "end": 23164, "loc": { "start": { "line": 703, "column": 60 }, "end": { "line": 703, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23164, "end": 23165, "loc": { "start": { "line": 703, "column": 61 }, "end": { "line": 703, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23175, "end": 23176, "loc": { "start": { "line": 704, "column": 8 }, "end": { "line": 704, "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": 23188, "end": 23192, "loc": { "start": { "line": 706, "column": 8 }, "end": { "line": 706, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23192, "end": 23193, "loc": { "start": { "line": 706, "column": 12 }, "end": { "line": 706, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 23193, "end": 23215, "loc": { "start": { "line": 706, "column": 13 }, "end": { "line": 706, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23216, "end": 23217, "loc": { "start": { "line": 706, "column": 36 }, "end": { "line": 706, "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": 23218, "end": 23222, "loc": { "start": { "line": 706, "column": 38 }, "end": { "line": 706, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23222, "end": 23223, "loc": { "start": { "line": 706, "column": 42 }, "end": { "line": 706, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 23223, "end": 23245, "loc": { "start": { "line": 706, "column": 43 }, "end": { "line": 706, "column": 65 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 23246, "end": 23248, "loc": { "start": { "line": 706, "column": 66 }, "end": { "line": 706, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 23249, "end": 23254, "loc": { "start": { "line": 706, "column": 69 }, "end": { "line": 706, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23254, "end": 23255, "loc": { "start": { "line": 706, "column": 74 }, "end": { "line": 706, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 23255, "end": 23261, "loc": { "start": { "line": 706, "column": 75 }, "end": { "line": 706, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23261, "end": 23262, "loc": { "start": { "line": 706, "column": 81 }, "end": { "line": 706, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23262, "end": 23263, "loc": { "start": { "line": 706, "column": 82 }, "end": { "line": 706, "column": 83 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 23264, "end": 23265, "loc": { "start": { "line": 706, "column": 84 }, "end": { "line": 706, "column": 85 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 23266, "end": 23267, "loc": { "start": { "line": 706, "column": 86 }, "end": { "line": 706, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23267, "end": 23268, "loc": { "start": { "line": 706, "column": 87 }, "end": { "line": 706, "column": 88 } } }, { "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": 23278, "end": 23282, "loc": { "start": { "line": 707, "column": 8 }, "end": { "line": 707, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23282, "end": 23283, "loc": { "start": { "line": 707, "column": 12 }, "end": { "line": 707, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 23283, "end": 23289, "loc": { "start": { "line": 707, "column": 13 }, "end": { "line": 707, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23290, "end": 23291, "loc": { "start": { "line": 707, "column": 20 }, "end": { "line": 707, "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": 23292, "end": 23296, "loc": { "start": { "line": 707, "column": 22 }, "end": { "line": 707, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23296, "end": 23297, "loc": { "start": { "line": 707, "column": 26 }, "end": { "line": 707, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 23297, "end": 23303, "loc": { "start": { "line": 707, "column": 27 }, "end": { "line": 707, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23303, "end": 23304, "loc": { "start": { "line": 707, "column": 33 }, "end": { "line": 707, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 23304, "end": 23307, "loc": { "start": { "line": 707, "column": 34 }, "end": { "line": 707, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23307, "end": 23308, "loc": { "start": { "line": 707, "column": 37 }, "end": { "line": 707, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 23308, "end": 23313, "loc": { "start": { "line": 707, "column": 38 }, "end": { "line": 707, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23313, "end": 23314, "loc": { "start": { "line": 707, "column": 43 }, "end": { "line": 707, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23314, "end": 23315, "loc": { "start": { "line": 707, "column": 44 }, "end": { "line": 707, "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": 23327, "end": 23331, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23331, "end": 23332, "loc": { "start": { "line": 709, "column": 12 }, "end": { "line": 709, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 23332, "end": 23353, "loc": { "start": { "line": 709, "column": 13 }, "end": { "line": 709, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23354, "end": 23355, "loc": { "start": { "line": 709, "column": 35 }, "end": { "line": 709, "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": 23356, "end": 23360, "loc": { "start": { "line": 709, "column": 37 }, "end": { "line": 709, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23360, "end": 23361, "loc": { "start": { "line": 709, "column": 41 }, "end": { "line": 709, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 23361, "end": 23382, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23396, "end": 23397, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 23397, "end": 23411, "loc": { "start": { "line": 710, "column": 13 }, "end": { "line": 710, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23411, "end": 23412, "loc": { "start": { "line": 710, "column": 27 }, "end": { "line": 710, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocitySmoothing", "start": 23412, "end": 23429, "loc": { "start": { "line": 710, "column": 28 }, "end": { "line": 710, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23429, "end": 23430, "loc": { "start": { "line": 710, "column": 45 }, "end": { "line": 710, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23444, "end": 23445, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 23445, "end": 23448, "loc": { "start": { "line": 711, "column": 13 }, "end": { "line": 711, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23448, "end": 23449, "loc": { "start": { "line": 711, "column": 16 }, "end": { "line": 711, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "delta", "start": 23449, "end": 23454, "loc": { "start": { "line": 711, "column": 17 }, "end": { "line": 711, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23454, "end": 23455, "loc": { "start": { "line": 711, "column": 22 }, "end": { "line": 711, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 23455, "end": 23469, "loc": { "start": { "line": 711, "column": 23 }, "end": { "line": 711, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23469, "end": 23470, "loc": { "start": { "line": 711, "column": 37 }, "end": { "line": 711, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 23470, "end": 23471, "loc": { "start": { "line": 711, "column": 38 }, "end": { "line": 711, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 23472, "end": 23473, "loc": { "start": { "line": 711, "column": 40 }, "end": { "line": 711, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocitySmoothing", "start": 23474, "end": 23491, "loc": { "start": { "line": 711, "column": 42 }, "end": { "line": 711, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23491, "end": 23492, "loc": { "start": { "line": 711, "column": 59 }, "end": { "line": 711, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23492, "end": 23493, "loc": { "start": { "line": 711, "column": 60 }, "end": { "line": 711, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23493, "end": 23494, "loc": { "start": { "line": 711, "column": 61 }, "end": { "line": 711, "column": 62 } } }, { "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": 23506, "end": 23510, "loc": { "start": { "line": 713, "column": 8 }, "end": { "line": 713, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23510, "end": 23511, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 23511, "end": 23529, "loc": { "start": { "line": 713, "column": 13 }, "end": { "line": 713, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23530, "end": 23531, "loc": { "start": { "line": 713, "column": 32 }, "end": { "line": 713, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 23532, "end": 23535, "loc": { "start": { "line": 713, "column": 34 }, "end": { "line": 713, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23535, "end": 23536, "loc": { "start": { "line": 713, "column": 37 }, "end": { "line": 713, "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": 23546, "end": 23550, "loc": { "start": { "line": 714, "column": 8 }, "end": { "line": 714, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23550, "end": 23551, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userInteraction", "start": 23551, "end": 23566, "loc": { "start": { "line": 714, "column": 13 }, "end": { "line": 714, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23566, "end": 23567, "loc": { "start": { "line": 714, "column": 28 }, "end": { "line": 714, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 23567, "end": 23575, "loc": { "start": { "line": 714, "column": 29 }, "end": { "line": 714, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23575, "end": 23576, "loc": { "start": { "line": 714, "column": 37 }, "end": { "line": 714, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "USER_INTERACT_MOVE", "start": 23576, "end": 23594, "loc": { "start": { "line": 714, "column": 38 }, "end": { "line": 714, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23594, "end": 23595, "loc": { "start": { "line": 714, "column": 56 }, "end": { "line": 714, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23595, "end": 23596, "loc": { "start": { "line": 714, "column": 57 }, "end": { "line": 714, "column": 58 } } }, { "type": "CommentLine", "value": " Since we moved, abort any programmed moving", "start": 23608, "end": 23654, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 23664, "end": 23666, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 717, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23667, "end": 23668, "loc": { "start": { "line": 717, "column": 11 }, "end": { "line": 717, "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": 23668, "end": 23672, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23672, "end": 23673, "loc": { "start": { "line": 717, "column": 16 }, "end": { "line": 717, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 23673, "end": 23686, "loc": { "start": { "line": 717, "column": 17 }, "end": { "line": 717, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23686, "end": 23687, "loc": { "start": { "line": 717, "column": 30 }, "end": { "line": 717, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23688, "end": 23689, "loc": { "start": { "line": 717, "column": 32 }, "end": { "line": 717, "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": 23703, "end": 23707, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23707, "end": 23708, "loc": { "start": { "line": 718, "column": 16 }, "end": { "line": 718, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 23708, "end": 23721, "loc": { "start": { "line": 718, "column": 17 }, "end": { "line": 718, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23722, "end": 23723, "loc": { "start": { "line": 718, "column": 31 }, "end": { "line": 718, "column": 32 } } }, { "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": 23724, "end": 23728, "loc": { "start": { "line": 718, "column": 33 }, "end": { "line": 718, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23728, "end": 23729, "loc": { "start": { "line": 718, "column": 37 }, "end": { "line": 718, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23739, "end": 23740, "loc": { "start": { "line": 719, "column": 8 }, "end": { "line": 719, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23746, "end": 23747, "loc": { "start": { "line": 720, "column": 4 }, "end": { "line": 720, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal touch stop handler\r\n ", "start": 23755, "end": 23803, "loc": { "start": { "line": 722, "column": 4 }, "end": { "line": 724, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "combinedSingleTouchStopHandler", "start": 23809, "end": 23839, "loc": { "start": { "line": 725, "column": 4 }, "end": { "line": 725, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23839, "end": 23840, "loc": { "start": { "line": 725, "column": 34 }, "end": { "line": 725, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 23840, "end": 23841, "loc": { "start": { "line": 725, "column": 35 }, "end": { "line": 725, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23841, "end": 23842, "loc": { "start": { "line": 725, "column": 36 }, "end": { "line": 725, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 23843, "end": 23844, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23844, "end": 23845, "loc": { "start": { "line": 725, "column": 39 }, "end": { "line": 725, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23846, "end": 23847, "loc": { "start": { "line": 725, "column": 41 }, "end": { "line": 725, "column": 42 } } }, { "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": 23857, "end": 23859, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 726, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23860, "end": 23861, "loc": { "start": { "line": 726, "column": 11 }, "end": { "line": 726, "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": 23861, "end": 23865, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23865, "end": 23866, "loc": { "start": { "line": 726, "column": 16 }, "end": { "line": 726, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 23866, "end": 23881, "loc": { "start": { "line": 726, "column": 17 }, "end": { "line": 726, "column": 32 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 23882, "end": 23884, "loc": { "start": { "line": 726, "column": 33 }, "end": { "line": 726, "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": 23885, "end": 23889, "loc": { "start": { "line": 726, "column": 36 }, "end": { "line": 726, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23889, "end": 23890, "loc": { "start": { "line": 726, "column": 40 }, "end": { "line": 726, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 23890, "end": 23907, "loc": { "start": { "line": 726, "column": 41 }, "end": { "line": 726, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23907, "end": 23908, "loc": { "start": { "line": 726, "column": 58 }, "end": { "line": 726, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23909, "end": 23910, "loc": { "start": { "line": 726, "column": 60 }, "end": { "line": 726, "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": 23924, "end": 23928, "loc": { "start": { "line": 727, "column": 12 }, "end": { "line": 727, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23928, "end": 23929, "loc": { "start": { "line": 727, "column": 16 }, "end": { "line": 727, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 23929, "end": 23944, "loc": { "start": { "line": 727, "column": 17 }, "end": { "line": 727, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23945, "end": 23946, "loc": { "start": { "line": 727, "column": 33 }, "end": { "line": 727, "column": 34 } } }, { "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": 23947, "end": 23952, "loc": { "start": { "line": 727, "column": 35 }, "end": { "line": 727, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23952, "end": 23953, "loc": { "start": { "line": 727, "column": 40 }, "end": { "line": 727, "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": 23967, "end": 23971, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23971, "end": 23972, "loc": { "start": { "line": 728, "column": 16 }, "end": { "line": 728, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 23972, "end": 23989, "loc": { "start": { "line": 728, "column": 17 }, "end": { "line": 728, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23990, "end": 23991, "loc": { "start": { "line": 728, "column": 35 }, "end": { "line": 728, "column": 36 } } }, { "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": 23992, "end": 23997, "loc": { "start": { "line": 728, "column": 37 }, "end": { "line": 728, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23997, "end": 23998, "loc": { "start": { "line": 728, "column": 42 }, "end": { "line": 728, "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": 24012, "end": 24016, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24016, "end": 24017, "loc": { "start": { "line": 729, "column": 16 }, "end": { "line": 729, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 24017, "end": 24035, "loc": { "start": { "line": 729, "column": 17 }, "end": { "line": 729, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24036, "end": 24037, "loc": { "start": { "line": 729, "column": 36 }, "end": { "line": 729, "column": 37 } } }, { "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": 24038, "end": 24042, "loc": { "start": { "line": 729, "column": 38 }, "end": { "line": 729, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24042, "end": 24043, "loc": { "start": { "line": 729, "column": 42 }, "end": { "line": 729, "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": 24057, "end": 24061, "loc": { "start": { "line": 730, "column": 12 }, "end": { "line": 730, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24061, "end": 24062, "loc": { "start": { "line": 730, "column": 16 }, "end": { "line": 730, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 24062, "end": 24088, "loc": { "start": { "line": 730, "column": 17 }, "end": { "line": 730, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24089, "end": 24090, "loc": { "start": { "line": 730, "column": 44 }, "end": { "line": 730, "column": 45 } } }, { "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": 24091, "end": 24095, "loc": { "start": { "line": 730, "column": 46 }, "end": { "line": 730, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24095, "end": 24096, "loc": { "start": { "line": 730, "column": 50 }, "end": { "line": 730, "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": 24110, "end": 24114, "loc": { "start": { "line": 731, "column": 12 }, "end": { "line": 731, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24114, "end": 24115, "loc": { "start": { "line": 731, "column": 16 }, "end": { "line": 731, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 24115, "end": 24136, "loc": { "start": { "line": 731, "column": 17 }, "end": { "line": 731, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24137, "end": 24138, "loc": { "start": { "line": 731, "column": 39 }, "end": { "line": 731, "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, "start": 24139, "end": 24140, "loc": { "start": { "line": 731, "column": 41 }, "end": { "line": 731, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24140, "end": 24141, "loc": { "start": { "line": 731, "column": 42 }, "end": { "line": 731, "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": 24155, "end": 24159, "loc": { "start": { "line": 732, "column": 12 }, "end": { "line": 732, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24159, "end": 24160, "loc": { "start": { "line": 732, "column": 16 }, "end": { "line": 732, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastPinchPositions", "start": 24160, "end": 24178, "loc": { "start": { "line": 732, "column": 17 }, "end": { "line": 732, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24179, "end": 24180, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 37 } } }, { "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": 24181, "end": 24185, "loc": { "start": { "line": 732, "column": 38 }, "end": { "line": 732, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24185, "end": 24186, "loc": { "start": { "line": 732, "column": 42 }, "end": { "line": 732, "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": 24200, "end": 24204, "loc": { "start": { "line": 733, "column": 12 }, "end": { "line": 733, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24204, "end": 24205, "loc": { "start": { "line": 733, "column": 16 }, "end": { "line": 733, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "userInteraction", "start": 24205, "end": 24220, "loc": { "start": { "line": 733, "column": 17 }, "end": { "line": 733, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24220, "end": 24221, "loc": { "start": { "line": 733, "column": 32 }, "end": { "line": 733, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 24221, "end": 24229, "loc": { "start": { "line": 733, "column": 33 }, "end": { "line": 733, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24229, "end": 24230, "loc": { "start": { "line": 733, "column": 41 }, "end": { "line": 733, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "USER_INTERACT_TOUCHEND", "start": 24230, "end": 24252, "loc": { "start": { "line": 733, "column": 42 }, "end": { "line": 733, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24252, "end": 24253, "loc": { "start": { "line": 733, "column": 64 }, "end": { "line": 733, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24253, "end": 24254, "loc": { "start": { "line": 733, "column": 65 }, "end": { "line": 733, "column": 66 } } }, { "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": 24268, "end": 24272, "loc": { "start": { "line": 734, "column": 12 }, "end": { "line": 734, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24272, "end": 24273, "loc": { "start": { "line": 734, "column": 16 }, "end": { "line": 734, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "didMoveSinceTouchStart", "start": 24273, "end": 24295, "loc": { "start": { "line": 734, "column": 17 }, "end": { "line": 734, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24296, "end": 24297, "loc": { "start": { "line": 734, "column": 40 }, "end": { "line": 734, "column": 41 } } }, { "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": 24298, "end": 24303, "loc": { "start": { "line": 734, "column": 42 }, "end": { "line": 734, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24303, "end": 24304, "loc": { "start": { "line": 734, "column": 47 }, "end": { "line": 734, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24314, "end": 24315, "loc": { "start": { "line": 735, "column": 8 }, "end": { "line": 735, "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": 24325, "end": 24329, "loc": { "start": { "line": 736, "column": 8 }, "end": { "line": 736, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24329, "end": 24330, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "upPostHandler", "start": 24330, "end": 24343, "loc": { "start": { "line": 736, "column": 13 }, "end": { "line": 736, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24343, "end": 24344, "loc": { "start": { "line": 736, "column": 26 }, "end": { "line": 736, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 24344, "end": 24352, "loc": { "start": { "line": 736, "column": 27 }, "end": { "line": 736, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24352, "end": 24353, "loc": { "start": { "line": 736, "column": 35 }, "end": { "line": 736, "column": 36 } } }, { "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": 24353, "end": 24356, "loc": { "start": { "line": 736, "column": 36 }, "end": { "line": 736, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 24357, "end": 24363, "loc": { "start": { "line": 736, "column": 40 }, "end": { "line": 736, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24363, "end": 24364, "loc": { "start": { "line": 736, "column": 46 }, "end": { "line": 736, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 24364, "end": 24365, "loc": { "start": { "line": 736, "column": 47 }, "end": { "line": 736, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24365, "end": 24366, "loc": { "start": { "line": 736, "column": 48 }, "end": { "line": 736, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 24367, "end": 24368, "loc": { "start": { "line": 736, "column": 50 }, "end": { "line": 736, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24368, "end": 24369, "loc": { "start": { "line": 736, "column": 51 }, "end": { "line": 736, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24369, "end": 24370, "loc": { "start": { "line": 736, "column": 52 }, "end": { "line": 736, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24370, "end": 24371, "loc": { "start": { "line": 736, "column": 53 }, "end": { "line": 736, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24377, "end": 24378, "loc": { "start": { "line": 737, "column": 4 }, "end": { "line": 737, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clamps the camera zoom level within the allowed range\r\n ", "start": 24386, "end": 24460, "loc": { "start": { "line": 739, "column": 4 }, "end": { "line": 741, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 24466, "end": 24480, "loc": { "start": { "line": 742, "column": 4 }, "end": { "line": 742, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24480, "end": 24481, "loc": { "start": { "line": 742, "column": 18 }, "end": { "line": 742, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24481, "end": 24482, "loc": { "start": { "line": 742, "column": 19 }, "end": { "line": 742, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24483, "end": 24484, "loc": { "start": { "line": 742, "column": 21 }, "end": { "line": 742, "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": 24494, "end": 24496, "loc": { "start": { "line": 743, "column": 8 }, "end": { "line": 743, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24497, "end": 24498, "loc": { "start": { "line": 743, "column": 11 }, "end": { "line": 743, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 24498, "end": 24506, "loc": { "start": { "line": 743, "column": 12 }, "end": { "line": 743, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 24507, "end": 24509, "loc": { "start": { "line": 743, "column": 21 }, "end": { "line": 743, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 24510, "end": 24522, "loc": { "start": { "line": 743, "column": 24 }, "end": { "line": 743, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24522, "end": 24523, "loc": { "start": { "line": 743, "column": 36 }, "end": { "line": 743, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 24523, "end": 24528, "loc": { "start": { "line": 743, "column": 37 }, "end": { "line": 743, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24528, "end": 24529, "loc": { "start": { "line": 743, "column": 42 }, "end": { "line": 743, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableZoomLimits", "start": 24529, "end": 24546, "loc": { "start": { "line": 743, "column": 43 }, "end": { "line": 743, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24546, "end": 24547, "loc": { "start": { "line": 743, "column": 60 }, "end": { "line": 743, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24548, "end": 24549, "loc": { "start": { "line": 743, "column": 62 }, "end": { "line": 743, "column": 63 } } }, { "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": 24563, "end": 24569, "loc": { "start": { "line": 744, "column": 12 }, "end": { "line": 744, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24569, "end": 24570, "loc": { "start": { "line": 744, "column": 18 }, "end": { "line": 744, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24580, "end": 24581, "loc": { "start": { "line": 745, "column": 8 }, "end": { "line": 745, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 24591, "end": 24596, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 746, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wrapper", "start": 24597, "end": 24604, "loc": { "start": { "line": 746, "column": 14 }, "end": { "line": 746, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24605, "end": 24606, "loc": { "start": { "line": 746, "column": 22 }, "end": { "line": 746, "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": 24607, "end": 24611, "loc": { "start": { "line": 746, "column": 24 }, "end": { "line": 746, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24611, "end": 24612, "loc": { "start": { "line": 746, "column": 28 }, "end": { "line": 746, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 24612, "end": 24616, "loc": { "start": { "line": 746, "column": 29 }, "end": { "line": 746, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24616, "end": 24617, "loc": { "start": { "line": 746, "column": 33 }, "end": { "line": 746, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 24617, "end": 24620, "loc": { "start": { "line": 746, "column": 34 }, "end": { "line": 746, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24620, "end": 24621, "loc": { "start": { "line": 746, "column": 37 }, "end": { "line": 746, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 24621, "end": 24636, "loc": { "start": { "line": 746, "column": 38 }, "end": { "line": 746, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24636, "end": 24637, "loc": { "start": { "line": 746, "column": 53 }, "end": { "line": 746, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 24649, "end": 24655, "loc": { "start": { "line": 748, "column": 8 }, "end": { "line": 748, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24655, "end": 24656, "loc": { "start": { "line": 748, "column": 14 }, "end": { "line": 748, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 24656, "end": 24662, "loc": { "start": { "line": 748, "column": 15 }, "end": { "line": 748, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24662, "end": 24663, "loc": { "start": { "line": 748, "column": 21 }, "end": { "line": 748, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 24663, "end": 24671, "loc": { "start": { "line": 748, "column": 22 }, "end": { "line": 748, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24671, "end": 24672, "loc": { "start": { "line": 748, "column": 30 }, "end": { "line": 748, "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": 24672, "end": 24676, "loc": { "start": { "line": 748, "column": 31 }, "end": { "line": 748, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24676, "end": 24677, "loc": { "start": { "line": 748, "column": 35 }, "end": { "line": 748, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24677, "end": 24686, "loc": { "start": { "line": 748, "column": 36 }, "end": { "line": 748, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24686, "end": 24687, "loc": { "start": { "line": 748, "column": 45 }, "end": { "line": 748, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24687, "end": 24688, "loc": { "start": { "line": 748, "column": 46 }, "end": { "line": 748, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid zoom level *before* clamp: ", "start": 24689, "end": 24726, "loc": { "start": { "line": 748, "column": 48 }, "end": { "line": 748, "column": 85 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 24727, "end": 24728, "loc": { "start": { "line": 748, "column": 86 }, "end": { "line": 748, "column": 87 } } }, { "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": 24729, "end": 24733, "loc": { "start": { "line": 748, "column": 88 }, "end": { "line": 748, "column": 92 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24733, "end": 24734, "loc": { "start": { "line": 748, "column": 92 }, "end": { "line": 748, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24734, "end": 24743, "loc": { "start": { "line": 748, "column": 93 }, "end": { "line": 748, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24743, "end": 24744, "loc": { "start": { "line": 748, "column": 102 }, "end": { "line": 748, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24744, "end": 24745, "loc": { "start": { "line": 748, "column": 103 }, "end": { "line": 748, "column": 104 } } }, { "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": 24755, "end": 24759, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24759, "end": 24760, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24760, "end": 24769, "loc": { "start": { "line": 749, "column": 13 }, "end": { "line": 749, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24770, "end": 24771, "loc": { "start": { "line": 749, "column": 23 }, "end": { "line": 749, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 24772, "end": 24777, "loc": { "start": { "line": 749, "column": 25 }, "end": { "line": 749, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24777, "end": 24778, "loc": { "start": { "line": 749, "column": 30 }, "end": { "line": 749, "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": 24778, "end": 24782, "loc": { "start": { "line": 749, "column": 31 }, "end": { "line": 749, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24782, "end": 24783, "loc": { "start": { "line": 749, "column": 35 }, "end": { "line": 749, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24783, "end": 24792, "loc": { "start": { "line": 749, "column": 36 }, "end": { "line": 749, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24792, "end": 24793, "loc": { "start": { "line": 749, "column": 45 }, "end": { "line": 749, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wrapper", "start": 24794, "end": 24801, "loc": { "start": { "line": 749, "column": 47 }, "end": { "line": 749, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24801, "end": 24802, "loc": { "start": { "line": 749, "column": 54 }, "end": { "line": 749, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMinimumZoom", "start": 24802, "end": 24816, "loc": { "start": { "line": 749, "column": 55 }, "end": { "line": 749, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24816, "end": 24817, "loc": { "start": { "line": 749, "column": 69 }, "end": { "line": 749, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24817, "end": 24818, "loc": { "start": { "line": 749, "column": 70 }, "end": { "line": 749, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24818, "end": 24819, "loc": { "start": { "line": 749, "column": 71 }, "end": { "line": 749, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wrapper", "start": 24820, "end": 24827, "loc": { "start": { "line": 749, "column": 73 }, "end": { "line": 749, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24827, "end": 24828, "loc": { "start": { "line": 749, "column": 80 }, "end": { "line": 749, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMaximumZoom", "start": 24828, "end": 24842, "loc": { "start": { "line": 749, "column": 81 }, "end": { "line": 749, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24842, "end": 24843, "loc": { "start": { "line": 749, "column": 95 }, "end": { "line": 749, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24843, "end": 24844, "loc": { "start": { "line": 749, "column": 96 }, "end": { "line": 749, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24844, "end": 24845, "loc": { "start": { "line": 749, "column": 97 }, "end": { "line": 749, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24845, "end": 24846, "loc": { "start": { "line": 749, "column": 98 }, "end": { "line": 749, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 24856, "end": 24862, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24862, "end": 24863, "loc": { "start": { "line": 750, "column": 14 }, "end": { "line": 750, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 24863, "end": 24869, "loc": { "start": { "line": 750, "column": 15 }, "end": { "line": 750, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24869, "end": 24870, "loc": { "start": { "line": 750, "column": 21 }, "end": { "line": 750, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 24870, "end": 24878, "loc": { "start": { "line": 750, "column": 22 }, "end": { "line": 750, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24878, "end": 24879, "loc": { "start": { "line": 750, "column": 30 }, "end": { "line": 750, "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": 24879, "end": 24883, "loc": { "start": { "line": 750, "column": 31 }, "end": { "line": 750, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24883, "end": 24884, "loc": { "start": { "line": 750, "column": 35 }, "end": { "line": 750, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24884, "end": 24893, "loc": { "start": { "line": 750, "column": 36 }, "end": { "line": 750, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24893, "end": 24894, "loc": { "start": { "line": 750, "column": 45 }, "end": { "line": 750, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24894, "end": 24895, "loc": { "start": { "line": 750, "column": 46 }, "end": { "line": 750, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid zoom level *after* clamp: ", "start": 24896, "end": 24932, "loc": { "start": { "line": 750, "column": 48 }, "end": { "line": 750, "column": 84 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 24933, "end": 24934, "loc": { "start": { "line": 750, "column": 85 }, "end": { "line": 750, "column": 86 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 24935, "end": 24939, "loc": { "start": { "line": 750, "column": 87 }, "end": { "line": 750, "column": 91 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24939, "end": 24940, "loc": { "start": { "line": 750, "column": 91 }, "end": { "line": 750, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 24940, "end": 24949, "loc": { "start": { "line": 750, "column": 92 }, "end": { "line": 750, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24949, "end": 24950, "loc": { "start": { "line": 750, "column": 101 }, "end": { "line": 750, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24950, "end": 24951, "loc": { "start": { "line": 750, "column": 102 }, "end": { "line": 750, "column": 103 } } }, { "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": 24963, "end": 24965, "loc": { "start": { "line": 752, "column": 8 }, "end": { "line": 752, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24966, "end": 24967, "loc": { "start": { "line": 752, "column": 11 }, "end": { "line": 752, "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": 24967, "end": 24971, "loc": { "start": { "line": 752, "column": 12 }, "end": { "line": 752, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24971, "end": 24972, "loc": { "start": { "line": 752, "column": 16 }, "end": { "line": 752, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 24972, "end": 24983, "loc": { "start": { "line": 752, "column": 17 }, "end": { "line": 752, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24983, "end": 24984, "loc": { "start": { "line": 752, "column": 28 }, "end": { "line": 752, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24985, "end": 24986, "loc": { "start": { "line": 752, "column": 30 }, "end": { "line": 752, "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": 25000, "end": 25004, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25004, "end": 25005, "loc": { "start": { "line": 753, "column": 16 }, "end": { "line": 753, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 25005, "end": 25016, "loc": { "start": { "line": 753, "column": 17 }, "end": { "line": 753, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25017, "end": 25018, "loc": { "start": { "line": 753, "column": 29 }, "end": { "line": 753, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 25019, "end": 25024, "loc": { "start": { "line": 753, "column": 31 }, "end": { "line": 753, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25024, "end": 25025, "loc": { "start": { "line": 753, "column": 36 }, "end": { "line": 753, "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": 25025, "end": 25029, "loc": { "start": { "line": 753, "column": 37 }, "end": { "line": 753, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25029, "end": 25030, "loc": { "start": { "line": 753, "column": 41 }, "end": { "line": 753, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 25030, "end": 25041, "loc": { "start": { "line": 753, "column": 42 }, "end": { "line": 753, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25041, "end": 25042, "loc": { "start": { "line": 753, "column": 53 }, "end": { "line": 753, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wrapper", "start": 25043, "end": 25050, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25050, "end": 25051, "loc": { "start": { "line": 753, "column": 62 }, "end": { "line": 753, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMinimumZoom", "start": 25051, "end": 25065, "loc": { "start": { "line": 753, "column": 63 }, "end": { "line": 753, "column": 77 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25065, "end": 25066, "loc": { "start": { "line": 753, "column": 77 }, "end": { "line": 753, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25066, "end": 25067, "loc": { "start": { "line": 753, "column": 78 }, "end": { "line": 753, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25067, "end": 25068, "loc": { "start": { "line": 753, "column": 79 }, "end": { "line": 753, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wrapper", "start": 25069, "end": 25076, "loc": { "start": { "line": 753, "column": 81 }, "end": { "line": 753, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25076, "end": 25077, "loc": { "start": { "line": 753, "column": 88 }, "end": { "line": 753, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMaximumZoom", "start": 25077, "end": 25091, "loc": { "start": { "line": 753, "column": 89 }, "end": { "line": 753, "column": 103 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25091, "end": 25092, "loc": { "start": { "line": 753, "column": 103 }, "end": { "line": 753, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25092, "end": 25093, "loc": { "start": { "line": 753, "column": 104 }, "end": { "line": 753, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25093, "end": 25094, "loc": { "start": { "line": 753, "column": 105 }, "end": { "line": 753, "column": 106 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25094, "end": 25095, "loc": { "start": { "line": 753, "column": 106 }, "end": { "line": 753, "column": 107 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25105, "end": 25106, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25112, "end": 25113, "loc": { "start": { "line": 755, "column": 4 }, "end": { "line": 755, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the camera\r\n * @param {number} dt Delta time in milliseconds\r\n ", "start": 25121, "end": 25214, "loc": { "start": { "line": 757, "column": 4 }, "end": { "line": 760, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 25220, "end": 25226, "loc": { "start": { "line": 761, "column": 4 }, "end": { "line": 761, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25226, "end": 25227, "loc": { "start": { "line": 761, "column": 10 }, "end": { "line": 761, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 25227, "end": 25229, "loc": { "start": { "line": 761, "column": 11 }, "end": { "line": 761, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25229, "end": 25230, "loc": { "start": { "line": 761, "column": 13 }, "end": { "line": 761, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25231, "end": 25232, "loc": { "start": { "line": 761, "column": 15 }, "end": { "line": 761, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 25242, "end": 25244, "loc": { "start": { "line": 762, "column": 8 }, "end": { "line": 762, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25245, "end": 25246, "loc": { "start": { "line": 762, "column": 11 }, "end": { "line": 762, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 25247, "end": 25251, "loc": { "start": { "line": 762, "column": 13 }, "end": { "line": 762, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25251, "end": 25252, "loc": { "start": { "line": 762, "column": 17 }, "end": { "line": 762, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 25252, "end": 25255, "loc": { "start": { "line": 762, "column": 18 }, "end": { "line": 762, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25255, "end": 25256, "loc": { "start": { "line": 762, "column": 21 }, "end": { "line": 762, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 25256, "end": 25258, "loc": { "start": { "line": 762, "column": 22 }, "end": { "line": 762, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25258, "end": 25259, "loc": { "start": { "line": 762, "column": 24 }, "end": { "line": 762, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 33, "start": 25260, "end": 25262, "loc": { "start": { "line": 762, "column": 26 }, "end": { "line": 762, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25262, "end": 25263, "loc": { "start": { "line": 762, "column": 28 }, "end": { "line": 762, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25263, "end": 25264, "loc": { "start": { "line": 762, "column": 29 }, "end": { "line": 762, "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": 25274, "end": 25278, "loc": { "start": { "line": 763, "column": 8 }, "end": { "line": 763, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25278, "end": 25279, "loc": { "start": { "line": 763, "column": 12 }, "end": { "line": 763, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraUpdateTimeBucket", "start": 25279, "end": 25301, "loc": { "start": { "line": 763, "column": 13 }, "end": { "line": 763, "column": 35 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 25302, "end": 25304, "loc": { "start": { "line": 763, "column": 36 }, "end": { "line": 763, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 25305, "end": 25307, "loc": { "start": { "line": 763, "column": 39 }, "end": { "line": 763, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25307, "end": 25308, "loc": { "start": { "line": 763, "column": 41 }, "end": { "line": 763, "column": 42 } } }, { "type": "CommentLine", "value": " Simulate movement of N FPS", "start": 25320, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 25359, "end": 25364, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatesPerFrame", "start": 25365, "end": 25380, "loc": { "start": { "line": 766, "column": 14 }, "end": { "line": 766, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25381, "end": 25382, "loc": { "start": { "line": 766, "column": 30 }, "end": { "line": 766, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 25383, "end": 25384, "loc": { "start": { "line": 766, "column": 32 }, "end": { "line": 766, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25384, "end": 25385, "loc": { "start": { "line": 766, "column": 33 }, "end": { "line": 766, "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": 25395, "end": 25400, "loc": { "start": { "line": 767, "column": 8 }, "end": { "line": 767, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25401, "end": 25418, "loc": { "start": { "line": 767, "column": 14 }, "end": { "line": 767, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25419, "end": 25420, "loc": { "start": { "line": 767, "column": 32 }, "end": { "line": 767, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 25421, "end": 25427, "loc": { "start": { "line": 767, "column": 34 }, "end": { "line": 767, "column": 40 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 25428, "end": 25429, "loc": { "start": { "line": 767, "column": 41 }, "end": { "line": 767, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25430, "end": 25431, "loc": { "start": { "line": 767, "column": 43 }, "end": { "line": 767, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 60, "start": 25431, "end": 25435, "loc": { "start": { "line": 767, "column": 44 }, "end": { "line": 767, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 25436, "end": 25437, "loc": { "start": { "line": 767, "column": 49 }, "end": { "line": 767, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatesPerFrame", "start": 25438, "end": 25453, "loc": { "start": { "line": 767, "column": 51 }, "end": { "line": 767, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25453, "end": 25454, "loc": { "start": { "line": 767, "column": 66 }, "end": { "line": 767, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25454, "end": 25455, "loc": { "start": { "line": 767, "column": 67 }, "end": { "line": 767, "column": 68 } } }, { "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": 25467, "end": 25470, "loc": { "start": { "line": 769, "column": 8 }, "end": { "line": 769, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25471, "end": 25474, "loc": { "start": { "line": 769, "column": 12 }, "end": { "line": 769, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25475, "end": 25476, "loc": { "start": { "line": 769, "column": 16 }, "end": { "line": 769, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 25477, "end": 25481, "loc": { "start": { "line": 769, "column": 18 }, "end": { "line": 769, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25481, "end": 25482, "loc": { "start": { "line": 769, "column": 22 }, "end": { "line": 769, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 25482, "end": 25486, "loc": { "start": { "line": 769, "column": 23 }, "end": { "line": 769, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25486, "end": 25487, "loc": { "start": { "line": 769, "column": 27 }, "end": { "line": 769, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 25487, "end": 25491, "loc": { "start": { "line": 769, "column": 28 }, "end": { "line": 769, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25491, "end": 25492, "loc": { "start": { "line": 769, "column": 32 }, "end": { "line": 769, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "systemNow", "start": 25492, "end": 25501, "loc": { "start": { "line": 769, "column": 33 }, "end": { "line": 769, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25501, "end": 25502, "loc": { "start": { "line": 769, "column": 42 }, "end": { "line": 769, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25502, "end": 25503, "loc": { "start": { "line": 769, "column": 43 }, "end": { "line": 769, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 25504, "end": 25505, "loc": { "start": { "line": 769, "column": 45 }, "end": { "line": 769, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 25506, "end": 25507, "loc": { "start": { "line": 769, "column": 47 }, "end": { "line": 769, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 25508, "end": 25509, "loc": { "start": { "line": 769, "column": 49 }, "end": { "line": 769, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25510, "end": 25527, "loc": { "start": { "line": 769, "column": 51 }, "end": { "line": 769, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25527, "end": 25528, "loc": { "start": { "line": 769, "column": 68 }, "end": { "line": 769, "column": 69 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 25540, "end": 25545, "loc": { "start": { "line": 771, "column": 8 }, "end": { "line": 771, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25546, "end": 25547, "loc": { "start": { "line": 771, "column": 14 }, "end": { "line": 771, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 25547, "end": 25551, "loc": { "start": { "line": 771, "column": 15 }, "end": { "line": 771, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25551, "end": 25552, "loc": { "start": { "line": 771, "column": 19 }, "end": { "line": 771, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraUpdateTimeBucket", "start": 25552, "end": 25574, "loc": { "start": { "line": 771, "column": 20 }, "end": { "line": 771, "column": 42 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 25575, "end": 25576, "loc": { "start": { "line": 771, "column": 43 }, "end": { "line": 771, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25577, "end": 25594, "loc": { "start": { "line": 771, "column": 45 }, "end": { "line": 771, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25594, "end": 25595, "loc": { "start": { "line": 771, "column": 62 }, "end": { "line": 771, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25596, "end": 25597, "loc": { "start": { "line": 771, "column": 64 }, "end": { "line": 771, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25611, "end": 25614, "loc": { "start": { "line": 772, "column": 12 }, "end": { "line": 772, "column": 15 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 25615, "end": 25617, "loc": { "start": { "line": 772, "column": 16 }, "end": { "line": 772, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25618, "end": 25635, "loc": { "start": { "line": 772, "column": 19 }, "end": { "line": 772, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25635, "end": 25636, "loc": { "start": { "line": 772, "column": 36 }, "end": { "line": 772, "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": 25650, "end": 25654, "loc": { "start": { "line": 773, "column": 12 }, "end": { "line": 773, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25654, "end": 25655, "loc": { "start": { "line": 773, "column": 16 }, "end": { "line": 773, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cameraUpdateTimeBucket", "start": 25655, "end": 25677, "loc": { "start": { "line": 773, "column": 17 }, "end": { "line": 773, "column": 39 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 25678, "end": 25680, "loc": { "start": { "line": 773, "column": 40 }, "end": { "line": 773, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25681, "end": 25698, "loc": { "start": { "line": 773, "column": 43 }, "end": { "line": 773, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25698, "end": 25699, "loc": { "start": { "line": 773, "column": 60 }, "end": { "line": 773, "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": 25715, "end": 25719, "loc": { "start": { "line": 775, "column": 12 }, "end": { "line": 775, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25719, "end": 25720, "loc": { "start": { "line": 775, "column": 16 }, "end": { "line": 775, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdatePanning", "start": 25720, "end": 25741, "loc": { "start": { "line": 775, "column": 17 }, "end": { "line": 775, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25741, "end": 25742, "loc": { "start": { "line": 775, "column": 38 }, "end": { "line": 775, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25742, "end": 25745, "loc": { "start": { "line": 775, "column": 39 }, "end": { "line": 775, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25745, "end": 25746, "loc": { "start": { "line": 775, "column": 42 }, "end": { "line": 775, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25747, "end": 25764, "loc": { "start": { "line": 775, "column": 44 }, "end": { "line": 775, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25764, "end": 25765, "loc": { "start": { "line": 775, "column": 61 }, "end": { "line": 775, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25765, "end": 25766, "loc": { "start": { "line": 775, "column": 62 }, "end": { "line": 775, "column": 63 } } }, { "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": 25780, "end": 25784, "loc": { "start": { "line": 776, "column": 12 }, "end": { "line": 776, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25784, "end": 25785, "loc": { "start": { "line": 776, "column": 16 }, "end": { "line": 776, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateMousePanning", "start": 25785, "end": 25811, "loc": { "start": { "line": 776, "column": 17 }, "end": { "line": 776, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25811, "end": 25812, "loc": { "start": { "line": 776, "column": 43 }, "end": { "line": 776, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25812, "end": 25815, "loc": { "start": { "line": 776, "column": 44 }, "end": { "line": 776, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25815, "end": 25816, "loc": { "start": { "line": 776, "column": 47 }, "end": { "line": 776, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25817, "end": 25834, "loc": { "start": { "line": 776, "column": 49 }, "end": { "line": 776, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25834, "end": 25835, "loc": { "start": { "line": 776, "column": 66 }, "end": { "line": 776, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25835, "end": 25836, "loc": { "start": { "line": 776, "column": 67 }, "end": { "line": 776, "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": 25850, "end": 25854, "loc": { "start": { "line": 777, "column": 12 }, "end": { "line": 777, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25854, "end": 25855, "loc": { "start": { "line": 777, "column": 16 }, "end": { "line": 777, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateZooming", "start": 25855, "end": 25876, "loc": { "start": { "line": 777, "column": 17 }, "end": { "line": 777, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25876, "end": 25877, "loc": { "start": { "line": 777, "column": 38 }, "end": { "line": 777, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25877, "end": 25880, "loc": { "start": { "line": 777, "column": 39 }, "end": { "line": 777, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25880, "end": 25881, "loc": { "start": { "line": 777, "column": 42 }, "end": { "line": 777, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25882, "end": 25899, "loc": { "start": { "line": 777, "column": 44 }, "end": { "line": 777, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25899, "end": 25900, "loc": { "start": { "line": 777, "column": 61 }, "end": { "line": 777, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25900, "end": 25901, "loc": { "start": { "line": 777, "column": 62 }, "end": { "line": 777, "column": 63 } } }, { "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": 25915, "end": 25919, "loc": { "start": { "line": 778, "column": 12 }, "end": { "line": 778, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25919, "end": 25920, "loc": { "start": { "line": 778, "column": 16 }, "end": { "line": 778, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateCentering", "start": 25920, "end": 25943, "loc": { "start": { "line": 778, "column": 17 }, "end": { "line": 778, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25943, "end": 25944, "loc": { "start": { "line": 778, "column": 40 }, "end": { "line": 778, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 25944, "end": 25947, "loc": { "start": { "line": 778, "column": 41 }, "end": { "line": 778, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25947, "end": 25948, "loc": { "start": { "line": 778, "column": 44 }, "end": { "line": 778, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 25949, "end": 25966, "loc": { "start": { "line": 778, "column": 46 }, "end": { "line": 778, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25966, "end": 25967, "loc": { "start": { "line": 778, "column": 63 }, "end": { "line": 778, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25967, "end": 25968, "loc": { "start": { "line": 778, "column": 64 }, "end": { "line": 778, "column": 65 } } }, { "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": 25982, "end": 25986, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25986, "end": 25987, "loc": { "start": { "line": 779, "column": 16 }, "end": { "line": 779, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateShake", "start": 25987, "end": 26006, "loc": { "start": { "line": 779, "column": 17 }, "end": { "line": 779, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26006, "end": 26007, "loc": { "start": { "line": 779, "column": 36 }, "end": { "line": 779, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 26007, "end": 26010, "loc": { "start": { "line": 779, "column": 37 }, "end": { "line": 779, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26010, "end": 26011, "loc": { "start": { "line": 779, "column": 40 }, "end": { "line": 779, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 26012, "end": 26029, "loc": { "start": { "line": 779, "column": 42 }, "end": { "line": 779, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26029, "end": 26030, "loc": { "start": { "line": 779, "column": 59 }, "end": { "line": 779, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26030, "end": 26031, "loc": { "start": { "line": 779, "column": 60 }, "end": { "line": 779, "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": 26045, "end": 26049, "loc": { "start": { "line": 780, "column": 12 }, "end": { "line": 780, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26049, "end": 26050, "loc": { "start": { "line": 780, "column": 16 }, "end": { "line": 780, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateKeyboardForce", "start": 26050, "end": 26077, "loc": { "start": { "line": 780, "column": 17 }, "end": { "line": 780, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26077, "end": 26078, "loc": { "start": { "line": 780, "column": 44 }, "end": { "line": 780, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 26078, "end": 26081, "loc": { "start": { "line": 780, "column": 45 }, "end": { "line": 780, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26081, "end": 26082, "loc": { "start": { "line": 780, "column": 48 }, "end": { "line": 780, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicsStepSizeMs", "start": 26083, "end": 26100, "loc": { "start": { "line": 780, "column": 50 }, "end": { "line": 780, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26100, "end": 26101, "loc": { "start": { "line": 780, "column": 67 }, "end": { "line": 780, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26101, "end": 26102, "loc": { "start": { "line": 780, "column": 68 }, "end": { "line": 780, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26112, "end": 26113, "loc": { "start": { "line": 781, "column": 8 }, "end": { "line": 781, "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": 26123, "end": 26127, "loc": { "start": { "line": 782, "column": 8 }, "end": { "line": 782, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26127, "end": 26128, "loc": { "start": { "line": 782, "column": 12 }, "end": { "line": 782, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 26128, "end": 26142, "loc": { "start": { "line": 782, "column": 13 }, "end": { "line": 782, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26142, "end": 26143, "loc": { "start": { "line": 782, "column": 27 }, "end": { "line": 782, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26143, "end": 26144, "loc": { "start": { "line": 782, "column": 28 }, "end": { "line": 782, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26144, "end": 26145, "loc": { "start": { "line": 782, "column": 29 }, "end": { "line": 782, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26151, "end": 26152, "loc": { "start": { "line": 783, "column": 4 }, "end": { "line": 783, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Prepares a context to transform it\r\n * @param {CanvasRenderingContext2D} context\r\n ", "start": 26160, "end": 26265, "loc": { "start": { "line": 785, "column": 4 }, "end": { "line": 788, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transform", "start": 26271, "end": 26280, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 789, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26280, "end": 26281, "loc": { "start": { "line": 789, "column": 13 }, "end": { "line": 789, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 26281, "end": 26288, "loc": { "start": { "line": 789, "column": 14 }, "end": { "line": 789, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26288, "end": 26289, "loc": { "start": { "line": 789, "column": 21 }, "end": { "line": 789, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26290, "end": 26291, "loc": { "start": { "line": 789, "column": 23 }, "end": { "line": 789, "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": 26301, "end": 26303, "loc": { "start": { "line": 790, "column": 8 }, "end": { "line": 790, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26304, "end": 26305, "loc": { "start": { "line": 790, "column": 11 }, "end": { "line": 790, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 26305, "end": 26313, "loc": { "start": { "line": 790, "column": 12 }, "end": { "line": 790, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 26314, "end": 26316, "loc": { "start": { "line": 790, "column": 21 }, "end": { "line": 790, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 26317, "end": 26329, "loc": { "start": { "line": 790, "column": 24 }, "end": { "line": 790, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26329, "end": 26330, "loc": { "start": { "line": 790, "column": 36 }, "end": { "line": 790, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 26330, "end": 26335, "loc": { "start": { "line": 790, "column": 37 }, "end": { "line": 790, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26335, "end": 26336, "loc": { "start": { "line": 790, "column": 42 }, "end": { "line": 790, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "testCulling", "start": 26336, "end": 26347, "loc": { "start": { "line": 790, "column": 43 }, "end": { "line": 790, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26347, "end": 26348, "loc": { "start": { "line": 790, "column": 54 }, "end": { "line": 790, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26349, "end": 26350, "loc": { "start": { "line": 790, "column": 56 }, "end": { "line": 790, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 26364, "end": 26371, "loc": { "start": { "line": 791, "column": 12 }, "end": { "line": 791, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26371, "end": 26372, "loc": { "start": { "line": 791, "column": 19 }, "end": { "line": 791, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transform", "start": 26372, "end": 26381, "loc": { "start": { "line": 791, "column": 20 }, "end": { "line": 791, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26381, "end": 26382, "loc": { "start": { "line": 791, "column": 29 }, "end": { "line": 791, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 26382, "end": 26383, "loc": { "start": { "line": 791, "column": 30 }, "end": { "line": 791, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26383, "end": 26384, "loc": { "start": { "line": 791, "column": 31 }, "end": { "line": 791, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 26385, "end": 26386, "loc": { "start": { "line": 791, "column": 33 }, "end": { "line": 791, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26386, "end": 26387, "loc": { "start": { "line": 791, "column": 34 }, "end": { "line": 791, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 26388, "end": 26389, "loc": { "start": { "line": 791, "column": 36 }, "end": { "line": 791, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26389, "end": 26390, "loc": { "start": { "line": 791, "column": 37 }, "end": { "line": 791, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 26391, "end": 26392, "loc": { "start": { "line": 791, "column": 39 }, "end": { "line": 791, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26392, "end": 26393, "loc": { "start": { "line": 791, "column": 40 }, "end": { "line": 791, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 26394, "end": 26397, "loc": { "start": { "line": 791, "column": 42 }, "end": { "line": 791, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26397, "end": 26398, "loc": { "start": { "line": 791, "column": 45 }, "end": { "line": 791, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 26399, "end": 26402, "loc": { "start": { "line": 791, "column": 47 }, "end": { "line": 791, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26402, "end": 26403, "loc": { "start": { "line": 791, "column": 50 }, "end": { "line": 791, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26403, "end": 26404, "loc": { "start": { "line": 791, "column": 51 }, "end": { "line": 791, "column": 52 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 26418, "end": 26424, "loc": { "start": { "line": 792, "column": 12 }, "end": { "line": 792, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26424, "end": 26425, "loc": { "start": { "line": 792, "column": 18 }, "end": { "line": 792, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26435, "end": 26436, "loc": { "start": { "line": 793, "column": 8 }, "end": { "line": 793, "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": 26448, "end": 26452, "loc": { "start": { "line": 795, "column": 8 }, "end": { "line": 795, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26452, "end": 26453, "loc": { "start": { "line": 795, "column": 12 }, "end": { "line": 795, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clampZoomLevel", "start": 26453, "end": 26467, "loc": { "start": { "line": 795, "column": 13 }, "end": { "line": 795, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26467, "end": 26468, "loc": { "start": { "line": 795, "column": 27 }, "end": { "line": 795, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26468, "end": 26469, "loc": { "start": { "line": 795, "column": 28 }, "end": { "line": 795, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26469, "end": 26470, "loc": { "start": { "line": 795, "column": 29 }, "end": { "line": 795, "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": 26480, "end": 26485, "loc": { "start": { "line": 796, "column": 8 }, "end": { "line": 796, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 26486, "end": 26490, "loc": { "start": { "line": 796, "column": 14 }, "end": { "line": 796, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26491, "end": 26492, "loc": { "start": { "line": 796, "column": 19 }, "end": { "line": 796, "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": 26493, "end": 26497, "loc": { "start": { "line": 796, "column": 21 }, "end": { "line": 796, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26497, "end": 26498, "loc": { "start": { "line": 796, "column": 25 }, "end": { "line": 796, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 26498, "end": 26507, "loc": { "start": { "line": 796, "column": 26 }, "end": { "line": 796, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26507, "end": 26508, "loc": { "start": { "line": 796, "column": 35 }, "end": { "line": 796, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 26520, "end": 26527, "loc": { "start": { "line": 798, "column": 8 }, "end": { "line": 798, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26527, "end": 26528, "loc": { "start": { "line": 798, "column": 15 }, "end": { "line": 798, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transform", "start": 26528, "end": 26537, "loc": { "start": { "line": 798, "column": 16 }, "end": { "line": 798, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26537, "end": 26538, "loc": { "start": { "line": 798, "column": 25 }, "end": { "line": 798, "column": 26 } } }, { "type": "CommentLine", "value": " Scale, skew, rotate", "start": 26552, "end": 26574, "loc": { "start": { "line": 799, "column": 12 }, "end": { "line": 799, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 26588, "end": 26592, "loc": { "start": { "line": 800, "column": 12 }, "end": { "line": 800, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26592, "end": 26593, "loc": { "start": { "line": 800, "column": 16 }, "end": { "line": 800, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 26607, "end": 26608, "loc": { "start": { "line": 801, "column": 12 }, "end": { "line": 801, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26608, "end": 26609, "loc": { "start": { "line": 801, "column": 13 }, "end": { "line": 801, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 26623, "end": 26624, "loc": { "start": { "line": 802, "column": 12 }, "end": { "line": 802, "column": 13 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26624, "end": 26625, "loc": { "start": { "line": 802, "column": 13 }, "end": { "line": 802, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 26639, "end": 26643, "loc": { "start": { "line": 803, "column": 12 }, "end": { "line": 803, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26643, "end": 26644, "loc": { "start": { "line": 803, "column": 16 }, "end": { "line": 803, "column": 17 } } }, { "type": "CommentLine", "value": " Translate", "start": 26660, "end": 26672, "loc": { "start": { "line": 805, "column": 12 }, "end": { "line": 805, "column": 24 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 26686, "end": 26687, "loc": { "start": { "line": 806, "column": 12 }, "end": { "line": 806, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 26687, "end": 26691, "loc": { "start": { "line": 806, "column": 13 }, "end": { "line": 806, "column": 17 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 26692, "end": 26693, "loc": { "start": { "line": 806, "column": 18 }, "end": { "line": 806, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26694, "end": 26698, "loc": { "start": { "line": 806, "column": 20 }, "end": { "line": 806, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26698, "end": 26699, "loc": { "start": { "line": 806, "column": 24 }, "end": { "line": 806, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportLeft", "start": 26699, "end": 26714, "loc": { "start": { "line": 806, "column": 25 }, "end": { "line": 806, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26714, "end": 26715, "loc": { "start": { "line": 806, "column": 40 }, "end": { "line": 806, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26715, "end": 26716, "loc": { "start": { "line": 806, "column": 41 }, "end": { "line": 806, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26716, "end": 26717, "loc": { "start": { "line": 806, "column": 42 }, "end": { "line": 806, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 26731, "end": 26732, "loc": { "start": { "line": 807, "column": 12 }, "end": { "line": 807, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoom", "start": 26732, "end": 26736, "loc": { "start": { "line": 807, "column": 13 }, "end": { "line": 807, "column": 17 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 26737, "end": 26738, "loc": { "start": { "line": 807, "column": 18 }, "end": { "line": 807, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 26739, "end": 26743, "loc": { "start": { "line": 807, "column": 20 }, "end": { "line": 807, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26743, "end": 26744, "loc": { "start": { "line": 807, "column": 24 }, "end": { "line": 807, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getViewportTop", "start": 26744, "end": 26758, "loc": { "start": { "line": 807, "column": 25 }, "end": { "line": 807, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26758, "end": 26759, "loc": { "start": { "line": 807, "column": 39 }, "end": { "line": 807, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26759, "end": 26760, "loc": { "start": { "line": 807, "column": 40 }, "end": { "line": 807, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26770, "end": 26771, "loc": { "start": { "line": 808, "column": 8 }, "end": { "line": 808, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26771, "end": 26772, "loc": { "start": { "line": 808, "column": 9 }, "end": { "line": 808, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26778, "end": 26779, "loc": { "start": { "line": 809, "column": 4 }, "end": { "line": 809, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal shake handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 26787, "end": 26916, "loc": { "start": { "line": 811, "column": 4 }, "end": { "line": 815, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateShake", "start": 26922, "end": 26941, "loc": { "start": { "line": 816, "column": 4 }, "end": { "line": 816, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26941, "end": 26942, "loc": { "start": { "line": 816, "column": 23 }, "end": { "line": 816, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 26942, "end": 26945, "loc": { "start": { "line": 816, "column": 24 }, "end": { "line": 816, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26945, "end": 26946, "loc": { "start": { "line": 816, "column": 27 }, "end": { "line": 816, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 26947, "end": 26949, "loc": { "start": { "line": 816, "column": 29 }, "end": { "line": 816, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26949, "end": 26950, "loc": { "start": { "line": 816, "column": 31 }, "end": { "line": 816, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26951, "end": 26952, "loc": { "start": { "line": 816, "column": 33 }, "end": { "line": 816, "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": 26962, "end": 26966, "loc": { "start": { "line": 817, "column": 8 }, "end": { "line": 817, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26966, "end": 26967, "loc": { "start": { "line": 817, "column": 12 }, "end": { "line": 817, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 26967, "end": 26979, "loc": { "start": { "line": 817, "column": 13 }, "end": { "line": 817, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26980, "end": 26981, "loc": { "start": { "line": 817, "column": 26 }, "end": { "line": 817, "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": 26982, "end": 26986, "loc": { "start": { "line": 817, "column": 28 }, "end": { "line": 817, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26986, "end": 26987, "loc": { "start": { "line": 817, "column": 32 }, "end": { "line": 817, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentShake", "start": 26987, "end": 26999, "loc": { "start": { "line": 817, "column": 33 }, "end": { "line": 817, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26999, "end": 27000, "loc": { "start": { "line": 817, "column": 45 }, "end": { "line": 817, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 27000, "end": 27014, "loc": { "start": { "line": 817, "column": 46 }, "end": { "line": 817, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27014, "end": 27015, "loc": { "start": { "line": 817, "column": 60 }, "end": { "line": 817, "column": 61 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.92, "start": 27015, "end": 27019, "loc": { "start": { "line": 817, "column": 61 }, "end": { "line": 817, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27019, "end": 27020, "loc": { "start": { "line": 817, "column": 65 }, "end": { "line": 817, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27020, "end": 27021, "loc": { "start": { "line": 817, "column": 66 }, "end": { "line": 817, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27027, "end": 27028, "loc": { "start": { "line": 818, "column": 4 }, "end": { "line": 818, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal pan handler\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 27036, "end": 27163, "loc": { "start": { "line": 820, "column": 4 }, "end": { "line": 824, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdatePanning", "start": 27169, "end": 27190, "loc": { "start": { "line": 825, "column": 4 }, "end": { "line": 825, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27190, "end": 27191, "loc": { "start": { "line": 825, "column": 25 }, "end": { "line": 825, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 27191, "end": 27194, "loc": { "start": { "line": 825, "column": 26 }, "end": { "line": 825, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27194, "end": 27195, "loc": { "start": { "line": 825, "column": 29 }, "end": { "line": 825, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 27196, "end": 27198, "loc": { "start": { "line": 825, "column": 31 }, "end": { "line": 825, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27198, "end": 27199, "loc": { "start": { "line": 825, "column": 33 }, "end": { "line": 825, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27200, "end": 27201, "loc": { "start": { "line": 825, "column": 35 }, "end": { "line": 825, "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": 27211, "end": 27216, "loc": { "start": { "line": 826, "column": 8 }, "end": { "line": 826, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseStrength", "start": 27217, "end": 27229, "loc": { "start": { "line": 826, "column": 14 }, "end": { "line": 826, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27230, "end": 27231, "loc": { "start": { "line": 826, "column": 27 }, "end": { "line": 826, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityStrength", "start": 27232, "end": 27248, "loc": { "start": { "line": 826, "column": 29 }, "end": { "line": 826, "column": 45 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 27249, "end": 27250, "loc": { "start": { "line": 826, "column": 46 }, "end": { "line": 826, "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": 27251, "end": 27255, "loc": { "start": { "line": 826, "column": 48 }, "end": { "line": 826, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27255, "end": 27256, "loc": { "start": { "line": 826, "column": 52 }, "end": { "line": 826, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 27256, "end": 27260, "loc": { "start": { "line": 826, "column": 53 }, "end": { "line": 826, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27260, "end": 27261, "loc": { "start": { "line": 826, "column": 57 }, "end": { "line": 826, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 27261, "end": 27264, "loc": { "start": { "line": 826, "column": 58 }, "end": { "line": 826, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27264, "end": 27265, "loc": { "start": { "line": 826, "column": 61 }, "end": { "line": 826, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 27265, "end": 27280, "loc": { "start": { "line": 826, "column": 62 }, "end": { "line": 826, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27280, "end": 27281, "loc": { "start": { "line": 826, "column": 77 }, "end": { "line": 826, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTouchPanStrength", "start": 27281, "end": 27300, "loc": { "start": { "line": 826, "column": 78 }, "end": { "line": 826, "column": 97 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27300, "end": 27301, "loc": { "start": { "line": 826, "column": 97 }, "end": { "line": 826, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27301, "end": 27302, "loc": { "start": { "line": 826, "column": 98 }, "end": { "line": 826, "column": 99 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27302, "end": 27303, "loc": { "start": { "line": 826, "column": 99 }, "end": { "line": 826, "column": 100 } } }, { "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": 27315, "end": 27319, "loc": { "start": { "line": 828, "column": 8 }, "end": { "line": 828, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27319, "end": 27320, "loc": { "start": { "line": 828, "column": 12 }, "end": { "line": 828, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 27320, "end": 27341, "loc": { "start": { "line": 828, "column": 13 }, "end": { "line": 828, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27342, "end": 27343, "loc": { "start": { "line": 828, "column": 35 }, "end": { "line": 828, "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": 27344, "end": 27348, "loc": { "start": { "line": 828, "column": 37 }, "end": { "line": 828, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27348, "end": 27349, "loc": { "start": { "line": 828, "column": 41 }, "end": { "line": 828, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 27349, "end": 27370, "loc": { "start": { "line": 828, "column": 42 }, "end": { "line": 828, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27370, "end": 27371, "loc": { "start": { "line": 828, "column": 63 }, "end": { "line": 828, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 27371, "end": 27385, "loc": { "start": { "line": 828, "column": 64 }, "end": { "line": 828, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27385, "end": 27386, "loc": { "start": { "line": 828, "column": 78 }, "end": { "line": 828, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityFade", "start": 27386, "end": 27398, "loc": { "start": { "line": 828, "column": 79 }, "end": { "line": 828, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27398, "end": 27399, "loc": { "start": { "line": 828, "column": 91 }, "end": { "line": 828, "column": 92 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27399, "end": 27400, "loc": { "start": { "line": 828, "column": 92 }, "end": { "line": 828, "column": 93 } } }, { "type": "CommentLine", "value": " Check if the camera is being dragged but standing still: if not, zero out `touchPostMoveVelocity`.", "start": 27412, "end": 27513, "loc": { "start": { "line": 830, "column": 8 }, "end": { "line": 830, "column": 109 } } }, { "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": 27523, "end": 27525, "loc": { "start": { "line": 831, "column": 8 }, "end": { "line": 831, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27526, "end": 27527, "loc": { "start": { "line": 831, "column": 11 }, "end": { "line": 831, "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": 27527, "end": 27531, "loc": { "start": { "line": 831, "column": 12 }, "end": { "line": 831, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27531, "end": 27532, "loc": { "start": { "line": 831, "column": 16 }, "end": { "line": 831, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 27532, "end": 27547, "loc": { "start": { "line": 831, "column": 17 }, "end": { "line": 831, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 27548, "end": 27550, "loc": { "start": { "line": 831, "column": 33 }, "end": { "line": 831, "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": 27551, "end": 27555, "loc": { "start": { "line": 831, "column": 36 }, "end": { "line": 831, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27555, "end": 27556, "loc": { "start": { "line": 831, "column": 40 }, "end": { "line": 831, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 27556, "end": 27569, "loc": { "start": { "line": 831, "column": 41 }, "end": { "line": 831, "column": 54 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 27570, "end": 27573, "loc": { "start": { "line": 831, "column": 55 }, "end": { "line": 831, "column": 58 } } }, { "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": 27574, "end": 27578, "loc": { "start": { "line": 831, "column": 59 }, "end": { "line": 831, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27578, "end": 27579, "loc": { "start": { "line": 831, "column": 63 }, "end": { "line": 831, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27580, "end": 27581, "loc": { "start": { "line": 831, "column": 65 }, "end": { "line": 831, "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": 27595, "end": 27597, "loc": { "start": { "line": 832, "column": 12 }, "end": { "line": 832, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27598, "end": 27599, "loc": { "start": { "line": 832, "column": 15 }, "end": { "line": 832, "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": 27617, "end": 27621, "loc": { "start": { "line": 833, "column": 16 }, "end": { "line": 833, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27621, "end": 27622, "loc": { "start": { "line": 833, "column": 20 }, "end": { "line": 833, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 27622, "end": 27648, "loc": { "start": { "line": 833, "column": 21 }, "end": { "line": 833, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 27649, "end": 27652, "loc": { "start": { "line": 833, "column": 48 }, "end": { "line": 833, "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": 27653, "end": 27657, "loc": { "start": { "line": 833, "column": 52 }, "end": { "line": 833, "column": 56 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 27658, "end": 27660, "loc": { "start": { "line": 833, "column": 57 }, "end": { "line": 833, "column": 59 } } }, { "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": 27678, "end": 27682, "loc": { "start": { "line": 834, "column": 16 }, "end": { "line": 834, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27682, "end": 27683, "loc": { "start": { "line": 834, "column": 20 }, "end": { "line": 834, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 27683, "end": 27709, "loc": { "start": { "line": 834, "column": 21 }, "end": { "line": 834, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27709, "end": 27710, "loc": { "start": { "line": 834, "column": 47 }, "end": { "line": 834, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "equalsEpsilon", "start": 27710, "end": 27723, "loc": { "start": { "line": 834, "column": 48 }, "end": { "line": 834, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27723, "end": 27724, "loc": { "start": { "line": 834, "column": 61 }, "end": { "line": 834, "column": 62 } } }, { "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": 27724, "end": 27728, "loc": { "start": { "line": 834, "column": 62 }, "end": { "line": 834, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27728, "end": 27729, "loc": { "start": { "line": 834, "column": 66 }, "end": { "line": 834, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 27729, "end": 27747, "loc": { "start": { "line": 834, "column": 67 }, "end": { "line": 834, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27747, "end": 27748, "loc": { "start": { "line": 834, "column": 85 }, "end": { "line": 834, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27762, "end": 27763, "loc": { "start": { "line": 835, "column": 12 }, "end": { "line": 835, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27764, "end": 27765, "loc": { "start": { "line": 835, "column": 14 }, "end": { "line": 835, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 27783, "end": 27787, "loc": { "start": { "line": 836, "column": 16 }, "end": { "line": 836, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27787, "end": 27788, "loc": { "start": { "line": 836, "column": 20 }, "end": { "line": 836, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 27788, "end": 27809, "loc": { "start": { "line": 836, "column": 21 }, "end": { "line": 836, "column": 42 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 27809, "end": 27811, "loc": { "start": { "line": 836, "column": 42 }, "end": { "line": 836, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27811, "end": 27812, "loc": { "start": { "line": 836, "column": 44 }, "end": { "line": 836, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27826, "end": 27827, "loc": { "start": { "line": 837, "column": 12 }, "end": { "line": 837, "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": 27828, "end": 27832, "loc": { "start": { "line": 837, "column": 14 }, "end": { "line": 837, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27833, "end": 27834, "loc": { "start": { "line": 837, "column": 19 }, "end": { "line": 837, "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": 27852, "end": 27856, "loc": { "start": { "line": 838, "column": 16 }, "end": { "line": 838, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27856, "end": 27857, "loc": { "start": { "line": 838, "column": 20 }, "end": { "line": 838, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 27857, "end": 27878, "loc": { "start": { "line": 838, "column": 21 }, "end": { "line": 838, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27879, "end": 27880, "loc": { "start": { "line": 838, "column": 43 }, "end": { "line": 838, "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": 27881, "end": 27882, "loc": { "start": { "line": 838, "column": 45 }, "end": { "line": 838, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27882, "end": 27883, "loc": { "start": { "line": 838, "column": 46 }, "end": { "line": 838, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27897, "end": 27898, "loc": { "start": { "line": 839, "column": 12 }, "end": { "line": 839, "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": 27912, "end": 27916, "loc": { "start": { "line": 840, "column": 12 }, "end": { "line": 840, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27916, "end": 27917, "loc": { "start": { "line": 840, "column": 16 }, "end": { "line": 840, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPositionLastTick", "start": 27917, "end": 27943, "loc": { "start": { "line": 840, "column": 17 }, "end": { "line": 840, "column": 43 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 27944, "end": 27945, "loc": { "start": { "line": 840, "column": 44 }, "end": { "line": 840, "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": 27946, "end": 27950, "loc": { "start": { "line": 840, "column": 46 }, "end": { "line": 840, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27950, "end": 27951, "loc": { "start": { "line": 840, "column": 50 }, "end": { "line": 840, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMovingPosition", "start": 27951, "end": 27969, "loc": { "start": { "line": 840, "column": 51 }, "end": { "line": 840, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27969, "end": 27970, "loc": { "start": { "line": 840, "column": 69 }, "end": { "line": 840, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 27970, "end": 27974, "loc": { "start": { "line": 840, "column": 70 }, "end": { "line": 840, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27974, "end": 27975, "loc": { "start": { "line": 840, "column": 74 }, "end": { "line": 840, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27975, "end": 27976, "loc": { "start": { "line": 840, "column": 75 }, "end": { "line": 840, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27976, "end": 27977, "loc": { "start": { "line": 840, "column": 76 }, "end": { "line": 840, "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": 27993, "end": 27995, "loc": { "start": { "line": 842, "column": 12 }, "end": { "line": 842, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 27996, "end": 27997, "loc": { "start": { "line": 842, "column": 15 }, "end": { "line": 842, "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": 27997, "end": 28001, "loc": { "start": { "line": 842, "column": 16 }, "end": { "line": 842, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28001, "end": 28002, "loc": { "start": { "line": 842, "column": 20 }, "end": { "line": 842, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numTicksStandingStill", "start": 28002, "end": 28023, "loc": { "start": { "line": 842, "column": 21 }, "end": { "line": 842, "column": 42 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 28024, "end": 28026, "loc": { "start": { "line": 842, "column": 43 }, "end": { "line": 842, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticksBeforeErasingVelocity", "start": 28027, "end": 28053, "loc": { "start": { "line": 842, "column": 46 }, "end": { "line": 842, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28053, "end": 28054, "loc": { "start": { "line": 842, "column": 72 }, "end": { "line": 842, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28055, "end": 28056, "loc": { "start": { "line": 842, "column": 74 }, "end": { "line": 842, "column": 75 } } }, { "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": 28074, "end": 28078, "loc": { "start": { "line": 843, "column": 16 }, "end": { "line": 843, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28078, "end": 28079, "loc": { "start": { "line": 843, "column": 20 }, "end": { "line": 843, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28079, "end": 28100, "loc": { "start": { "line": 843, "column": 21 }, "end": { "line": 843, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28100, "end": 28101, "loc": { "start": { "line": 843, "column": 42 }, "end": { "line": 843, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 28101, "end": 28102, "loc": { "start": { "line": 843, "column": 43 }, "end": { "line": 843, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28103, "end": 28104, "loc": { "start": { "line": 843, "column": 45 }, "end": { "line": 843, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 28105, "end": 28106, "loc": { "start": { "line": 843, "column": 47 }, "end": { "line": 843, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28106, "end": 28107, "loc": { "start": { "line": 843, "column": 48 }, "end": { "line": 843, "column": 49 } } }, { "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": 28125, "end": 28129, "loc": { "start": { "line": 844, "column": 16 }, "end": { "line": 844, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28129, "end": 28130, "loc": { "start": { "line": 844, "column": 20 }, "end": { "line": 844, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28130, "end": 28151, "loc": { "start": { "line": 844, "column": 21 }, "end": { "line": 844, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28151, "end": 28152, "loc": { "start": { "line": 844, "column": 42 }, "end": { "line": 844, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 28152, "end": 28153, "loc": { "start": { "line": 844, "column": 43 }, "end": { "line": 844, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28154, "end": 28155, "loc": { "start": { "line": 844, "column": 45 }, "end": { "line": 844, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 28156, "end": 28157, "loc": { "start": { "line": 844, "column": 47 }, "end": { "line": 844, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28157, "end": 28158, "loc": { "start": { "line": 844, "column": 48 }, "end": { "line": 844, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28172, "end": 28173, "loc": { "start": { "line": 845, "column": 12 }, "end": { "line": 845, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28183, "end": 28184, "loc": { "start": { "line": 846, "column": 8 }, "end": { "line": 846, "column": 9 } } }, { "type": "CommentLine", "value": " Check influence of past points", "start": 28194, "end": 28227, "loc": { "start": { "line": 847, "column": 8 }, "end": { "line": 847, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 28237, "end": 28239, "loc": { "start": { "line": 848, "column": 8 }, "end": { "line": 848, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28240, "end": 28241, "loc": { "start": { "line": 848, "column": 11 }, "end": { "line": 848, "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": 28241, "end": 28242, "loc": { "start": { "line": 848, "column": 12 }, "end": { "line": 848, "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": 28242, "end": 28246, "loc": { "start": { "line": 848, "column": 13 }, "end": { "line": 848, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28246, "end": 28247, "loc": { "start": { "line": 848, "column": 17 }, "end": { "line": 848, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 28247, "end": 28262, "loc": { "start": { "line": 848, "column": 18 }, "end": { "line": 848, "column": 33 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 28263, "end": 28265, "loc": { "start": { "line": 848, "column": 34 }, "end": { "line": 848, "column": 36 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 28266, "end": 28267, "loc": { "start": { "line": 848, "column": 37 }, "end": { "line": 848, "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": 28267, "end": 28271, "loc": { "start": { "line": 848, "column": 38 }, "end": { "line": 848, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28271, "end": 28272, "loc": { "start": { "line": 848, "column": 42 }, "end": { "line": 848, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 28272, "end": 28289, "loc": { "start": { "line": 848, "column": 43 }, "end": { "line": 848, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28289, "end": 28290, "loc": { "start": { "line": 848, "column": 60 }, "end": { "line": 848, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28291, "end": 28292, "loc": { "start": { "line": 848, "column": 62 }, "end": { "line": 848, "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": 28306, "end": 28311, "loc": { "start": { "line": 849, "column": 12 }, "end": { "line": 849, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 28312, "end": 28315, "loc": { "start": { "line": 849, "column": 18 }, "end": { "line": 849, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28316, "end": 28317, "loc": { "start": { "line": 849, "column": 22 }, "end": { "line": 849, "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": 28318, "end": 28322, "loc": { "start": { "line": 849, "column": 24 }, "end": { "line": 849, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28322, "end": 28323, "loc": { "start": { "line": 849, "column": 28 }, "end": { "line": 849, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28323, "end": 28344, "loc": { "start": { "line": 849, "column": 29 }, "end": { "line": 849, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28344, "end": 28345, "loc": { "start": { "line": 849, "column": 50 }, "end": { "line": 849, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 28345, "end": 28351, "loc": { "start": { "line": 849, "column": 51 }, "end": { "line": 849, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28351, "end": 28352, "loc": { "start": { "line": 849, "column": 57 }, "end": { "line": 849, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28352, "end": 28353, "loc": { "start": { "line": 849, "column": 58 }, "end": { "line": 849, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28353, "end": 28354, "loc": { "start": { "line": 849, "column": 59 }, "end": { "line": 849, "column": 60 } } }, { "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": 28368, "end": 28370, "loc": { "start": { "line": 850, "column": 12 }, "end": { "line": 850, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28371, "end": 28372, "loc": { "start": { "line": 850, "column": 15 }, "end": { "line": 850, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 28372, "end": 28375, "loc": { "start": { "line": 850, "column": 16 }, "end": { "line": 850, "column": 19 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 28376, "end": 28378, "loc": { "start": { "line": 850, "column": 20 }, "end": { "line": 850, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityMax", "start": 28379, "end": 28390, "loc": { "start": { "line": 850, "column": 23 }, "end": { "line": 850, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28390, "end": 28391, "loc": { "start": { "line": 850, "column": 34 }, "end": { "line": 850, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28392, "end": 28393, "loc": { "start": { "line": 850, "column": 36 }, "end": { "line": 850, "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": 28411, "end": 28415, "loc": { "start": { "line": 851, "column": 16 }, "end": { "line": 851, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28415, "end": 28416, "loc": { "start": { "line": 851, "column": 20 }, "end": { "line": 851, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28416, "end": 28437, "loc": { "start": { "line": 851, "column": 21 }, "end": { "line": 851, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28437, "end": 28438, "loc": { "start": { "line": 851, "column": 42 }, "end": { "line": 851, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 28438, "end": 28439, "loc": { "start": { "line": 851, "column": 43 }, "end": { "line": 851, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28440, "end": 28441, "loc": { "start": { "line": 851, "column": 45 }, "end": { "line": 851, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28442, "end": 28443, "loc": { "start": { "line": 851, "column": 47 }, "end": { "line": 851, "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": 28443, "end": 28447, "loc": { "start": { "line": 851, "column": 48 }, "end": { "line": 851, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28447, "end": 28448, "loc": { "start": { "line": 851, "column": 52 }, "end": { "line": 851, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28448, "end": 28469, "loc": { "start": { "line": 851, "column": 53 }, "end": { "line": 851, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28469, "end": 28470, "loc": { "start": { "line": 851, "column": 74 }, "end": { "line": 851, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 28470, "end": 28471, "loc": { "start": { "line": 851, "column": 75 }, "end": { "line": 851, "column": 76 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 28472, "end": 28473, "loc": { "start": { "line": 851, "column": 77 }, "end": { "line": 851, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityMax", "start": 28474, "end": 28485, "loc": { "start": { "line": 851, "column": 79 }, "end": { "line": 851, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28485, "end": 28486, "loc": { "start": { "line": 851, "column": 90 }, "end": { "line": 851, "column": 91 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 28487, "end": 28488, "loc": { "start": { "line": 851, "column": 92 }, "end": { "line": 851, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 28489, "end": 28492, "loc": { "start": { "line": 851, "column": 94 }, "end": { "line": 851, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28492, "end": 28493, "loc": { "start": { "line": 851, "column": 97 }, "end": { "line": 851, "column": 98 } } }, { "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": 28511, "end": 28515, "loc": { "start": { "line": 852, "column": 16 }, "end": { "line": 852, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28515, "end": 28516, "loc": { "start": { "line": 852, "column": 20 }, "end": { "line": 852, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28516, "end": 28537, "loc": { "start": { "line": 852, "column": 21 }, "end": { "line": 852, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28537, "end": 28538, "loc": { "start": { "line": 852, "column": 42 }, "end": { "line": 852, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 28538, "end": 28539, "loc": { "start": { "line": 852, "column": 43 }, "end": { "line": 852, "column": 44 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28540, "end": 28541, "loc": { "start": { "line": 852, "column": 45 }, "end": { "line": 852, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28542, "end": 28543, "loc": { "start": { "line": 852, "column": 47 }, "end": { "line": 852, "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": 28543, "end": 28547, "loc": { "start": { "line": 852, "column": 48 }, "end": { "line": 852, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28547, "end": 28548, "loc": { "start": { "line": 852, "column": 52 }, "end": { "line": 852, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28548, "end": 28569, "loc": { "start": { "line": 852, "column": 53 }, "end": { "line": 852, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28569, "end": 28570, "loc": { "start": { "line": 852, "column": 74 }, "end": { "line": 852, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 28570, "end": 28571, "loc": { "start": { "line": 852, "column": 75 }, "end": { "line": 852, "column": 76 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 28572, "end": 28573, "loc": { "start": { "line": 852, "column": 77 }, "end": { "line": 852, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "velocityMax", "start": 28574, "end": 28585, "loc": { "start": { "line": 852, "column": 79 }, "end": { "line": 852, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28585, "end": 28586, "loc": { "start": { "line": 852, "column": 90 }, "end": { "line": 852, "column": 91 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 28587, "end": 28588, "loc": { "start": { "line": 852, "column": 92 }, "end": { "line": 852, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 28589, "end": 28592, "loc": { "start": { "line": 852, "column": 94 }, "end": { "line": 852, "column": 97 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28592, "end": 28593, "loc": { "start": { "line": 852, "column": 97 }, "end": { "line": 852, "column": 98 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28607, "end": 28608, "loc": { "start": { "line": 853, "column": 12 }, "end": { "line": 853, "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": 28624, "end": 28628, "loc": { "start": { "line": 855, "column": 12 }, "end": { "line": 855, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28628, "end": 28629, "loc": { "start": { "line": 855, "column": 16 }, "end": { "line": 855, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 28629, "end": 28635, "loc": { "start": { "line": 855, "column": 17 }, "end": { "line": 855, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28636, "end": 28637, "loc": { "start": { "line": 855, "column": 24 }, "end": { "line": 855, "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": 28638, "end": 28642, "loc": { "start": { "line": 855, "column": 26 }, "end": { "line": 855, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28642, "end": 28643, "loc": { "start": { "line": 855, "column": 30 }, "end": { "line": 855, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 28643, "end": 28649, "loc": { "start": { "line": 855, "column": 31 }, "end": { "line": 855, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28649, "end": 28650, "loc": { "start": { "line": 855, "column": 37 }, "end": { "line": 855, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 28650, "end": 28653, "loc": { "start": { "line": 855, "column": 38 }, "end": { "line": 855, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28653, "end": 28654, "loc": { "start": { "line": 855, "column": 41 }, "end": { "line": 855, "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": 28654, "end": 28658, "loc": { "start": { "line": 855, "column": 42 }, "end": { "line": 855, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28658, "end": 28659, "loc": { "start": { "line": 855, "column": 46 }, "end": { "line": 855, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "touchPostMoveVelocity", "start": 28659, "end": 28680, "loc": { "start": { "line": 855, "column": 47 }, "end": { "line": 855, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28680, "end": 28681, "loc": { "start": { "line": 855, "column": 68 }, "end": { "line": 855, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 28681, "end": 28695, "loc": { "start": { "line": 855, "column": 69 }, "end": { "line": 855, "column": 83 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28695, "end": 28696, "loc": { "start": { "line": 855, "column": 83 }, "end": { "line": 855, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseStrength", "start": 28696, "end": 28708, "loc": { "start": { "line": 855, "column": 84 }, "end": { "line": 855, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28708, "end": 28709, "loc": { "start": { "line": 855, "column": 96 }, "end": { "line": 855, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28709, "end": 28710, "loc": { "start": { "line": 855, "column": 97 }, "end": { "line": 855, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28710, "end": 28711, "loc": { "start": { "line": 855, "column": 98 }, "end": { "line": 855, "column": 99 } } }, { "type": "CommentLine", "value": " Panning", "start": 28727, "end": 28737, "loc": { "start": { "line": 857, "column": 12 }, "end": { "line": 857, "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": 28751, "end": 28755, "loc": { "start": { "line": 858, "column": 12 }, "end": { "line": 858, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28755, "end": 28756, "loc": { "start": { "line": 858, "column": 16 }, "end": { "line": 858, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 28756, "end": 28766, "loc": { "start": { "line": 858, "column": 17 }, "end": { "line": 858, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28767, "end": 28768, "loc": { "start": { "line": 858, "column": 28 }, "end": { "line": 858, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mixVector", "start": 28769, "end": 28778, "loc": { "start": { "line": 858, "column": 30 }, "end": { "line": 858, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28778, "end": 28779, "loc": { "start": { "line": 858, "column": 39 }, "end": { "line": 858, "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": 28779, "end": 28783, "loc": { "start": { "line": 858, "column": 40 }, "end": { "line": 858, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28783, "end": 28784, "loc": { "start": { "line": 858, "column": 44 }, "end": { "line": 858, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 28784, "end": 28794, "loc": { "start": { "line": 858, "column": 45 }, "end": { "line": 858, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28794, "end": 28795, "loc": { "start": { "line": 858, "column": 55 }, "end": { "line": 858, "column": 56 } } }, { "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": 28796, "end": 28800, "loc": { "start": { "line": 858, "column": 57 }, "end": { "line": 858, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28800, "end": 28801, "loc": { "start": { "line": 858, "column": 61 }, "end": { "line": 858, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredPan", "start": 28801, "end": 28811, "loc": { "start": { "line": 858, "column": 62 }, "end": { "line": 858, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28811, "end": 28812, "loc": { "start": { "line": 858, "column": 72 }, "end": { "line": 858, "column": 73 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.06, "start": 28813, "end": 28817, "loc": { "start": { "line": 858, "column": 74 }, "end": { "line": 858, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28817, "end": 28818, "loc": { "start": { "line": 858, "column": 78 }, "end": { "line": 858, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28818, "end": 28819, "loc": { "start": { "line": 858, "column": 79 }, "end": { "line": 858, "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": 28833, "end": 28837, "loc": { "start": { "line": 859, "column": 12 }, "end": { "line": 859, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28837, "end": 28838, "loc": { "start": { "line": 859, "column": 16 }, "end": { "line": 859, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 28838, "end": 28844, "loc": { "start": { "line": 859, "column": 17 }, "end": { "line": 859, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 28845, "end": 28846, "loc": { "start": { "line": 859, "column": 24 }, "end": { "line": 859, "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": 28847, "end": 28851, "loc": { "start": { "line": 859, "column": 26 }, "end": { "line": 859, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28851, "end": 28852, "loc": { "start": { "line": 859, "column": 30 }, "end": { "line": 859, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 28852, "end": 28858, "loc": { "start": { "line": 859, "column": 31 }, "end": { "line": 859, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28858, "end": 28859, "loc": { "start": { "line": 859, "column": 37 }, "end": { "line": 859, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 28859, "end": 28862, "loc": { "start": { "line": 859, "column": 38 }, "end": { "line": 859, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28862, "end": 28863, "loc": { "start": { "line": 859, "column": 41 }, "end": { "line": 859, "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": 28863, "end": 28867, "loc": { "start": { "line": 859, "column": 42 }, "end": { "line": 859, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28867, "end": 28868, "loc": { "start": { "line": 859, "column": 46 }, "end": { "line": 859, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentPan", "start": 28868, "end": 28878, "loc": { "start": { "line": 859, "column": 47 }, "end": { "line": 859, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28878, "end": 28879, "loc": { "start": { "line": 859, "column": 57 }, "end": { "line": 859, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 28879, "end": 28893, "loc": { "start": { "line": 859, "column": 58 }, "end": { "line": 859, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28893, "end": 28894, "loc": { "start": { "line": 859, "column": 72 }, "end": { "line": 859, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28894, "end": 28895, "loc": { "start": { "line": 859, "column": 73 }, "end": { "line": 859, "column": 74 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 28895, "end": 28898, "loc": { "start": { "line": 859, "column": 74 }, "end": { "line": 859, "column": 77 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 28899, "end": 28900, "loc": { "start": { "line": 859, "column": 78 }, "end": { "line": 859, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 28901, "end": 28903, "loc": { "start": { "line": 859, "column": 80 }, "end": { "line": 859, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28903, "end": 28904, "loc": { "start": { "line": 859, "column": 82 }, "end": { "line": 859, "column": 83 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 28905, "end": 28906, "loc": { "start": { "line": 859, "column": 84 }, "end": { "line": 859, "column": 85 } } }, { "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": 28907, "end": 28911, "loc": { "start": { "line": 859, "column": 86 }, "end": { "line": 859, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28911, "end": 28912, "loc": { "start": { "line": 859, "column": 90 }, "end": { "line": 859, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 28912, "end": 28921, "loc": { "start": { "line": 859, "column": 91 }, "end": { "line": 859, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28921, "end": 28922, "loc": { "start": { "line": 859, "column": 100 }, "end": { "line": 859, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28922, "end": 28923, "loc": { "start": { "line": 859, "column": 101 }, "end": { "line": 859, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 28923, "end": 28924, "loc": { "start": { "line": 859, "column": 102 }, "end": { "line": 859, "column": 103 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28934, "end": 28935, "loc": { "start": { "line": 860, "column": 8 }, "end": { "line": 860, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 28941, "end": 28942, "loc": { "start": { "line": 861, "column": 4 }, "end": { "line": 861, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal screen panning handler\r\n * @param {number} now\r\n * @param {number} dt\r\n ", "start": 28950, "end": 29057, "loc": { "start": { "line": 863, "column": 4 }, "end": { "line": 867, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateMousePanning", "start": 29063, "end": 29089, "loc": { "start": { "line": 868, "column": 4 }, "end": { "line": 868, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29089, "end": 29090, "loc": { "start": { "line": 868, "column": 30 }, "end": { "line": 868, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 29090, "end": 29093, "loc": { "start": { "line": 868, "column": 31 }, "end": { "line": 868, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29093, "end": 29094, "loc": { "start": { "line": 868, "column": 34 }, "end": { "line": 868, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 29095, "end": 29097, "loc": { "start": { "line": 868, "column": 36 }, "end": { "line": 868, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29097, "end": 29098, "loc": { "start": { "line": 868, "column": 38 }, "end": { "line": 868, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29099, "end": 29100, "loc": { "start": { "line": 868, "column": 40 }, "end": { "line": 868, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29110, "end": 29112, "loc": { "start": { "line": 869, "column": 8 }, "end": { "line": 869, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29113, "end": 29114, "loc": { "start": { "line": 869, "column": 11 }, "end": { "line": 869, "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": 29114, "end": 29115, "loc": { "start": { "line": 869, "column": 12 }, "end": { "line": 869, "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": 29115, "end": 29119, "loc": { "start": { "line": 869, "column": 13 }, "end": { "line": 869, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29119, "end": 29120, "loc": { "start": { "line": 869, "column": 17 }, "end": { "line": 869, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29120, "end": 29124, "loc": { "start": { "line": 869, "column": 18 }, "end": { "line": 869, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29124, "end": 29125, "loc": { "start": { "line": 869, "column": 22 }, "end": { "line": 869, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 29125, "end": 29128, "loc": { "start": { "line": 869, "column": 23 }, "end": { "line": 869, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29128, "end": 29129, "loc": { "start": { "line": 869, "column": 26 }, "end": { "line": 869, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focused", "start": 29129, "end": 29136, "loc": { "start": { "line": 869, "column": 27 }, "end": { "line": 869, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29136, "end": 29137, "loc": { "start": { "line": 869, "column": 34 }, "end": { "line": 869, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29138, "end": 29139, "loc": { "start": { "line": 869, "column": 36 }, "end": { "line": 869, "column": 37 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 29153, "end": 29159, "loc": { "start": { "line": 870, "column": 12 }, "end": { "line": 870, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29159, "end": 29160, "loc": { "start": { "line": 870, "column": 18 }, "end": { "line": 870, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29170, "end": 29171, "loc": { "start": { "line": 871, "column": 8 }, "end": { "line": 871, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29183, "end": 29185, "loc": { "start": { "line": 873, "column": 8 }, "end": { "line": 873, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29186, "end": 29187, "loc": { "start": { "line": 873, "column": 11 }, "end": { "line": 873, "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": 29187, "end": 29188, "loc": { "start": { "line": 873, "column": 12 }, "end": { "line": 873, "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": 29188, "end": 29192, "loc": { "start": { "line": 873, "column": 13 }, "end": { "line": 873, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29192, "end": 29193, "loc": { "start": { "line": 873, "column": 17 }, "end": { "line": 873, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29193, "end": 29197, "loc": { "start": { "line": 873, "column": 18 }, "end": { "line": 873, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29197, "end": 29198, "loc": { "start": { "line": 873, "column": 22 }, "end": { "line": 873, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 29198, "end": 29201, "loc": { "start": { "line": 873, "column": 23 }, "end": { "line": 873, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29201, "end": 29202, "loc": { "start": { "line": 873, "column": 26 }, "end": { "line": 873, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 29202, "end": 29210, "loc": { "start": { "line": 873, "column": 27 }, "end": { "line": 873, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29210, "end": 29211, "loc": { "start": { "line": 873, "column": 35 }, "end": { "line": 873, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 29211, "end": 29225, "loc": { "start": { "line": 873, "column": 36 }, "end": { "line": 873, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29225, "end": 29226, "loc": { "start": { "line": 873, "column": 50 }, "end": { "line": 873, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29226, "end": 29227, "loc": { "start": { "line": 873, "column": 51 }, "end": { "line": 873, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29227, "end": 29228, "loc": { "start": { "line": 873, "column": 52 }, "end": { "line": 873, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enableMousePan", "start": 29228, "end": 29242, "loc": { "start": { "line": 873, "column": 53 }, "end": { "line": 873, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29242, "end": 29243, "loc": { "start": { "line": 873, "column": 67 }, "end": { "line": 873, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29244, "end": 29245, "loc": { "start": { "line": 873, "column": 69 }, "end": { "line": 873, "column": 70 } } }, { "type": "CommentLine", "value": " Not enabled", "start": 29259, "end": 29273, "loc": { "start": { "line": 874, "column": 12 }, "end": { "line": 874, "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": 29287, "end": 29293, "loc": { "start": { "line": 875, "column": 12 }, "end": { "line": 875, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29293, "end": 29294, "loc": { "start": { "line": 875, "column": 18 }, "end": { "line": 875, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29304, "end": 29305, "loc": { "start": { "line": 876, "column": 8 }, "end": { "line": 876, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 29317, "end": 29322, "loc": { "start": { "line": 878, "column": 8 }, "end": { "line": 878, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29323, "end": 29331, "loc": { "start": { "line": 878, "column": 14 }, "end": { "line": 878, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 29332, "end": 29333, "loc": { "start": { "line": 878, "column": 23 }, "end": { "line": 878, "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": 29334, "end": 29338, "loc": { "start": { "line": 878, "column": 25 }, "end": { "line": 878, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29338, "end": 29339, "loc": { "start": { "line": 878, "column": 29 }, "end": { "line": 878, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29339, "end": 29343, "loc": { "start": { "line": 878, "column": 30 }, "end": { "line": 878, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29343, "end": 29344, "loc": { "start": { "line": 878, "column": 34 }, "end": { "line": 878, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 29344, "end": 29347, "loc": { "start": { "line": 878, "column": 35 }, "end": { "line": 878, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29347, "end": 29348, "loc": { "start": { "line": 878, "column": 38 }, "end": { "line": 878, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 29348, "end": 29361, "loc": { "start": { "line": 878, "column": 39 }, "end": { "line": 878, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29361, "end": 29362, "loc": { "start": { "line": 878, "column": 52 }, "end": { "line": 878, "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": 29372, "end": 29374, "loc": { "start": { "line": 879, "column": 8 }, "end": { "line": 879, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29375, "end": 29376, "loc": { "start": { "line": 879, "column": 11 }, "end": { "line": 879, "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": 29376, "end": 29377, "loc": { "start": { "line": 879, "column": 12 }, "end": { "line": 879, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29377, "end": 29385, "loc": { "start": { "line": 879, "column": 13 }, "end": { "line": 879, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29385, "end": 29386, "loc": { "start": { "line": 879, "column": 21 }, "end": { "line": 879, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29387, "end": 29388, "loc": { "start": { "line": 879, "column": 23 }, "end": { "line": 879, "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": 29402, "end": 29408, "loc": { "start": { "line": 880, "column": 12 }, "end": { "line": 880, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29408, "end": 29409, "loc": { "start": { "line": 880, "column": 18 }, "end": { "line": 880, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29419, "end": 29420, "loc": { "start": { "line": 881, "column": 8 }, "end": { "line": 881, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29432, "end": 29434, "loc": { "start": { "line": 883, "column": 8 }, "end": { "line": 883, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29435, "end": 29436, "loc": { "start": { "line": 883, "column": 11 }, "end": { "line": 883, "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": 29436, "end": 29440, "loc": { "start": { "line": 883, "column": 12 }, "end": { "line": 883, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29440, "end": 29441, "loc": { "start": { "line": 883, "column": 16 }, "end": { "line": 883, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29441, "end": 29445, "loc": { "start": { "line": 883, "column": 17 }, "end": { "line": 883, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29445, "end": 29446, "loc": { "start": { "line": 883, "column": 21 }, "end": { "line": 883, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 29446, "end": 29449, "loc": { "start": { "line": 883, "column": 22 }, "end": { "line": 883, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29449, "end": 29450, "loc": { "start": { "line": 883, "column": 25 }, "end": { "line": 883, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shouldPauseGame", "start": 29450, "end": 29465, "loc": { "start": { "line": 883, "column": 26 }, "end": { "line": 883, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29465, "end": 29466, "loc": { "start": { "line": 883, "column": 41 }, "end": { "line": 883, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29466, "end": 29467, "loc": { "start": { "line": 883, "column": 42 }, "end": { "line": 883, "column": 43 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29468, "end": 29470, "loc": { "start": { "line": 883, "column": 44 }, "end": { "line": 883, "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": 29471, "end": 29475, "loc": { "start": { "line": 883, "column": 47 }, "end": { "line": 883, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29475, "end": 29476, "loc": { "start": { "line": 883, "column": 51 }, "end": { "line": 883, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29476, "end": 29480, "loc": { "start": { "line": 883, "column": 52 }, "end": { "line": 883, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29480, "end": 29481, "loc": { "start": { "line": 883, "column": 56 }, "end": { "line": 883, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hud", "start": 29481, "end": 29484, "loc": { "start": { "line": 883, "column": 57 }, "end": { "line": 883, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29484, "end": 29485, "loc": { "start": { "line": 883, "column": 60 }, "end": { "line": 883, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasBlockingOverlayOpen", "start": 29485, "end": 29507, "loc": { "start": { "line": 883, "column": 61 }, "end": { "line": 883, "column": 83 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29507, "end": 29508, "loc": { "start": { "line": 883, "column": 83 }, "end": { "line": 883, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29508, "end": 29509, "loc": { "start": { "line": 883, "column": 84 }, "end": { "line": 883, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29509, "end": 29510, "loc": { "start": { "line": 883, "column": 85 }, "end": { "line": 883, "column": 86 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29511, "end": 29512, "loc": { "start": { "line": 883, "column": 87 }, "end": { "line": 883, "column": 88 } } }, { "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": 29526, "end": 29532, "loc": { "start": { "line": 884, "column": 12 }, "end": { "line": 884, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29532, "end": 29533, "loc": { "start": { "line": 884, "column": 18 }, "end": { "line": 884, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29543, "end": 29544, "loc": { "start": { "line": 885, "column": 8 }, "end": { "line": 885, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29556, "end": 29558, "loc": { "start": { "line": 887, "column": 8 }, "end": { "line": 887, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29559, "end": 29560, "loc": { "start": { "line": 887, "column": 11 }, "end": { "line": 887, "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": 29560, "end": 29564, "loc": { "start": { "line": 887, "column": 12 }, "end": { "line": 887, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29564, "end": 29565, "loc": { "start": { "line": 887, "column": 16 }, "end": { "line": 887, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 29565, "end": 29578, "loc": { "start": { "line": 887, "column": 17 }, "end": { "line": 887, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29579, "end": 29581, "loc": { "start": { "line": 887, "column": 31 }, "end": { "line": 887, "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": 29582, "end": 29586, "loc": { "start": { "line": 887, "column": 34 }, "end": { "line": 887, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29586, "end": 29587, "loc": { "start": { "line": 887, "column": 38 }, "end": { "line": 887, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 29587, "end": 29598, "loc": { "start": { "line": 887, "column": 39 }, "end": { "line": 887, "column": 50 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29599, "end": 29601, "loc": { "start": { "line": 887, "column": 51 }, "end": { "line": 887, "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": 29602, "end": 29606, "loc": { "start": { "line": 887, "column": 54 }, "end": { "line": 887, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29606, "end": 29607, "loc": { "start": { "line": 887, "column": 58 }, "end": { "line": 887, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 29607, "end": 29622, "loc": { "start": { "line": 887, "column": 59 }, "end": { "line": 887, "column": 74 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29623, "end": 29625, "loc": { "start": { "line": 887, "column": 75 }, "end": { "line": 887, "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": 29626, "end": 29630, "loc": { "start": { "line": 887, "column": 78 }, "end": { "line": 887, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29630, "end": 29631, "loc": { "start": { "line": 887, "column": 82 }, "end": { "line": 887, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 29631, "end": 29648, "loc": { "start": { "line": 887, "column": 83 }, "end": { "line": 887, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29648, "end": 29649, "loc": { "start": { "line": 887, "column": 100 }, "end": { "line": 887, "column": 101 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29650, "end": 29651, "loc": { "start": { "line": 887, "column": 102 }, "end": { "line": 887, "column": 103 } } }, { "type": "CommentLine", "value": " Performing another method of movement right now", "start": 29665, "end": 29715, "loc": { "start": { "line": 888, "column": 12 }, "end": { "line": 888, "column": 62 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 29729, "end": 29735, "loc": { "start": { "line": 889, "column": 12 }, "end": { "line": 889, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29735, "end": 29736, "loc": { "start": { "line": 889, "column": 18 }, "end": { "line": 889, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29746, "end": 29747, "loc": { "start": { "line": 890, "column": 8 }, "end": { "line": 890, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 29759, "end": 29761, "loc": { "start": { "line": 892, "column": 8 }, "end": { "line": 892, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29762, "end": 29763, "loc": { "start": { "line": 892, "column": 11 }, "end": { "line": 892, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29777, "end": 29785, "loc": { "start": { "line": 893, "column": 12 }, "end": { "line": 893, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29785, "end": 29786, "loc": { "start": { "line": 893, "column": 20 }, "end": { "line": 893, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 29786, "end": 29787, "loc": { "start": { "line": 893, "column": 21 }, "end": { "line": 893, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 29788, "end": 29789, "loc": { "start": { "line": 893, "column": 23 }, "end": { "line": 893, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 29790, "end": 29791, "loc": { "start": { "line": 893, "column": 25 }, "end": { "line": 893, "column": 26 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29792, "end": 29794, "loc": { "start": { "line": 893, "column": 27 }, "end": { "line": 893, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29808, "end": 29816, "loc": { "start": { "line": 894, "column": 12 }, "end": { "line": 894, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29816, "end": 29817, "loc": { "start": { "line": 894, "column": 20 }, "end": { "line": 894, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 29817, "end": 29818, "loc": { "start": { "line": 894, "column": 21 }, "end": { "line": 894, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 29819, "end": 29820, "loc": { "start": { "line": 894, "column": 23 }, "end": { "line": 894, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 29821, "end": 29822, "loc": { "start": { "line": 894, "column": 25 }, "end": { "line": 894, "column": 26 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29823, "end": 29825, "loc": { "start": { "line": 894, "column": 27 }, "end": { "line": 894, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29839, "end": 29847, "loc": { "start": { "line": 895, "column": 12 }, "end": { "line": 895, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29847, "end": 29848, "loc": { "start": { "line": 895, "column": 20 }, "end": { "line": 895, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 29848, "end": 29849, "loc": { "start": { "line": 895, "column": 21 }, "end": { "line": 895, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 29850, "end": 29851, "loc": { "start": { "line": 895, "column": 23 }, "end": { "line": 895, "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": 29852, "end": 29856, "loc": { "start": { "line": 895, "column": 25 }, "end": { "line": 895, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29856, "end": 29857, "loc": { "start": { "line": 895, "column": 29 }, "end": { "line": 895, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29857, "end": 29861, "loc": { "start": { "line": 895, "column": 30 }, "end": { "line": 895, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29861, "end": 29862, "loc": { "start": { "line": 895, "column": 34 }, "end": { "line": 895, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 29862, "end": 29871, "loc": { "start": { "line": 895, "column": 35 }, "end": { "line": 895, "column": 44 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 29872, "end": 29874, "loc": { "start": { "line": 895, "column": 45 }, "end": { "line": 895, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 29888, "end": 29896, "loc": { "start": { "line": 896, "column": 12 }, "end": { "line": 896, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29896, "end": 29897, "loc": { "start": { "line": 896, "column": 20 }, "end": { "line": 896, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 29897, "end": 29898, "loc": { "start": { "line": 896, "column": 21 }, "end": { "line": 896, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 29899, "end": 29900, "loc": { "start": { "line": 896, "column": 23 }, "end": { "line": 896, "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": 29901, "end": 29905, "loc": { "start": { "line": 896, "column": 25 }, "end": { "line": 896, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29905, "end": 29906, "loc": { "start": { "line": 896, "column": 29 }, "end": { "line": 896, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 29906, "end": 29910, "loc": { "start": { "line": 896, "column": 30 }, "end": { "line": 896, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29910, "end": 29911, "loc": { "start": { "line": 896, "column": 34 }, "end": { "line": 896, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 29911, "end": 29921, "loc": { "start": { "line": 896, "column": 35 }, "end": { "line": 896, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29931, "end": 29932, "loc": { "start": { "line": 897, "column": 8 }, "end": { "line": 897, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29933, "end": 29934, "loc": { "start": { "line": 897, "column": 10 }, "end": { "line": 897, "column": 11 } } }, { "type": "CommentLine", "value": " Out of screen", "start": 29948, "end": 29964, "loc": { "start": { "line": 898, "column": 12 }, "end": { "line": 898, "column": 28 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 29978, "end": 29984, "loc": { "start": { "line": 899, "column": 12 }, "end": { "line": 899, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 29984, "end": 29985, "loc": { "start": { "line": 899, "column": 18 }, "end": { "line": 899, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29995, "end": 29996, "loc": { "start": { "line": 900, "column": 8 }, "end": { "line": 900, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 30008, "end": 30013, "loc": { "start": { "line": 902, "column": 8 }, "end": { "line": 902, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panAreaPixels", "start": 30014, "end": 30027, "loc": { "start": { "line": 902, "column": 14 }, "end": { "line": 902, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30028, "end": 30029, "loc": { "start": { "line": 902, "column": 28 }, "end": { "line": 902, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 30030, "end": 30031, "loc": { "start": { "line": 902, "column": 30 }, "end": { "line": 902, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30031, "end": 30032, "loc": { "start": { "line": 902, "column": 31 }, "end": { "line": 902, "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": 30044, "end": 30049, "loc": { "start": { "line": 904, "column": 8 }, "end": { "line": 904, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30050, "end": 30061, "loc": { "start": { "line": 904, "column": 14 }, "end": { "line": 904, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30062, "end": 30063, "loc": { "start": { "line": 904, "column": 26 }, "end": { "line": 904, "column": 27 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 30064, "end": 30067, "loc": { "start": { "line": 904, "column": 28 }, "end": { "line": 904, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 30068, "end": 30074, "loc": { "start": { "line": 904, "column": 32 }, "end": { "line": 904, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30074, "end": 30075, "loc": { "start": { "line": 904, "column": 38 }, "end": { "line": 904, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30075, "end": 30076, "loc": { "start": { "line": 904, "column": 39 }, "end": { "line": 904, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30076, "end": 30077, "loc": { "start": { "line": 904, "column": 40 }, "end": { "line": 904, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30087, "end": 30089, "loc": { "start": { "line": 905, "column": 8 }, "end": { "line": 905, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30090, "end": 30091, "loc": { "start": { "line": 905, "column": 11 }, "end": { "line": 905, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 30091, "end": 30099, "loc": { "start": { "line": 905, "column": 12 }, "end": { "line": 905, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30099, "end": 30100, "loc": { "start": { "line": 905, "column": 20 }, "end": { "line": 905, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 30100, "end": 30101, "loc": { "start": { "line": 905, "column": 21 }, "end": { "line": 905, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 30102, "end": 30103, "loc": { "start": { "line": 905, "column": 23 }, "end": { "line": 905, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panAreaPixels", "start": 30104, "end": 30117, "loc": { "start": { "line": 905, "column": 25 }, "end": { "line": 905, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30117, "end": 30118, "loc": { "start": { "line": 905, "column": 38 }, "end": { "line": 905, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30119, "end": 30120, "loc": { "start": { "line": 905, "column": 40 }, "end": { "line": 905, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30134, "end": 30145, "loc": { "start": { "line": 906, "column": 12 }, "end": { "line": 906, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30145, "end": 30146, "loc": { "start": { "line": 906, "column": 23 }, "end": { "line": 906, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 30146, "end": 30147, "loc": { "start": { "line": 906, "column": 24 }, "end": { "line": 906, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 30148, "end": 30150, "loc": { "start": { "line": 906, "column": 26 }, "end": { "line": 906, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 30151, "end": 30152, "loc": { "start": { "line": 906, "column": 29 }, "end": { "line": 906, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30152, "end": 30153, "loc": { "start": { "line": 906, "column": 30 }, "end": { "line": 906, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30163, "end": 30164, "loc": { "start": { "line": 907, "column": 8 }, "end": { "line": 907, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30174, "end": 30176, "loc": { "start": { "line": 908, "column": 8 }, "end": { "line": 908, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30177, "end": 30178, "loc": { "start": { "line": 908, "column": 11 }, "end": { "line": 908, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 30178, "end": 30186, "loc": { "start": { "line": 908, "column": 12 }, "end": { "line": 908, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30186, "end": 30187, "loc": { "start": { "line": 908, "column": 20 }, "end": { "line": 908, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 30187, "end": 30188, "loc": { "start": { "line": 908, "column": 21 }, "end": { "line": 908, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 30189, "end": 30190, "loc": { "start": { "line": 908, "column": 23 }, "end": { "line": 908, "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": 30191, "end": 30195, "loc": { "start": { "line": 908, "column": 25 }, "end": { "line": 908, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30195, "end": 30196, "loc": { "start": { "line": 908, "column": 29 }, "end": { "line": 908, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 30196, "end": 30200, "loc": { "start": { "line": 908, "column": 30 }, "end": { "line": 908, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30200, "end": 30201, "loc": { "start": { "line": 908, "column": 34 }, "end": { "line": 908, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 30201, "end": 30210, "loc": { "start": { "line": 908, "column": 35 }, "end": { "line": 908, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 30211, "end": 30212, "loc": { "start": { "line": 908, "column": 45 }, "end": { "line": 908, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panAreaPixels", "start": 30213, "end": 30226, "loc": { "start": { "line": 908, "column": 47 }, "end": { "line": 908, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30226, "end": 30227, "loc": { "start": { "line": 908, "column": 60 }, "end": { "line": 908, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30228, "end": 30229, "loc": { "start": { "line": 908, "column": 62 }, "end": { "line": 908, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30243, "end": 30254, "loc": { "start": { "line": 909, "column": 12 }, "end": { "line": 909, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30254, "end": 30255, "loc": { "start": { "line": 909, "column": 23 }, "end": { "line": 909, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 30255, "end": 30256, "loc": { "start": { "line": 909, "column": 24 }, "end": { "line": 909, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 30257, "end": 30259, "loc": { "start": { "line": 909, "column": 26 }, "end": { "line": 909, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 30260, "end": 30261, "loc": { "start": { "line": 909, "column": 29 }, "end": { "line": 909, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30261, "end": 30262, "loc": { "start": { "line": 909, "column": 30 }, "end": { "line": 909, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30272, "end": 30273, "loc": { "start": { "line": 910, "column": 8 }, "end": { "line": 910, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30285, "end": 30287, "loc": { "start": { "line": 912, "column": 8 }, "end": { "line": 912, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30288, "end": 30289, "loc": { "start": { "line": 912, "column": 11 }, "end": { "line": 912, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 30289, "end": 30297, "loc": { "start": { "line": 912, "column": 12 }, "end": { "line": 912, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30297, "end": 30298, "loc": { "start": { "line": 912, "column": 20 }, "end": { "line": 912, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 30298, "end": 30299, "loc": { "start": { "line": 912, "column": 21 }, "end": { "line": 912, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 30300, "end": 30301, "loc": { "start": { "line": 912, "column": 23 }, "end": { "line": 912, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panAreaPixels", "start": 30302, "end": 30315, "loc": { "start": { "line": 912, "column": 25 }, "end": { "line": 912, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30315, "end": 30316, "loc": { "start": { "line": 912, "column": 38 }, "end": { "line": 912, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30317, "end": 30318, "loc": { "start": { "line": 912, "column": 40 }, "end": { "line": 912, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30332, "end": 30343, "loc": { "start": { "line": 913, "column": 12 }, "end": { "line": 913, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30343, "end": 30344, "loc": { "start": { "line": 913, "column": 23 }, "end": { "line": 913, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 30344, "end": 30345, "loc": { "start": { "line": 913, "column": 24 }, "end": { "line": 913, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 30346, "end": 30348, "loc": { "start": { "line": 913, "column": 26 }, "end": { "line": 913, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 30349, "end": 30350, "loc": { "start": { "line": 913, "column": 29 }, "end": { "line": 913, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30350, "end": 30351, "loc": { "start": { "line": 913, "column": 30 }, "end": { "line": 913, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30361, "end": 30362, "loc": { "start": { "line": 914, "column": 8 }, "end": { "line": 914, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30372, "end": 30374, "loc": { "start": { "line": 915, "column": 8 }, "end": { "line": 915, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30375, "end": 30376, "loc": { "start": { "line": 915, "column": 11 }, "end": { "line": 915, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 30376, "end": 30384, "loc": { "start": { "line": 915, "column": 12 }, "end": { "line": 915, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30384, "end": 30385, "loc": { "start": { "line": 915, "column": 20 }, "end": { "line": 915, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 30385, "end": 30386, "loc": { "start": { "line": 915, "column": 21 }, "end": { "line": 915, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 30387, "end": 30388, "loc": { "start": { "line": 915, "column": 23 }, "end": { "line": 915, "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": 30389, "end": 30393, "loc": { "start": { "line": 915, "column": 25 }, "end": { "line": 915, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30393, "end": 30394, "loc": { "start": { "line": 915, "column": 29 }, "end": { "line": 915, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 30394, "end": 30398, "loc": { "start": { "line": 915, "column": 30 }, "end": { "line": 915, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30398, "end": 30399, "loc": { "start": { "line": 915, "column": 34 }, "end": { "line": 915, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 30399, "end": 30409, "loc": { "start": { "line": 915, "column": 35 }, "end": { "line": 915, "column": 45 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 30410, "end": 30411, "loc": { "start": { "line": 915, "column": 46 }, "end": { "line": 915, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panAreaPixels", "start": 30412, "end": 30425, "loc": { "start": { "line": 915, "column": 48 }, "end": { "line": 915, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30425, "end": 30426, "loc": { "start": { "line": 915, "column": 61 }, "end": { "line": 915, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30427, "end": 30428, "loc": { "start": { "line": 915, "column": 63 }, "end": { "line": 915, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30442, "end": 30453, "loc": { "start": { "line": 916, "column": 12 }, "end": { "line": 916, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30453, "end": 30454, "loc": { "start": { "line": 916, "column": 23 }, "end": { "line": 916, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 30454, "end": 30455, "loc": { "start": { "line": 916, "column": 24 }, "end": { "line": 916, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 30456, "end": 30458, "loc": { "start": { "line": 916, "column": 26 }, "end": { "line": 916, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 30459, "end": 30460, "loc": { "start": { "line": 916, "column": 29 }, "end": { "line": 916, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30460, "end": 30461, "loc": { "start": { "line": 916, "column": 30 }, "end": { "line": 916, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30471, "end": 30472, "loc": { "start": { "line": 917, "column": 8 }, "end": { "line": 917, "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": 30484, "end": 30488, "loc": { "start": { "line": 919, "column": 8 }, "end": { "line": 919, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30488, "end": 30489, "loc": { "start": { "line": 919, "column": 12 }, "end": { "line": 919, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 30489, "end": 30495, "loc": { "start": { "line": 919, "column": 13 }, "end": { "line": 919, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30496, "end": 30497, "loc": { "start": { "line": 919, "column": 20 }, "end": { "line": 919, "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": 30498, "end": 30502, "loc": { "start": { "line": 919, "column": 22 }, "end": { "line": 919, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30502, "end": 30503, "loc": { "start": { "line": 919, "column": 26 }, "end": { "line": 919, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 30503, "end": 30509, "loc": { "start": { "line": 919, "column": 27 }, "end": { "line": 919, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30509, "end": 30510, "loc": { "start": { "line": 919, "column": 33 }, "end": { "line": 919, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 30510, "end": 30513, "loc": { "start": { "line": 919, "column": 34 }, "end": { "line": 919, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30513, "end": 30514, "loc": { "start": { "line": 919, "column": 37 }, "end": { "line": 919, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "panVelocity", "start": 30528, "end": 30539, "loc": { "start": { "line": 920, "column": 12 }, "end": { "line": 920, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30539, "end": 30540, "loc": { "start": { "line": 920, "column": 23 }, "end": { "line": 920, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 30540, "end": 30554, "loc": { "start": { "line": 920, "column": 24 }, "end": { "line": 920, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30554, "end": 30555, "loc": { "start": { "line": 920, "column": 38 }, "end": { "line": 920, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30573, "end": 30574, "loc": { "start": { "line": 921, "column": 16 }, "end": { "line": 921, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30574, "end": 30575, "loc": { "start": { "line": 921, "column": 17 }, "end": { "line": 921, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 30575, "end": 30578, "loc": { "start": { "line": 921, "column": 18 }, "end": { "line": 921, "column": 21 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 30579, "end": 30580, "loc": { "start": { "line": 921, "column": 22 }, "end": { "line": 921, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 30581, "end": 30583, "loc": { "start": { "line": 921, "column": 24 }, "end": { "line": 921, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30583, "end": 30584, "loc": { "start": { "line": 921, "column": 26 }, "end": { "line": 921, "column": 27 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 30585, "end": 30586, "loc": { "start": { "line": 921, "column": 28 }, "end": { "line": 921, "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": 30587, "end": 30591, "loc": { "start": { "line": 921, "column": 30 }, "end": { "line": 921, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30591, "end": 30592, "loc": { "start": { "line": 921, "column": 34 }, "end": { "line": 921, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 30592, "end": 30601, "loc": { "start": { "line": 921, "column": 35 }, "end": { "line": 921, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30601, "end": 30602, "loc": { "start": { "line": 921, "column": 44 }, "end": { "line": 921, "column": 45 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 30603, "end": 30604, "loc": { "start": { "line": 921, "column": 46 }, "end": { "line": 921, "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": 30605, "end": 30609, "loc": { "start": { "line": 921, "column": 48 }, "end": { "line": 921, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30609, "end": 30610, "loc": { "start": { "line": 921, "column": 52 }, "end": { "line": 921, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 30610, "end": 30614, "loc": { "start": { "line": 921, "column": 53 }, "end": { "line": 921, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30614, "end": 30615, "loc": { "start": { "line": 921, "column": 57 }, "end": { "line": 921, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 30615, "end": 30618, "loc": { "start": { "line": 921, "column": 58 }, "end": { "line": 921, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30618, "end": 30619, "loc": { "start": { "line": 921, "column": 61 }, "end": { "line": 921, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 30619, "end": 30627, "loc": { "start": { "line": 921, "column": 62 }, "end": { "line": 921, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30627, "end": 30628, "loc": { "start": { "line": 921, "column": 70 }, "end": { "line": 921, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMovementSpeed", "start": 30628, "end": 30644, "loc": { "start": { "line": 921, "column": 71 }, "end": { "line": 921, "column": 87 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30644, "end": 30645, "loc": { "start": { "line": 921, "column": 87 }, "end": { "line": 921, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30645, "end": 30646, "loc": { "start": { "line": 921, "column": 88 }, "end": { "line": 921, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30660, "end": 30661, "loc": { "start": { "line": 922, "column": 12 }, "end": { "line": 922, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30671, "end": 30672, "loc": { "start": { "line": 923, "column": 8 }, "end": { "line": 923, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30672, "end": 30673, "loc": { "start": { "line": 923, "column": 9 }, "end": { "line": 923, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30679, "end": 30680, "loc": { "start": { "line": 924, "column": 4 }, "end": { "line": 924, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction zooming\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 30688, "end": 30835, "loc": { "start": { "line": 926, "column": 4 }, "end": { "line": 930, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateZooming", "start": 30841, "end": 30862, "loc": { "start": { "line": 931, "column": 4 }, "end": { "line": 931, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30862, "end": 30863, "loc": { "start": { "line": 931, "column": 25 }, "end": { "line": 931, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 30863, "end": 30866, "loc": { "start": { "line": 931, "column": 26 }, "end": { "line": 931, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30866, "end": 30867, "loc": { "start": { "line": 931, "column": 29 }, "end": { "line": 931, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 30868, "end": 30870, "loc": { "start": { "line": 931, "column": 31 }, "end": { "line": 931, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30870, "end": 30871, "loc": { "start": { "line": 931, "column": 33 }, "end": { "line": 931, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30872, "end": 30873, "loc": { "start": { "line": 931, "column": 35 }, "end": { "line": 931, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 30883, "end": 30885, "loc": { "start": { "line": 932, "column": 8 }, "end": { "line": 932, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30886, "end": 30887, "loc": { "start": { "line": 932, "column": 11 }, "end": { "line": 932, "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": 30887, "end": 30888, "loc": { "start": { "line": 932, "column": 12 }, "end": { "line": 932, "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": 30888, "end": 30892, "loc": { "start": { "line": 932, "column": 13 }, "end": { "line": 932, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30892, "end": 30893, "loc": { "start": { "line": 932, "column": 17 }, "end": { "line": 932, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyPinching", "start": 30893, "end": 30910, "loc": { "start": { "line": 932, "column": 18 }, "end": { "line": 932, "column": 35 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 30911, "end": 30913, "loc": { "start": { "line": 932, "column": 36 }, "end": { "line": 932, "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": 30914, "end": 30918, "loc": { "start": { "line": 932, "column": 39 }, "end": { "line": 932, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30918, "end": 30919, "loc": { "start": { "line": 932, "column": 43 }, "end": { "line": 932, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 30919, "end": 30930, "loc": { "start": { "line": 932, "column": 44 }, "end": { "line": 932, "column": 55 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 30931, "end": 30934, "loc": { "start": { "line": 932, "column": 56 }, "end": { "line": 932, "column": 59 } } }, { "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": 30935, "end": 30939, "loc": { "start": { "line": 932, "column": 60 }, "end": { "line": 932, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30939, "end": 30940, "loc": { "start": { "line": 932, "column": 64 }, "end": { "line": 932, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30941, "end": 30942, "loc": { "start": { "line": 932, "column": 66 }, "end": { "line": 932, "column": 67 } } }, { "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": 30956, "end": 30961, "loc": { "start": { "line": 933, "column": 12 }, "end": { "line": 933, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 30962, "end": 30966, "loc": { "start": { "line": 933, "column": 18 }, "end": { "line": 933, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30967, "end": 30968, "loc": { "start": { "line": 933, "column": 23 }, "end": { "line": 933, "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": 30969, "end": 30973, "loc": { "start": { "line": 933, "column": 25 }, "end": { "line": 933, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30973, "end": 30974, "loc": { "start": { "line": 933, "column": 29 }, "end": { "line": 933, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 30974, "end": 30983, "loc": { "start": { "line": 933, "column": 30 }, "end": { "line": 933, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 30984, "end": 30985, "loc": { "start": { "line": 933, "column": 40 }, "end": { "line": 933, "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": 30986, "end": 30990, "loc": { "start": { "line": 933, "column": 42 }, "end": { "line": 933, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 30990, "end": 30991, "loc": { "start": { "line": 933, "column": 46 }, "end": { "line": 933, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 30991, "end": 31002, "loc": { "start": { "line": 933, "column": 47 }, "end": { "line": 933, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31002, "end": 31003, "loc": { "start": { "line": 933, "column": 58 }, "end": { "line": 933, "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": 31017, "end": 31019, "loc": { "start": { "line": 934, "column": 12 }, "end": { "line": 934, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31020, "end": 31021, "loc": { "start": { "line": 934, "column": 15 }, "end": { "line": 934, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 31021, "end": 31025, "loc": { "start": { "line": 934, "column": 16 }, "end": { "line": 934, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31025, "end": 31026, "loc": { "start": { "line": 934, "column": 20 }, "end": { "line": 934, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abs", "start": 31026, "end": 31029, "loc": { "start": { "line": 934, "column": 21 }, "end": { "line": 934, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31029, "end": 31030, "loc": { "start": { "line": 934, "column": 24 }, "end": { "line": 934, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 31030, "end": 31034, "loc": { "start": { "line": 934, "column": 25 }, "end": { "line": 934, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31034, "end": 31035, "loc": { "start": { "line": 934, "column": 29 }, "end": { "line": 934, "column": 30 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 31036, "end": 31037, "loc": { "start": { "line": 934, "column": 31 }, "end": { "line": 934, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.0001, "start": 31038, "end": 31044, "loc": { "start": { "line": 934, "column": 33 }, "end": { "line": 934, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31044, "end": 31045, "loc": { "start": { "line": 934, "column": 39 }, "end": { "line": 934, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31046, "end": 31047, "loc": { "start": { "line": 934, "column": 41 }, "end": { "line": 934, "column": 42 } } }, { "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": 31065, "end": 31068, "loc": { "start": { "line": 935, "column": 16 }, "end": { "line": 935, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31069, "end": 31073, "loc": { "start": { "line": 935, "column": 20 }, "end": { "line": 935, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 31074, "end": 31075, "loc": { "start": { "line": 935, "column": 25 }, "end": { "line": 935, "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.94, "start": 31076, "end": 31080, "loc": { "start": { "line": 935, "column": 27 }, "end": { "line": 935, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31080, "end": 31081, "loc": { "start": { "line": 935, "column": 31 }, "end": { "line": 935, "column": 32 } } }, { "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": 31099, "end": 31101, "loc": { "start": { "line": 936, "column": 16 }, "end": { "line": 936, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31102, "end": 31103, "loc": { "start": { "line": 936, "column": 19 }, "end": { "line": 936, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 31103, "end": 31107, "loc": { "start": { "line": 936, "column": 20 }, "end": { "line": 936, "column": 24 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 31108, "end": 31109, "loc": { "start": { "line": 936, "column": 25 }, "end": { "line": 936, "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": 31110, "end": 31111, "loc": { "start": { "line": 936, "column": 27 }, "end": { "line": 936, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31111, "end": 31112, "loc": { "start": { "line": 936, "column": 28 }, "end": { "line": 936, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31113, "end": 31114, "loc": { "start": { "line": 936, "column": 30 }, "end": { "line": 936, "column": 31 } } }, { "type": "CommentLine", "value": " Zoom out faster than in", "start": 31136, "end": 31162, "loc": { "start": { "line": 937, "column": 20 }, "end": { "line": 937, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31184, "end": 31188, "loc": { "start": { "line": 938, "column": 20 }, "end": { "line": 938, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 31189, "end": 31190, "loc": { "start": { "line": 938, "column": 25 }, "end": { "line": 938, "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.9, "start": 31191, "end": 31194, "loc": { "start": { "line": 938, "column": 27 }, "end": { "line": 938, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31194, "end": 31195, "loc": { "start": { "line": 938, "column": 30 }, "end": { "line": 938, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31213, "end": 31214, "loc": { "start": { "line": 939, "column": 16 }, "end": { "line": 939, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 31234, "end": 31240, "loc": { "start": { "line": 941, "column": 16 }, "end": { "line": 941, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31240, "end": 31241, "loc": { "start": { "line": 941, "column": 22 }, "end": { "line": 941, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 31241, "end": 31247, "loc": { "start": { "line": 941, "column": 23 }, "end": { "line": 941, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31247, "end": 31248, "loc": { "start": { "line": 941, "column": 29 }, "end": { "line": 941, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 31248, "end": 31256, "loc": { "start": { "line": 941, "column": 30 }, "end": { "line": 941, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31256, "end": 31257, "loc": { "start": { "line": 941, "column": 38 }, "end": { "line": 941, "column": 39 } } }, { "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": 31257, "end": 31261, "loc": { "start": { "line": 941, "column": 39 }, "end": { "line": 941, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31261, "end": 31262, "loc": { "start": { "line": 941, "column": 43 }, "end": { "line": 941, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 31262, "end": 31273, "loc": { "start": { "line": 941, "column": 44 }, "end": { "line": 941, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31273, "end": 31274, "loc": { "start": { "line": 941, "column": 55 }, "end": { "line": 941, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31274, "end": 31275, "loc": { "start": { "line": 941, "column": 56 }, "end": { "line": 941, "column": 57 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Desired zoom is NaN: ", "start": 31276, "end": 31299, "loc": { "start": { "line": 941, "column": 58 }, "end": { "line": 941, "column": 81 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 31300, "end": 31301, "loc": { "start": { "line": 941, "column": 82 }, "end": { "line": 941, "column": 83 } } }, { "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": 31302, "end": 31306, "loc": { "start": { "line": 941, "column": 84 }, "end": { "line": 941, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31306, "end": 31307, "loc": { "start": { "line": 941, "column": 88 }, "end": { "line": 941, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 31307, "end": 31318, "loc": { "start": { "line": 941, "column": 89 }, "end": { "line": 941, "column": 100 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31318, "end": 31319, "loc": { "start": { "line": 941, "column": 100 }, "end": { "line": 941, "column": 101 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31319, "end": 31320, "loc": { "start": { "line": 941, "column": 101 }, "end": { "line": 941, "column": 102 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 31338, "end": 31344, "loc": { "start": { "line": 942, "column": 16 }, "end": { "line": 942, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31344, "end": 31345, "loc": { "start": { "line": 942, "column": 22 }, "end": { "line": 942, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 31345, "end": 31351, "loc": { "start": { "line": 942, "column": 23 }, "end": { "line": 942, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31351, "end": 31352, "loc": { "start": { "line": 942, "column": 29 }, "end": { "line": 942, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 31352, "end": 31360, "loc": { "start": { "line": 942, "column": 30 }, "end": { "line": 942, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31360, "end": 31361, "loc": { "start": { "line": 942, "column": 38 }, "end": { "line": 942, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31361, "end": 31365, "loc": { "start": { "line": 942, "column": 39 }, "end": { "line": 942, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31365, "end": 31366, "loc": { "start": { "line": 942, "column": 43 }, "end": { "line": 942, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31366, "end": 31367, "loc": { "start": { "line": 942, "column": 44 }, "end": { "line": 942, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Zoom fade is NaN: ", "start": 31368, "end": 31388, "loc": { "start": { "line": 942, "column": 46 }, "end": { "line": 942, "column": 66 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 31389, "end": 31390, "loc": { "start": { "line": 942, "column": 67 }, "end": { "line": 942, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31391, "end": 31395, "loc": { "start": { "line": 942, "column": 69 }, "end": { "line": 942, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31395, "end": 31396, "loc": { "start": { "line": 942, "column": 73 }, "end": { "line": 942, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31396, "end": 31397, "loc": { "start": { "line": 942, "column": 74 }, "end": { "line": 942, "column": 75 } } }, { "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": 31415, "end": 31419, "loc": { "start": { "line": 943, "column": 16 }, "end": { "line": 943, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31419, "end": 31420, "loc": { "start": { "line": 943, "column": 20 }, "end": { "line": 943, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 31420, "end": 31429, "loc": { "start": { "line": 943, "column": 21 }, "end": { "line": 943, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 31430, "end": 31431, "loc": { "start": { "line": 943, "column": 31 }, "end": { "line": 943, "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": 31432, "end": 31436, "loc": { "start": { "line": 943, "column": 33 }, "end": { "line": 943, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31436, "end": 31437, "loc": { "start": { "line": 943, "column": 37 }, "end": { "line": 943, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 31437, "end": 31446, "loc": { "start": { "line": 943, "column": 38 }, "end": { "line": 943, "column": 47 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 31447, "end": 31448, "loc": { "start": { "line": 943, "column": 48 }, "end": { "line": 943, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31449, "end": 31453, "loc": { "start": { "line": 943, "column": 50 }, "end": { "line": 943, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 31454, "end": 31455, "loc": { "start": { "line": 943, "column": 55 }, "end": { "line": 943, "column": 56 } } }, { "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": 31456, "end": 31460, "loc": { "start": { "line": 943, "column": 57 }, "end": { "line": 943, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31460, "end": 31461, "loc": { "start": { "line": 943, "column": 61 }, "end": { "line": 943, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 31461, "end": 31472, "loc": { "start": { "line": 943, "column": 62 }, "end": { "line": 943, "column": 73 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 31473, "end": 31474, "loc": { "start": { "line": 943, "column": 74 }, "end": { "line": 943, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31475, "end": 31476, "loc": { "start": { "line": 943, "column": 76 }, "end": { "line": 943, "column": 77 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 31476, "end": 31477, "loc": { "start": { "line": 943, "column": 77 }, "end": { "line": 943, "column": 78 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 31478, "end": 31479, "loc": { "start": { "line": 943, "column": 79 }, "end": { "line": 943, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fade", "start": 31480, "end": 31484, "loc": { "start": { "line": 943, "column": 81 }, "end": { "line": 943, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31484, "end": 31485, "loc": { "start": { "line": 943, "column": 85 }, "end": { "line": 943, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31485, "end": 31486, "loc": { "start": { "line": 943, "column": 86 }, "end": { "line": 943, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 31504, "end": 31510, "loc": { "start": { "line": 944, "column": 16 }, "end": { "line": 944, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31510, "end": 31511, "loc": { "start": { "line": 944, "column": 22 }, "end": { "line": 944, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 31511, "end": 31517, "loc": { "start": { "line": 944, "column": 23 }, "end": { "line": 944, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31517, "end": 31518, "loc": { "start": { "line": 944, "column": 29 }, "end": { "line": 944, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isFinite", "start": 31518, "end": 31526, "loc": { "start": { "line": 944, "column": 30 }, "end": { "line": 944, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31526, "end": 31527, "loc": { "start": { "line": 944, "column": 38 }, "end": { "line": 944, "column": 39 } } }, { "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": 31527, "end": 31531, "loc": { "start": { "line": 944, "column": 39 }, "end": { "line": 944, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31531, "end": 31532, "loc": { "start": { "line": 944, "column": 43 }, "end": { "line": 944, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 31532, "end": 31541, "loc": { "start": { "line": 944, "column": 44 }, "end": { "line": 944, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31541, "end": 31542, "loc": { "start": { "line": 944, "column": 53 }, "end": { "line": 944, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31542, "end": 31543, "loc": { "start": { "line": 944, "column": 54 }, "end": { "line": 944, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Zoom level is NaN after fade: ", "start": 31544, "end": 31576, "loc": { "start": { "line": 944, "column": 56 }, "end": { "line": 944, "column": 88 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 31577, "end": 31578, "loc": { "start": { "line": 944, "column": 89 }, "end": { "line": 944, "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": 31579, "end": 31583, "loc": { "start": { "line": 944, "column": 91 }, "end": { "line": 944, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31583, "end": 31584, "loc": { "start": { "line": 944, "column": 95 }, "end": { "line": 944, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 31584, "end": 31593, "loc": { "start": { "line": 944, "column": 96 }, "end": { "line": 944, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31593, "end": 31594, "loc": { "start": { "line": 944, "column": 105 }, "end": { "line": 944, "column": 106 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31594, "end": 31595, "loc": { "start": { "line": 944, "column": 106 }, "end": { "line": 944, "column": 107 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31609, "end": 31610, "loc": { "start": { "line": 945, "column": 12 }, "end": { "line": 945, "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": 31611, "end": 31615, "loc": { "start": { "line": 945, "column": 14 }, "end": { "line": 945, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31616, "end": 31617, "loc": { "start": { "line": 945, "column": 19 }, "end": { "line": 945, "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": 31635, "end": 31639, "loc": { "start": { "line": 946, "column": 16 }, "end": { "line": 946, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31639, "end": 31640, "loc": { "start": { "line": 946, "column": 20 }, "end": { "line": 946, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 31640, "end": 31649, "loc": { "start": { "line": 946, "column": 21 }, "end": { "line": 946, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 31650, "end": 31651, "loc": { "start": { "line": 946, "column": 31 }, "end": { "line": 946, "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": 31652, "end": 31656, "loc": { "start": { "line": 946, "column": 33 }, "end": { "line": 946, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31656, "end": 31657, "loc": { "start": { "line": 946, "column": 37 }, "end": { "line": 946, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 31657, "end": 31668, "loc": { "start": { "line": 946, "column": 38 }, "end": { "line": 946, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31668, "end": 31669, "loc": { "start": { "line": 946, "column": 49 }, "end": { "line": 946, "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": 31687, "end": 31691, "loc": { "start": { "line": 947, "column": 16 }, "end": { "line": 947, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31691, "end": 31692, "loc": { "start": { "line": 947, "column": 20 }, "end": { "line": 947, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredZoom", "start": 31692, "end": 31703, "loc": { "start": { "line": 947, "column": 21 }, "end": { "line": 947, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 31704, "end": 31705, "loc": { "start": { "line": 947, "column": 33 }, "end": { "line": 947, "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": 31706, "end": 31710, "loc": { "start": { "line": 947, "column": 35 }, "end": { "line": 947, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31710, "end": 31711, "loc": { "start": { "line": 947, "column": 39 }, "end": { "line": 947, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31725, "end": 31726, "loc": { "start": { "line": 948, "column": 12 }, "end": { "line": 948, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31736, "end": 31737, "loc": { "start": { "line": 949, "column": 8 }, "end": { "line": 949, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31743, "end": 31744, "loc": { "start": { "line": 950, "column": 4 }, "end": { "line": 950, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the non user interaction centering\r\n * @param {number} now Time now in seconds\r\n * @param {number} dt Delta time\r\n ", "start": 31752, "end": 31901, "loc": { "start": { "line": 952, "column": 4 }, "end": { "line": 956, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateCentering", "start": 31907, "end": 31930, "loc": { "start": { "line": 957, "column": 4 }, "end": { "line": 957, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31930, "end": 31931, "loc": { "start": { "line": 957, "column": 27 }, "end": { "line": 957, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 31931, "end": 31934, "loc": { "start": { "line": 957, "column": 28 }, "end": { "line": 957, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31934, "end": 31935, "loc": { "start": { "line": 957, "column": 31 }, "end": { "line": 957, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 31936, "end": 31938, "loc": { "start": { "line": 957, "column": 33 }, "end": { "line": 957, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31938, "end": 31939, "loc": { "start": { "line": 957, "column": 35 }, "end": { "line": 957, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31940, "end": 31941, "loc": { "start": { "line": 957, "column": 37 }, "end": { "line": 957, "column": 38 } } }, { "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": 31951, "end": 31953, "loc": { "start": { "line": 958, "column": 8 }, "end": { "line": 958, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 31954, "end": 31955, "loc": { "start": { "line": 958, "column": 11 }, "end": { "line": 958, "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": 31955, "end": 31956, "loc": { "start": { "line": 958, "column": 12 }, "end": { "line": 958, "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": 31956, "end": 31960, "loc": { "start": { "line": 958, "column": 13 }, "end": { "line": 958, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31960, "end": 31961, "loc": { "start": { "line": 958, "column": 17 }, "end": { "line": 958, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 31961, "end": 31976, "loc": { "start": { "line": 958, "column": 18 }, "end": { "line": 958, "column": 33 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 31977, "end": 31979, "loc": { "start": { "line": 958, "column": 34 }, "end": { "line": 958, "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": 31980, "end": 31984, "loc": { "start": { "line": 958, "column": 37 }, "end": { "line": 958, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 31984, "end": 31985, "loc": { "start": { "line": 958, "column": 41 }, "end": { "line": 958, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 31985, "end": 31998, "loc": { "start": { "line": 958, "column": 42 }, "end": { "line": 958, "column": 55 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 31999, "end": 32002, "loc": { "start": { "line": 958, "column": 56 }, "end": { "line": 958, "column": 59 } } }, { "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": 32003, "end": 32007, "loc": { "start": { "line": 958, "column": 60 }, "end": { "line": 958, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32007, "end": 32008, "loc": { "start": { "line": 958, "column": 64 }, "end": { "line": 958, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32009, "end": 32010, "loc": { "start": { "line": 958, "column": 66 }, "end": { "line": 958, "column": 67 } } }, { "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": 32024, "end": 32029, "loc": { "start": { "line": 959, "column": 12 }, "end": { "line": 959, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 32030, "end": 32034, "loc": { "start": { "line": 959, "column": 18 }, "end": { "line": 959, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32035, "end": 32036, "loc": { "start": { "line": 959, "column": 23 }, "end": { "line": 959, "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": 32037, "end": 32041, "loc": { "start": { "line": 959, "column": 25 }, "end": { "line": 959, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32041, "end": 32042, "loc": { "start": { "line": 959, "column": 29 }, "end": { "line": 959, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 32042, "end": 32048, "loc": { "start": { "line": 959, "column": 30 }, "end": { "line": 959, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32048, "end": 32049, "loc": { "start": { "line": 959, "column": 36 }, "end": { "line": 959, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "direction", "start": 32049, "end": 32058, "loc": { "start": { "line": 959, "column": 37 }, "end": { "line": 959, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32058, "end": 32059, "loc": { "start": { "line": 959, "column": 46 }, "end": { "line": 959, "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": 32059, "end": 32063, "loc": { "start": { "line": 959, "column": 47 }, "end": { "line": 959, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32063, "end": 32064, "loc": { "start": { "line": 959, "column": 51 }, "end": { "line": 959, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 32064, "end": 32077, "loc": { "start": { "line": 959, "column": 52 }, "end": { "line": 959, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32077, "end": 32078, "loc": { "start": { "line": 959, "column": 65 }, "end": { "line": 959, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32078, "end": 32079, "loc": { "start": { "line": 959, "column": 66 }, "end": { "line": 959, "column": 67 } } }, { "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": 32093, "end": 32098, "loc": { "start": { "line": 960, "column": 12 }, "end": { "line": 960, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 32099, "end": 32105, "loc": { "start": { "line": 960, "column": 18 }, "end": { "line": 960, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32106, "end": 32107, "loc": { "start": { "line": 960, "column": 25 }, "end": { "line": 960, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 32108, "end": 32112, "loc": { "start": { "line": 960, "column": 27 }, "end": { "line": 960, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32112, "end": 32113, "loc": { "start": { "line": 960, "column": 31 }, "end": { "line": 960, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 32113, "end": 32119, "loc": { "start": { "line": 960, "column": 32 }, "end": { "line": 960, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32119, "end": 32120, "loc": { "start": { "line": 960, "column": 38 }, "end": { "line": 960, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32120, "end": 32121, "loc": { "start": { "line": 960, "column": 39 }, "end": { "line": 960, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32121, "end": 32122, "loc": { "start": { "line": 960, "column": 40 }, "end": { "line": 960, "column": 41 } } }, { "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": 32136, "end": 32141, "loc": { "start": { "line": 961, "column": 12 }, "end": { "line": 961, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tolerance", "start": 32142, "end": 32151, "loc": { "start": { "line": 961, "column": 18 }, "end": { "line": 961, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32152, "end": 32153, "loc": { "start": { "line": 961, "column": 28 }, "end": { "line": 961, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 32154, "end": 32155, "loc": { "start": { "line": 961, "column": 30 }, "end": { "line": 961, "column": 31 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 32156, "end": 32157, "loc": { "start": { "line": 961, "column": 32 }, "end": { "line": 961, "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": 32158, "end": 32162, "loc": { "start": { "line": 961, "column": 34 }, "end": { "line": 961, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32162, "end": 32163, "loc": { "start": { "line": 961, "column": 38 }, "end": { "line": 961, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 32163, "end": 32172, "loc": { "start": { "line": 961, "column": 39 }, "end": { "line": 961, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32172, "end": 32173, "loc": { "start": { "line": 961, "column": 48 }, "end": { "line": 961, "column": 49 } } }, { "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": 32187, "end": 32189, "loc": { "start": { "line": 962, "column": 12 }, "end": { "line": 962, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32190, "end": 32191, "loc": { "start": { "line": 962, "column": 15 }, "end": { "line": 962, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 32191, "end": 32197, "loc": { "start": { "line": 962, "column": 16 }, "end": { "line": 962, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 32198, "end": 32199, "loc": { "start": { "line": 962, "column": 23 }, "end": { "line": 962, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tolerance", "start": 32200, "end": 32209, "loc": { "start": { "line": 962, "column": 25 }, "end": { "line": 962, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32209, "end": 32210, "loc": { "start": { "line": 962, "column": 34 }, "end": { "line": 962, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32211, "end": 32212, "loc": { "start": { "line": 962, "column": 36 }, "end": { "line": 962, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 32230, "end": 32235, "loc": { "start": { "line": 963, "column": 16 }, "end": { "line": 963, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 32236, "end": 32244, "loc": { "start": { "line": 963, "column": 22 }, "end": { "line": 963, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32245, "end": 32246, "loc": { "start": { "line": 963, "column": 31 }, "end": { "line": 963, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 32247, "end": 32251, "loc": { "start": { "line": 963, "column": 33 }, "end": { "line": 963, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32251, "end": 32252, "loc": { "start": { "line": 963, "column": 37 }, "end": { "line": 963, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "multiplyScalar", "start": 32252, "end": 32266, "loc": { "start": { "line": 963, "column": 38 }, "end": { "line": 963, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32266, "end": 32267, "loc": { "start": { "line": 963, "column": 52 }, "end": { "line": 963, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 32267, "end": 32271, "loc": { "start": { "line": 963, "column": 53 }, "end": { "line": 963, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32271, "end": 32272, "loc": { "start": { "line": 963, "column": 57 }, "end": { "line": 963, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 32272, "end": 32275, "loc": { "start": { "line": 963, "column": 58 }, "end": { "line": 963, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32275, "end": 32276, "loc": { "start": { "line": 963, "column": 61 }, "end": { "line": 963, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 32276, "end": 32277, "loc": { "start": { "line": 963, "column": 62 }, "end": { "line": 963, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32277, "end": 32278, "loc": { "start": { "line": 963, "column": 63 }, "end": { "line": 963, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 32279, "end": 32281, "loc": { "start": { "line": 963, "column": 65 }, "end": { "line": 963, "column": 67 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 32282, "end": 32283, "loc": { "start": { "line": 963, "column": 68 }, "end": { "line": 963, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.008, "start": 32284, "end": 32289, "loc": { "start": { "line": 963, "column": 70 }, "end": { "line": 963, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32289, "end": 32290, "loc": { "start": { "line": 963, "column": 75 }, "end": { "line": 963, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32290, "end": 32291, "loc": { "start": { "line": 963, "column": 76 }, "end": { "line": 963, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32291, "end": 32292, "loc": { "start": { "line": 963, "column": 77 }, "end": { "line": 963, "column": 78 } } }, { "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": 32310, "end": 32314, "loc": { "start": { "line": 964, "column": 16 }, "end": { "line": 964, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32314, "end": 32315, "loc": { "start": { "line": 964, "column": 20 }, "end": { "line": 964, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 32315, "end": 32321, "loc": { "start": { "line": 964, "column": 21 }, "end": { "line": 964, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32321, "end": 32322, "loc": { "start": { "line": 964, "column": 27 }, "end": { "line": 964, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 32322, "end": 32323, "loc": { "start": { "line": 964, "column": 28 }, "end": { "line": 964, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 32324, "end": 32326, "loc": { "start": { "line": 964, "column": 30 }, "end": { "line": 964, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 32327, "end": 32335, "loc": { "start": { "line": 964, "column": 33 }, "end": { "line": 964, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32335, "end": 32336, "loc": { "start": { "line": 964, "column": 41 }, "end": { "line": 964, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 32336, "end": 32337, "loc": { "start": { "line": 964, "column": 42 }, "end": { "line": 964, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32337, "end": 32338, "loc": { "start": { "line": 964, "column": 43 }, "end": { "line": 964, "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": 32356, "end": 32360, "loc": { "start": { "line": 965, "column": 16 }, "end": { "line": 965, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32360, "end": 32361, "loc": { "start": { "line": 965, "column": 20 }, "end": { "line": 965, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 32361, "end": 32367, "loc": { "start": { "line": 965, "column": 21 }, "end": { "line": 965, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32367, "end": 32368, "loc": { "start": { "line": 965, "column": 27 }, "end": { "line": 965, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 32368, "end": 32369, "loc": { "start": { "line": 965, "column": 28 }, "end": { "line": 965, "column": 29 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 32370, "end": 32372, "loc": { "start": { "line": 965, "column": 30 }, "end": { "line": 965, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movement", "start": 32373, "end": 32381, "loc": { "start": { "line": 965, "column": 33 }, "end": { "line": 965, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32381, "end": 32382, "loc": { "start": { "line": 965, "column": 41 }, "end": { "line": 965, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 32382, "end": 32383, "loc": { "start": { "line": 965, "column": 42 }, "end": { "line": 965, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32383, "end": 32384, "loc": { "start": { "line": 965, "column": 43 }, "end": { "line": 965, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32398, "end": 32399, "loc": { "start": { "line": 966, "column": 12 }, "end": { "line": 966, "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": 32400, "end": 32404, "loc": { "start": { "line": 966, "column": 14 }, "end": { "line": 966, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32405, "end": 32406, "loc": { "start": { "line": 966, "column": 19 }, "end": { "line": 966, "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": 32424, "end": 32428, "loc": { "start": { "line": 967, "column": 16 }, "end": { "line": 967, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32428, "end": 32429, "loc": { "start": { "line": 967, "column": 20 }, "end": { "line": 967, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 32429, "end": 32442, "loc": { "start": { "line": 967, "column": 21 }, "end": { "line": 967, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32443, "end": 32444, "loc": { "start": { "line": 967, "column": 35 }, "end": { "line": 967, "column": 36 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 32445, "end": 32449, "loc": { "start": { "line": 967, "column": 37 }, "end": { "line": 967, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32449, "end": 32450, "loc": { "start": { "line": 967, "column": 41 }, "end": { "line": 967, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32464, "end": 32465, "loc": { "start": { "line": 968, "column": 12 }, "end": { "line": 968, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32475, "end": 32476, "loc": { "start": { "line": 969, "column": 8 }, "end": { "line": 969, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32482, "end": 32483, "loc": { "start": { "line": 970, "column": 4 }, "end": { "line": 970, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Updates the keyboard forces\r\n * @param {number} now\r\n * @param {number} dt Delta time\r\n ", "start": 32491, "end": 32605, "loc": { "start": { "line": 972, "column": 4 }, "end": { "line": 976, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalUpdateKeyboardForce", "start": 32611, "end": 32638, "loc": { "start": { "line": 977, "column": 4 }, "end": { "line": 977, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32638, "end": 32639, "loc": { "start": { "line": 977, "column": 31 }, "end": { "line": 977, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 32639, "end": 32642, "loc": { "start": { "line": 977, "column": 32 }, "end": { "line": 977, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32642, "end": 32643, "loc": { "start": { "line": 977, "column": 35 }, "end": { "line": 977, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 32644, "end": 32646, "loc": { "start": { "line": 977, "column": 37 }, "end": { "line": 977, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32646, "end": 32647, "loc": { "start": { "line": 977, "column": 39 }, "end": { "line": 977, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32648, "end": 32649, "loc": { "start": { "line": 977, "column": 41 }, "end": { "line": 977, "column": 42 } } }, { "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": 32659, "end": 32661, "loc": { "start": { "line": 978, "column": 8 }, "end": { "line": 978, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32662, "end": 32663, "loc": { "start": { "line": 978, "column": 11 }, "end": { "line": 978, "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": 32663, "end": 32664, "loc": { "start": { "line": 978, "column": 12 }, "end": { "line": 978, "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": 32664, "end": 32668, "loc": { "start": { "line": 978, "column": 13 }, "end": { "line": 978, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32668, "end": 32669, "loc": { "start": { "line": 978, "column": 17 }, "end": { "line": 978, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentlyMoving", "start": 32669, "end": 32684, "loc": { "start": { "line": 978, "column": 18 }, "end": { "line": 978, "column": 33 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 32685, "end": 32687, "loc": { "start": { "line": 978, "column": 34 }, "end": { "line": 978, "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": 32688, "end": 32692, "loc": { "start": { "line": 978, "column": 37 }, "end": { "line": 978, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32692, "end": 32693, "loc": { "start": { "line": 978, "column": 41 }, "end": { "line": 978, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredCenter", "start": 32693, "end": 32706, "loc": { "start": { "line": 978, "column": 42 }, "end": { "line": 978, "column": 55 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 32707, "end": 32709, "loc": { "start": { "line": 978, "column": 56 }, "end": { "line": 978, "column": 58 } } }, { "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": 32710, "end": 32714, "loc": { "start": { "line": 978, "column": 59 }, "end": { "line": 978, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32714, "end": 32715, "loc": { "start": { "line": 978, "column": 63 }, "end": { "line": 978, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32716, "end": 32717, "loc": { "start": { "line": 978, "column": 65 }, "end": { "line": 978, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 32731, "end": 32736, "loc": { "start": { "line": 979, "column": 12 }, "end": { "line": 979, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "limitingDimension", "start": 32737, "end": 32754, "loc": { "start": { "line": 979, "column": 18 }, "end": { "line": 979, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32755, "end": 32756, "loc": { "start": { "line": 979, "column": 36 }, "end": { "line": 979, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 32757, "end": 32761, "loc": { "start": { "line": 979, "column": 38 }, "end": { "line": 979, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32761, "end": 32762, "loc": { "start": { "line": 979, "column": 42 }, "end": { "line": 979, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 32762, "end": 32765, "loc": { "start": { "line": 979, "column": 43 }, "end": { "line": 979, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32765, "end": 32766, "loc": { "start": { "line": 979, "column": 46 }, "end": { "line": 979, "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": 32766, "end": 32770, "loc": { "start": { "line": 979, "column": 47 }, "end": { "line": 979, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32770, "end": 32771, "loc": { "start": { "line": 979, "column": 51 }, "end": { "line": 979, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 32771, "end": 32775, "loc": { "start": { "line": 979, "column": 52 }, "end": { "line": 979, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32775, "end": 32776, "loc": { "start": { "line": 979, "column": 56 }, "end": { "line": 979, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameWidth", "start": 32776, "end": 32785, "loc": { "start": { "line": 979, "column": 57 }, "end": { "line": 979, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32785, "end": 32786, "loc": { "start": { "line": 979, "column": 66 }, "end": { "line": 979, "column": 67 } } }, { "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": 32787, "end": 32791, "loc": { "start": { "line": 979, "column": 68 }, "end": { "line": 979, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32791, "end": 32792, "loc": { "start": { "line": 979, "column": 72 }, "end": { "line": 979, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 32792, "end": 32796, "loc": { "start": { "line": 979, "column": 73 }, "end": { "line": 979, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32796, "end": 32797, "loc": { "start": { "line": 979, "column": 77 }, "end": { "line": 979, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameHeight", "start": 32797, "end": 32807, "loc": { "start": { "line": 979, "column": 78 }, "end": { "line": 979, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32807, "end": 32808, "loc": { "start": { "line": 979, "column": 88 }, "end": { "line": 979, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32808, "end": 32809, "loc": { "start": { "line": 979, "column": 89 }, "end": { "line": 979, "column": 90 } } }, { "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": 32825, "end": 32830, "loc": { "start": { "line": 981, "column": 12 }, "end": { "line": 981, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveAmount", "start": 32831, "end": 32841, "loc": { "start": { "line": 981, "column": 18 }, "end": { "line": 981, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32842, "end": 32843, "loc": { "start": { "line": 981, "column": 29 }, "end": { "line": 981, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32844, "end": 32845, "loc": { "start": { "line": 981, "column": 31 }, "end": { "line": 981, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32845, "end": 32846, "loc": { "start": { "line": 981, "column": 32 }, "end": { "line": 981, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "limitingDimension", "start": 32846, "end": 32863, "loc": { "start": { "line": 981, "column": 33 }, "end": { "line": 981, "column": 50 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 32864, "end": 32865, "loc": { "start": { "line": 981, "column": 51 }, "end": { "line": 981, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2048, "start": 32866, "end": 32870, "loc": { "start": { "line": 981, "column": 53 }, "end": { "line": 981, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32870, "end": 32871, "loc": { "start": { "line": 981, "column": 57 }, "end": { "line": 981, "column": 58 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 32872, "end": 32873, "loc": { "start": { "line": 981, "column": 59 }, "end": { "line": 981, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 32874, "end": 32876, "loc": { "start": { "line": 981, "column": 61 }, "end": { "line": 981, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 32876, "end": 32877, "loc": { "start": { "line": 981, "column": 63 }, "end": { "line": 981, "column": 64 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 32878, "end": 32879, "loc": { "start": { "line": 981, "column": 65 }, "end": { "line": 981, "column": 66 } } }, { "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": 32880, "end": 32884, "loc": { "start": { "line": 981, "column": 67 }, "end": { "line": 981, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32884, "end": 32885, "loc": { "start": { "line": 981, "column": 71 }, "end": { "line": 981, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 32885, "end": 32894, "loc": { "start": { "line": 981, "column": 72 }, "end": { "line": 981, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32894, "end": 32895, "loc": { "start": { "line": 981, "column": 81 }, "end": { "line": 981, "column": 82 } } }, { "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": 32911, "end": 32914, "loc": { "start": { "line": 983, "column": 12 }, "end": { "line": 983, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceX", "start": 32915, "end": 32921, "loc": { "start": { "line": 983, "column": 16 }, "end": { "line": 983, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32922, "end": 32923, "loc": { "start": { "line": 983, "column": 23 }, "end": { "line": 983, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 32924, "end": 32925, "loc": { "start": { "line": 983, "column": 25 }, "end": { "line": 983, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32925, "end": 32926, "loc": { "start": { "line": 983, "column": 26 }, "end": { "line": 983, "column": 27 } } }, { "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": 32940, "end": 32943, "loc": { "start": { "line": 984, "column": 12 }, "end": { "line": 984, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceY", "start": 32944, "end": 32950, "loc": { "start": { "line": 984, "column": 16 }, "end": { "line": 984, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32951, "end": 32952, "loc": { "start": { "line": 984, "column": 23 }, "end": { "line": 984, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 32953, "end": 32954, "loc": { "start": { "line": 984, "column": 25 }, "end": { "line": 984, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32954, "end": 32955, "loc": { "start": { "line": 984, "column": 26 }, "end": { "line": 984, "column": 27 } } }, { "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": 32971, "end": 32976, "loc": { "start": { "line": 986, "column": 12 }, "end": { "line": 986, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 32977, "end": 32989, "loc": { "start": { "line": 986, "column": 18 }, "end": { "line": 986, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32990, "end": 32991, "loc": { "start": { "line": 986, "column": 31 }, "end": { "line": 986, "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": 32992, "end": 32996, "loc": { "start": { "line": 986, "column": 33 }, "end": { "line": 986, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32996, "end": 32997, "loc": { "start": { "line": 986, "column": 37 }, "end": { "line": 986, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 32997, "end": 33001, "loc": { "start": { "line": 986, "column": 38 }, "end": { "line": 986, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33001, "end": 33002, "loc": { "start": { "line": 986, "column": 42 }, "end": { "line": 986, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 33002, "end": 33011, "loc": { "start": { "line": 986, "column": 43 }, "end": { "line": 986, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33011, "end": 33012, "loc": { "start": { "line": 986, "column": 52 }, "end": { "line": 986, "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": 33026, "end": 33028, "loc": { "start": { "line": 987, "column": 12 }, "end": { "line": 987, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33029, "end": 33030, "loc": { "start": { "line": 987, "column": 15 }, "end": { "line": 987, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 33030, "end": 33042, "loc": { "start": { "line": 987, "column": 16 }, "end": { "line": 987, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33042, "end": 33043, "loc": { "start": { "line": 987, "column": 28 }, "end": { "line": 987, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 33043, "end": 33053, "loc": { "start": { "line": 987, "column": 29 }, "end": { "line": 987, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33053, "end": 33054, "loc": { "start": { "line": 987, "column": 39 }, "end": { "line": 987, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 33054, "end": 33065, "loc": { "start": { "line": 987, "column": 40 }, "end": { "line": 987, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33065, "end": 33066, "loc": { "start": { "line": 987, "column": 51 }, "end": { "line": 987, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 33066, "end": 33076, "loc": { "start": { "line": 987, "column": 52 }, "end": { "line": 987, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33076, "end": 33077, "loc": { "start": { "line": 987, "column": 62 }, "end": { "line": 987, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveUp", "start": 33077, "end": 33086, "loc": { "start": { "line": 987, "column": 63 }, "end": { "line": 987, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33086, "end": 33087, "loc": { "start": { "line": 987, "column": 72 }, "end": { "line": 987, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33087, "end": 33088, "loc": { "start": { "line": 987, "column": 73 }, "end": { "line": 987, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pressed", "start": 33088, "end": 33095, "loc": { "start": { "line": 987, "column": 74 }, "end": { "line": 987, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33095, "end": 33096, "loc": { "start": { "line": 987, "column": 81 }, "end": { "line": 987, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33097, "end": 33098, "loc": { "start": { "line": 987, "column": 83 }, "end": { "line": 987, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceY", "start": 33116, "end": 33122, "loc": { "start": { "line": 988, "column": 16 }, "end": { "line": 988, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 33123, "end": 33125, "loc": { "start": { "line": 988, "column": 23 }, "end": { "line": 988, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 33126, "end": 33127, "loc": { "start": { "line": 988, "column": 26 }, "end": { "line": 988, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33127, "end": 33128, "loc": { "start": { "line": 988, "column": 27 }, "end": { "line": 988, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33142, "end": 33143, "loc": { "start": { "line": 989, "column": 12 }, "end": { "line": 989, "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": 33159, "end": 33161, "loc": { "start": { "line": 991, "column": 12 }, "end": { "line": 991, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33162, "end": 33163, "loc": { "start": { "line": 991, "column": 15 }, "end": { "line": 991, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 33163, "end": 33175, "loc": { "start": { "line": 991, "column": 16 }, "end": { "line": 991, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33175, "end": 33176, "loc": { "start": { "line": 991, "column": 28 }, "end": { "line": 991, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 33176, "end": 33186, "loc": { "start": { "line": 991, "column": 29 }, "end": { "line": 991, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33186, "end": 33187, "loc": { "start": { "line": 991, "column": 39 }, "end": { "line": 991, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 33187, "end": 33198, "loc": { "start": { "line": 991, "column": 40 }, "end": { "line": 991, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33198, "end": 33199, "loc": { "start": { "line": 991, "column": 51 }, "end": { "line": 991, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 33199, "end": 33209, "loc": { "start": { "line": 991, "column": 52 }, "end": { "line": 991, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33209, "end": 33210, "loc": { "start": { "line": 991, "column": 62 }, "end": { "line": 991, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveDown", "start": 33210, "end": 33221, "loc": { "start": { "line": 991, "column": 63 }, "end": { "line": 991, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33221, "end": 33222, "loc": { "start": { "line": 991, "column": 74 }, "end": { "line": 991, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33222, "end": 33223, "loc": { "start": { "line": 991, "column": 75 }, "end": { "line": 991, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pressed", "start": 33223, "end": 33230, "loc": { "start": { "line": 991, "column": 76 }, "end": { "line": 991, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33230, "end": 33231, "loc": { "start": { "line": 991, "column": 83 }, "end": { "line": 991, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33232, "end": 33233, "loc": { "start": { "line": 991, "column": 85 }, "end": { "line": 991, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceY", "start": 33251, "end": 33257, "loc": { "start": { "line": 992, "column": 16 }, "end": { "line": 992, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 33258, "end": 33260, "loc": { "start": { "line": 992, "column": 23 }, "end": { "line": 992, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 33261, "end": 33262, "loc": { "start": { "line": 992, "column": 26 }, "end": { "line": 992, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33262, "end": 33263, "loc": { "start": { "line": 992, "column": 27 }, "end": { "line": 992, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33277, "end": 33278, "loc": { "start": { "line": 993, "column": 12 }, "end": { "line": 993, "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": 33294, "end": 33296, "loc": { "start": { "line": 995, "column": 12 }, "end": { "line": 995, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33297, "end": 33298, "loc": { "start": { "line": 995, "column": 15 }, "end": { "line": 995, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 33298, "end": 33310, "loc": { "start": { "line": 995, "column": 16 }, "end": { "line": 995, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33310, "end": 33311, "loc": { "start": { "line": 995, "column": 28 }, "end": { "line": 995, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 33311, "end": 33321, "loc": { "start": { "line": 995, "column": 29 }, "end": { "line": 995, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33321, "end": 33322, "loc": { "start": { "line": 995, "column": 39 }, "end": { "line": 995, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 33322, "end": 33333, "loc": { "start": { "line": 995, "column": 40 }, "end": { "line": 995, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33333, "end": 33334, "loc": { "start": { "line": 995, "column": 51 }, "end": { "line": 995, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 33334, "end": 33344, "loc": { "start": { "line": 995, "column": 52 }, "end": { "line": 995, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33344, "end": 33345, "loc": { "start": { "line": 995, "column": 62 }, "end": { "line": 995, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveLeft", "start": 33345, "end": 33356, "loc": { "start": { "line": 995, "column": 63 }, "end": { "line": 995, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33356, "end": 33357, "loc": { "start": { "line": 995, "column": 74 }, "end": { "line": 995, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33357, "end": 33358, "loc": { "start": { "line": 995, "column": 75 }, "end": { "line": 995, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pressed", "start": 33358, "end": 33365, "loc": { "start": { "line": 995, "column": 76 }, "end": { "line": 995, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33365, "end": 33366, "loc": { "start": { "line": 995, "column": 83 }, "end": { "line": 995, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33367, "end": 33368, "loc": { "start": { "line": 995, "column": 85 }, "end": { "line": 995, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceX", "start": 33386, "end": 33392, "loc": { "start": { "line": 996, "column": 16 }, "end": { "line": 996, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-=", "start": 33393, "end": 33395, "loc": { "start": { "line": 996, "column": 23 }, "end": { "line": 996, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 33396, "end": 33397, "loc": { "start": { "line": 996, "column": 26 }, "end": { "line": 996, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33397, "end": 33398, "loc": { "start": { "line": 996, "column": 27 }, "end": { "line": 996, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33412, "end": 33413, "loc": { "start": { "line": 997, "column": 12 }, "end": { "line": 997, "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": 33429, "end": 33431, "loc": { "start": { "line": 999, "column": 12 }, "end": { "line": 999, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33432, "end": 33433, "loc": { "start": { "line": 999, "column": 15 }, "end": { "line": 999, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 33433, "end": 33445, "loc": { "start": { "line": 999, "column": 16 }, "end": { "line": 999, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33445, "end": 33446, "loc": { "start": { "line": 999, "column": 28 }, "end": { "line": 999, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 33446, "end": 33456, "loc": { "start": { "line": 999, "column": 29 }, "end": { "line": 999, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33456, "end": 33457, "loc": { "start": { "line": 999, "column": 39 }, "end": { "line": 999, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 33457, "end": 33468, "loc": { "start": { "line": 999, "column": 40 }, "end": { "line": 999, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33468, "end": 33469, "loc": { "start": { "line": 999, "column": 51 }, "end": { "line": 999, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 33469, "end": 33479, "loc": { "start": { "line": 999, "column": 52 }, "end": { "line": 999, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33479, "end": 33480, "loc": { "start": { "line": 999, "column": 62 }, "end": { "line": 999, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveRight", "start": 33480, "end": 33492, "loc": { "start": { "line": 999, "column": 63 }, "end": { "line": 999, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33492, "end": 33493, "loc": { "start": { "line": 999, "column": 75 }, "end": { "line": 999, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33493, "end": 33494, "loc": { "start": { "line": 999, "column": 76 }, "end": { "line": 999, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pressed", "start": 33494, "end": 33501, "loc": { "start": { "line": 999, "column": 77 }, "end": { "line": 999, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33501, "end": 33502, "loc": { "start": { "line": 999, "column": 84 }, "end": { "line": 999, "column": 85 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33503, "end": 33504, "loc": { "start": { "line": 999, "column": 86 }, "end": { "line": 999, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceX", "start": 33522, "end": 33528, "loc": { "start": { "line": 1000, "column": 16 }, "end": { "line": 1000, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 33529, "end": 33531, "loc": { "start": { "line": 1000, "column": 23 }, "end": { "line": 1000, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 33532, "end": 33533, "loc": { "start": { "line": 1000, "column": 26 }, "end": { "line": 1000, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33533, "end": 33534, "loc": { "start": { "line": 1000, "column": 27 }, "end": { "line": 1000, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33548, "end": 33549, "loc": { "start": { "line": 1001, "column": 12 }, "end": { "line": 1001, "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": 33565, "end": 33568, "loc": { "start": { "line": 1003, "column": 12 }, "end": { "line": 1003, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movementSpeed", "start": 33569, "end": 33582, "loc": { "start": { "line": 1003, "column": 16 }, "end": { "line": 1003, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 33583, "end": 33584, "loc": { "start": { "line": 1003, "column": 30 }, "end": { "line": 1003, "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": 33602, "end": 33606, "loc": { "start": { "line": 1004, "column": 16 }, "end": { "line": 1004, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33606, "end": 33607, "loc": { "start": { "line": 1004, "column": 20 }, "end": { "line": 1004, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 33607, "end": 33611, "loc": { "start": { "line": 1004, "column": 21 }, "end": { "line": 1004, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33611, "end": 33612, "loc": { "start": { "line": 1004, "column": 25 }, "end": { "line": 1004, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 33612, "end": 33615, "loc": { "start": { "line": 1004, "column": 26 }, "end": { "line": 1004, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33615, "end": 33616, "loc": { "start": { "line": 1004, "column": 29 }, "end": { "line": 1004, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 33616, "end": 33624, "loc": { "start": { "line": 1004, "column": 30 }, "end": { "line": 1004, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33624, "end": 33625, "loc": { "start": { "line": 1004, "column": 38 }, "end": { "line": 1004, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMovementSpeed", "start": 33625, "end": 33641, "loc": { "start": { "line": 1004, "column": 39 }, "end": { "line": 1004, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33641, "end": 33642, "loc": { "start": { "line": 1004, "column": 55 }, "end": { "line": 1004, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33642, "end": 33643, "loc": { "start": { "line": 1004, "column": 56 }, "end": { "line": 1004, "column": 57 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 33644, "end": 33645, "loc": { "start": { "line": 1004, "column": 58 }, "end": { "line": 1004, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33663, "end": 33664, "loc": { "start": { "line": 1005, "column": 16 }, "end": { "line": 1005, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "actionMapper", "start": 33664, "end": 33676, "loc": { "start": { "line": 1005, "column": 17 }, "end": { "line": 1005, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33676, "end": 33677, "loc": { "start": { "line": 1005, "column": 29 }, "end": { "line": 1005, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 33677, "end": 33687, "loc": { "start": { "line": 1005, "column": 30 }, "end": { "line": 1005, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33687, "end": 33688, "loc": { "start": { "line": 1005, "column": 40 }, "end": { "line": 1005, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 33688, "end": 33699, "loc": { "start": { "line": 1005, "column": 41 }, "end": { "line": 1005, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33699, "end": 33700, "loc": { "start": { "line": 1005, "column": 52 }, "end": { "line": 1005, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigation", "start": 33700, "end": 33710, "loc": { "start": { "line": 1005, "column": 53 }, "end": { "line": 1005, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33710, "end": 33711, "loc": { "start": { "line": 1005, "column": 63 }, "end": { "line": 1005, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapMoveFaster", "start": 33711, "end": 33724, "loc": { "start": { "line": 1005, "column": 64 }, "end": { "line": 1005, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33724, "end": 33725, "loc": { "start": { "line": 1005, "column": 77 }, "end": { "line": 1005, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33725, "end": 33726, "loc": { "start": { "line": 1005, "column": 78 }, "end": { "line": 1005, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pressed", "start": 33726, "end": 33733, "loc": { "start": { "line": 1005, "column": 79 }, "end": { "line": 1005, "column": 86 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33734, "end": 33735, "loc": { "start": { "line": 1005, "column": 87 }, "end": { "line": 1005, "column": 88 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 33736, "end": 33737, "loc": { "start": { "line": 1005, "column": 89 }, "end": { "line": 1005, "column": 90 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33738, "end": 33739, "loc": { "start": { "line": 1005, "column": 91 }, "end": { "line": 1005, "column": 92 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 33740, "end": 33741, "loc": { "start": { "line": 1005, "column": 93 }, "end": { "line": 1005, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33741, "end": 33742, "loc": { "start": { "line": 1005, "column": 94 }, "end": { "line": 1005, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33742, "end": 33743, "loc": { "start": { "line": 1005, "column": 95 }, "end": { "line": 1005, "column": 96 } } }, { "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": 33759, "end": 33763, "loc": { "start": { "line": 1007, "column": 12 }, "end": { "line": 1007, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33763, "end": 33764, "loc": { "start": { "line": 1007, "column": 16 }, "end": { "line": 1007, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 33764, "end": 33770, "loc": { "start": { "line": 1007, "column": 17 }, "end": { "line": 1007, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33770, "end": 33771, "loc": { "start": { "line": 1007, "column": 23 }, "end": { "line": 1007, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 33771, "end": 33772, "loc": { "start": { "line": 1007, "column": 24 }, "end": { "line": 1007, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 33773, "end": 33775, "loc": { "start": { "line": 1007, "column": 26 }, "end": { "line": 1007, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveAmount", "start": 33776, "end": 33786, "loc": { "start": { "line": 1007, "column": 29 }, "end": { "line": 1007, "column": 39 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 33787, "end": 33788, "loc": { "start": { "line": 1007, "column": 40 }, "end": { "line": 1007, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceX", "start": 33789, "end": 33795, "loc": { "start": { "line": 1007, "column": 42 }, "end": { "line": 1007, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 33796, "end": 33797, "loc": { "start": { "line": 1007, "column": 49 }, "end": { "line": 1007, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movementSpeed", "start": 33798, "end": 33811, "loc": { "start": { "line": 1007, "column": 51 }, "end": { "line": 1007, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33811, "end": 33812, "loc": { "start": { "line": 1007, "column": 64 }, "end": { "line": 1007, "column": 65 } } }, { "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": 33826, "end": 33830, "loc": { "start": { "line": 1008, "column": 12 }, "end": { "line": 1008, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33830, "end": 33831, "loc": { "start": { "line": 1008, "column": 16 }, "end": { "line": 1008, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "center", "start": 33831, "end": 33837, "loc": { "start": { "line": 1008, "column": 17 }, "end": { "line": 1008, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33837, "end": 33838, "loc": { "start": { "line": 1008, "column": 23 }, "end": { "line": 1008, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 33838, "end": 33839, "loc": { "start": { "line": 1008, "column": 24 }, "end": { "line": 1008, "column": 25 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 33840, "end": 33842, "loc": { "start": { "line": 1008, "column": 26 }, "end": { "line": 1008, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveAmount", "start": 33843, "end": 33853, "loc": { "start": { "line": 1008, "column": 29 }, "end": { "line": 1008, "column": 39 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 33854, "end": 33855, "loc": { "start": { "line": 1008, "column": 40 }, "end": { "line": 1008, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceY", "start": 33856, "end": 33862, "loc": { "start": { "line": 1008, "column": 42 }, "end": { "line": 1008, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 33863, "end": 33864, "loc": { "start": { "line": 1008, "column": 49 }, "end": { "line": 1008, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "movementSpeed", "start": 33865, "end": 33878, "loc": { "start": { "line": 1008, "column": 51 }, "end": { "line": 1008, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33878, "end": 33879, "loc": { "start": { "line": 1008, "column": 64 }, "end": { "line": 1008, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33889, "end": 33890, "loc": { "start": { "line": 1009, "column": 8 }, "end": { "line": 1009, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33896, "end": 33897, "loc": { "start": { "line": 1010, "column": 4 }, "end": { "line": 1010, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 33899, "end": 33900, "loc": { "start": { "line": 1011, "column": 0 }, "end": { "line": 1011, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 33902, "end": 33902, "loc": { "start": { "line": 1012, "column": 0 }, "end": { "line": 1012, "column": 0 } } } ] }