NODEDC_BIM_VIEWER/docs/ast/source/toolbar/QueryMode.js.json

28734 lines
900 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2995,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 104,
"column": 19
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2995,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 104,
"column": 19
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 44
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
},
"extra": {
"rawValue": "../Controller.js",
"raw": "\"../Controller.js\""
},
"value": "../Controller.js"
}
},
{
"type": "ImportDeclaration",
"start": 45,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 70
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 64,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 69
}
},
"extra": {
"rawValue": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"raw": "\"@xeokit/xeokit-sdk/src/viewer/scene/math/math.js\""
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js"
}
},
{
"type": "FunctionDeclaration",
"start": 117,
"end": 253,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 126,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
{
"type": "Identifier",
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 25
},
"identifierName": "q"
},
"name": "q"
}
],
"body": {
"type": "BlockStatement",
"start": 144,
"end": 253,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 7,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 150,
"end": 171,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 156,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 156,
"end": 166,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"init": {
"type": "NumericLiteral",
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 176,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 79
}
},
"argument": {
"type": "LogicalExpression",
"start": 183,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 78
}
},
"left": {
"type": "BinaryExpression",
"start": 184,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 37
}
},
"left": {
"type": "CallExpression",
"start": 184,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 184,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 184,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 16
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 189,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 20
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 193,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 193,
"end": 197,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 193,
"end": 194,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 200,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 37
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
},
"extra": {
"parenthesized": true,
"parenStart": 183
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 215,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 77
}
},
"left": {
"type": "CallExpression",
"start": 215,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 215,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 215,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 47
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 220,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 51
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 224,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
}
},
"left": {
"type": "MemberExpression",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 53
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 54
},
"end": {
"line": 6,
"column": 55
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 231,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 60
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 6,
"column": 61
},
"end": {
"line": 6,
"column": 62
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 239,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 67
},
"end": {
"line": 6,
"column": 77
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"extra": {
"parenthesized": true,
"parenStart": 214
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 271,
"end": 2974,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 102,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 277,
"end": 286,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 15
},
"identifierName": "QueryMode"
},
"name": "QueryMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 295,
"end": 305,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 306,
"end": 2974,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 102,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 313,
"end": 1365,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 313,
"end": 324,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 325,
"end": 331,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 333,
"end": 336,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 338,
"end": 1365,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 52,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 349,
"end": 363,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 349,
"end": 362,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 349,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 355,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 373,
"end": 459,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 377,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 378,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 378,
"end": 381,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 382,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 397,
"end": 459,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 18,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 411,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 417,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 469,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 475,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 475,
"end": 488,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 491,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 491,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 495,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 519,
"end": 744,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 519,
"end": 743,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 519,
"end": 526,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 524,
"end": 526,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 527,
"end": 536,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 538,
"end": 742,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 28,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 539,
"end": 546,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 551,
"end": 742,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 28,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 565,
"end": 732,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 569,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 570,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 579,
"end": 651,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 25,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 597,
"end": 637,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 597,
"end": 636,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 597,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 597,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 597,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 611,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 621,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 625,
"end": 635,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 657,
"end": 732,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 27,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 675,
"end": 718,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 675,
"end": 717,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 675,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 675,
"end": 698,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 675,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 689,
"end": 698,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 699,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 706,
"end": 716,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 754,
"end": 971,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 754,
"end": 970,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 754,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 754,
"end": 758,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 759,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 762,
"end": 770,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 772,
"end": 969,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 36,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 773,
"end": 779,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 784,
"end": 969,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 36,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 798,
"end": 959,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 802,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 810,
"end": 880,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 828,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 828,
"end": 865,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 828,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 828,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 828,
"end": 841,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 842,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 852,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 856,
"end": 864,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 886,
"end": 959,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 904,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 904,
"end": 944,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 904,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 904,
"end": 927,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 904,
"end": 917,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 918,
"end": 927,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 928,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 935,
"end": 943,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 981,
"end": 1239,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 981,
"end": 1238,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 981,
"end": 1011,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 981,
"end": 994,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 995,
"end": 1011,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1012,
"end": 1019,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1021,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 45,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1022,
"end": 1027,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1032,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 45,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1046,
"end": 1109,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1050,
"end": 1068,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1051,
"end": 1068,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1051,
"end": 1066,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1051,
"end": 1055,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1056,
"end": 1066,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1070,
"end": 1109,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1088,
"end": 1095,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1122,
"end": 1154,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1128,
"end": 1153,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1128,
"end": 1134,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1137,
"end": 1153,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1137,
"end": 1151,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1142,
"end": 1151,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1167,
"end": 1191,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1167,
"end": 1190,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1167,
"end": 1181,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1167,
"end": 1171,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1172,
"end": 1181,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1182,
"end": 1189,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1183,
"end": 1189,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1204,
"end": 1227,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1204,
"end": 1226,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1204,
"end": 1224,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1204,
"end": 1209,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1210,
"end": 1224,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1249,
"end": 1327,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1249,
"end": 1326,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1249,
"end": 1265,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1249,
"end": 1262,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1249,
"end": 1253,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1254,
"end": 1262,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1265,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1266,
"end": 1273,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1275,
"end": 1325,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1279,
"end": 1325,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1293,
"end": 1315,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1293,
"end": 1314,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1293,
"end": 1307,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1293,
"end": 1297,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1298,
"end": 1307,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1337,
"end": 1359,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 1337,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 1337,
"end": 1356,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1337,
"end": 1341,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1342,
"end": 1356,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 27
},
"identifierName": "_initQueryMode"
},
"name": "_initQueryMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1371,
"end": 2972,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 101,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1371,
"end": 1385,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 18
},
"identifierName": "_initQueryMode"
},
"name": "_initQueryMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1388,
"end": 2972,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 101,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1398,
"end": 1425,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1404,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1404,
"end": 1410,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1413,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1413,
"end": 1417,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1418,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 28
},
"end": {
"line": 55,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1434,
"end": 1477,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1440,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1440,
"end": 1453,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 27
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"init": {
"type": "MemberExpression",
"start": 1456,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1456,
"end": 1462,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1463,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 50
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1486,
"end": 1504,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1490,
"end": 1503,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1490,
"end": 1496,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1499,
"end": 1503,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1513,
"end": 1857,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 68,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1513,
"end": 1856,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 68,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1513,
"end": 1526,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1513,
"end": 1517,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1529,
"end": 1856,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 68,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1529,
"end": 1545,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 37
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1543,
"end": 1545,
"loc": {
"start": {
"line": 58,
"column": 38
},
"end": {
"line": 58,
"column": 40
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1546,
"end": 1553,
"loc": {
"start": {
"line": 58,
"column": 41
},
"end": {
"line": 58,
"column": 48
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1555,
"end": 1855,
"loc": {
"start": {
"line": 58,
"column": 50
},
"end": {
"line": 68,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 58,
"column": 51
},
"end": {
"line": 58,
"column": 52
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1562,
"end": 1855,
"loc": {
"start": {
"line": 58,
"column": 57
},
"end": {
"line": 68,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1576,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1580,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1580,
"end": 1597,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1581,
"end": 1597,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1581,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1581,
"end": 1585,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1586,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1601,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 37
},
"end": {
"line": 59,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1602,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1602,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1602,
"end": 1606,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1607,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 43
},
"end": {
"line": 59,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1621,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 61,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1639,
"end": 1646,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1673,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1677,
"end": 1683,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1685,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1703,
"end": 1730,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1703,
"end": 1729,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1703,
"end": 1721,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1703,
"end": 1709,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1710,
"end": 1721,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1724,
"end": 1729,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1747,
"end": 1761,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1747,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1756,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 25
},
"end": {
"line": 64,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1788,
"end": 1806,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1788,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1788,
"end": 1794,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1797,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1797,
"end": 1798,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1799,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1819,
"end": 1845,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1819,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1819,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1819,
"end": 1825,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1826,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1840,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1866,
"end": 2146,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 77,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1866,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 77,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1866,
"end": 1882,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1866,
"end": 1870,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1871,
"end": 1882,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1885,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 77,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1885,
"end": 1901,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1885,
"end": 1898,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 40
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1899,
"end": 1901,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 43
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1902,
"end": 1912,
"loc": {
"start": {
"line": 69,
"column": 44
},
"end": {
"line": 69,
"column": 54
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1914,
"end": 2144,
"loc": {
"start": {
"line": 69,
"column": 56
},
"end": {
"line": 77,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 69,
"column": 57
},
"end": {
"line": 69,
"column": 58
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1921,
"end": 2144,
"loc": {
"start": {
"line": 69,
"column": 63
},
"end": {
"line": 77,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1935,
"end": 2019,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1939,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1939,
"end": 1956,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1940,
"end": 1956,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1940,
"end": 1954,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1945,
"end": 1954,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 70,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1960,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1961,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1961,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1961,
"end": 1965,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1966,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1980,
"end": 2019,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 72,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1998,
"end": 2005,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2032,
"end": 2134,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 76,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2036,
"end": 2042,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2044,
"end": 2134,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 76,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2062,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2062,
"end": 2088,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2062,
"end": 2080,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2062,
"end": 2068,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2069,
"end": 2080,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2083,
"end": 2088,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2106,
"end": 2120,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2106,
"end": 2119,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2106,
"end": 2112,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2115,
"end": 2119,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2155,
"end": 2186,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2161,
"end": 2185,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2161,
"end": 2171,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2174,
"end": 2185,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2174,
"end": 2183,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2174,
"end": 2178,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2179,
"end": 2183,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2195,
"end": 2450,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 85,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2195,
"end": 2449,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 85,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2195,
"end": 2212,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2195,
"end": 2199,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2200,
"end": 2212,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2215,
"end": 2449,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 85,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2215,
"end": 2236,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2215,
"end": 2233,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2215,
"end": 2227,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2215,
"end": 2221,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2222,
"end": 2227,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2228,
"end": 2233,
"loc": {
"start": {
"line": 79,
"column": 41
},
"end": {
"line": 79,
"column": 46
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2234,
"end": 2236,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 49
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2237,
"end": 2248,
"loc": {
"start": {
"line": 79,
"column": 50
},
"end": {
"line": 79,
"column": 61
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2250,
"end": 2448,
"loc": {
"start": {
"line": 79,
"column": 63
},
"end": {
"line": 85,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2251,
"end": 2257,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 70
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2262,
"end": 2448,
"loc": {
"start": {
"line": 79,
"column": 75
},
"end": {
"line": 85,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2276,
"end": 2360,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 82,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2280,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2280,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2281,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2281,
"end": 2295,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2281,
"end": 2285,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2286,
"end": 2295,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2301,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2302,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2302,
"end": 2317,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2307,
"end": 2317,
"loc": {
"start": {
"line": 80,
"column": 43
},
"end": {
"line": 80,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2321,
"end": 2360,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 82,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2339,
"end": 2346,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2373,
"end": 2399,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2373,
"end": 2398,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2373,
"end": 2386,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2373,
"end": 2383,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 83,
"column": 23
},
"end": {
"line": 83,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2389,
"end": 2398,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2389,
"end": 2395,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2396,
"end": 2397,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2412,
"end": 2438,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2412,
"end": 2437,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2412,
"end": 2425,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2412,
"end": 2422,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2428,
"end": 2437,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2428,
"end": 2434,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2435,
"end": 2436,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2459,
"end": 2966,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 100,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2459,
"end": 2965,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 100,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2459,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2459,
"end": 2463,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2464,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 13
},
"end": {
"line": 86,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2477,
"end": 2965,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 100,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2477,
"end": 2498,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2477,
"end": 2495,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2477,
"end": 2489,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2477,
"end": 2483,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 32
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2484,
"end": 2489,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 38
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2490,
"end": 2495,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 44
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2496,
"end": 2498,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 47
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2499,
"end": 2508,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 57
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2510,
"end": 2964,
"loc": {
"start": {
"line": 86,
"column": 59
},
"end": {
"line": 100,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2511,
"end": 2517,
"loc": {
"start": {
"line": 86,
"column": 60
},
"end": {
"line": 86,
"column": 66
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2522,
"end": 2964,
"loc": {
"start": {
"line": 86,
"column": 71
},
"end": {
"line": 100,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2536,
"end": 2620,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2540,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2540,
"end": 2557,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2541,
"end": 2557,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2541,
"end": 2555,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2541,
"end": 2545,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2546,
"end": 2555,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2561,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2562,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2562,
"end": 2577,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2567,
"end": 2577,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2581,
"end": 2620,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 89,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2599,
"end": 2606,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2633,
"end": 2954,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 99,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2637,
"end": 2643,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2645,
"end": 2881,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 97,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2663,
"end": 2783,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2667,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2668,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2668,
"end": 2679,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2680,
"end": 2690,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2692,
"end": 2698,
"loc": {
"start": {
"line": 91,
"column": 45
},
"end": {
"line": 91,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2701,
"end": 2783,
"loc": {
"start": {
"line": 91,
"column": 54
},
"end": {
"line": 94,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2723,
"end": 2737,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2723,
"end": 2736,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2723,
"end": 2729,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2732,
"end": 2736,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2758,
"end": 2765,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2800,
"end": 2836,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 2800,
"end": 2835,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2800,
"end": 2809,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2800,
"end": 2804,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2805,
"end": 2809,
"loc": {
"start": {
"line": 95,
"column": 21
},
"end": {
"line": 95,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2810,
"end": 2823,
"loc": {
"start": {
"line": 95,
"column": 26
},
"end": {
"line": 95,
"column": 39
}
},
"extra": {
"rawValue": "queryPicked",
"raw": "\"queryPicked\""
},
"value": "queryPicked"
},
{
"type": "MemberExpression",
"start": 2825,
"end": 2834,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2825,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 47
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2832,
"end": 2834,
"loc": {
"start": {
"line": 95,
"column": 48
},
"end": {
"line": 95,
"column": 50
},
"identifierName": "id"
},
"name": "id"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2853,
"end": 2867,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2853,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2853,
"end": 2859,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2862,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2887,
"end": 2954,
"loc": {
"start": {
"line": 97,
"column": 19
},
"end": {
"line": 99,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2905,
"end": 2940,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 2905,
"end": 2939,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 2905,
"end": 2914,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2905,
"end": 2909,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2910,
"end": 2914,
"loc": {
"start": {
"line": 98,
"column": 21
},
"end": {
"line": 98,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2915,
"end": 2931,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 42
}
},
"extra": {
"rawValue": "queryNotPicked",
"raw": "\"queryNotPicked\""
},
"value": "queryNotPicked"
},
{
"type": "BooleanLiteral",
"start": 2933,
"end": 2938,
"loc": {
"start": {
"line": 98,
"column": 44
},
"end": {
"line": 98,
"column": 49
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 2976,
"end": 2995,
"loc": {
"start": {
"line": 104,
"column": 0
},
"end": {
"line": 104,
"column": 19
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 2984,
"end": 2993,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 2984,
"end": 2993,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 17
},
"identifierName": "QueryMode"
},
"name": "QueryMode"
},
"exported": {
"type": "Identifier",
"start": 2984,
"end": 2993,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 17
},
"identifierName": "QueryMode"
},
"name": "QueryMode"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 2976,
"end": 2995,
"loc": {
"start": {
"line": 104,
"column": 0
},
"end": {
"line": 104,
"column": 19
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 271,
"end": 2974,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 102,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 277,
"end": 286,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 15
},
"identifierName": "QueryMode"
},
"name": "QueryMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 295,
"end": 305,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 306,
"end": 2974,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 102,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 313,
"end": 1365,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 313,
"end": 324,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 325,
"end": 331,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 333,
"end": 336,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 338,
"end": 1365,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 52,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 349,
"end": 363,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 349,
"end": 362,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 349,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 355,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 373,
"end": 459,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 377,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 378,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 378,
"end": 381,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 382,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 397,
"end": 459,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 18,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 411,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 417,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 469,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 475,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 475,
"end": 488,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 491,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 491,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 495,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 519,
"end": 744,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 519,
"end": 743,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 519,
"end": 526,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 524,
"end": 526,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 527,
"end": 536,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 538,
"end": 742,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 28,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 539,
"end": 546,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 551,
"end": 742,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 28,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 565,
"end": 732,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 569,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 570,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 579,
"end": 651,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 25,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 597,
"end": 637,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 597,
"end": 636,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 597,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 597,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 597,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 611,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 621,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 625,
"end": 635,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 657,
"end": 732,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 27,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 675,
"end": 718,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 675,
"end": 717,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 675,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 675,
"end": 698,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 675,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 689,
"end": 698,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 699,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 706,
"end": 716,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 754,
"end": 971,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 754,
"end": 970,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 754,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 754,
"end": 758,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 759,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 762,
"end": 770,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 772,
"end": 969,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 36,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 773,
"end": 779,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 784,
"end": 969,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 36,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 798,
"end": 959,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 802,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 810,
"end": 880,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 828,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 828,
"end": 865,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 828,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 828,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 828,
"end": 841,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 842,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 852,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 856,
"end": 864,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 886,
"end": 959,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 904,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 904,
"end": 944,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 904,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 904,
"end": 927,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 904,
"end": 917,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 918,
"end": 927,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 928,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 935,
"end": 943,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 981,
"end": 1239,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 981,
"end": 1238,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 981,
"end": 1011,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 981,
"end": 994,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 995,
"end": 1011,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1012,
"end": 1019,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1021,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 45,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1022,
"end": 1027,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1032,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 45,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1046,
"end": 1109,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1050,
"end": 1068,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1051,
"end": 1068,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1051,
"end": 1066,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1051,
"end": 1055,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1056,
"end": 1066,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1070,
"end": 1109,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1088,
"end": 1095,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1122,
"end": 1154,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1128,
"end": 1153,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1128,
"end": 1134,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1137,
"end": 1153,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1137,
"end": 1151,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1142,
"end": 1151,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1167,
"end": 1191,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1167,
"end": 1190,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1167,
"end": 1181,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1167,
"end": 1171,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1172,
"end": 1181,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1182,
"end": 1189,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1183,
"end": 1189,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1204,
"end": 1227,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1204,
"end": 1226,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1204,
"end": 1224,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1204,
"end": 1209,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1210,
"end": 1224,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1249,
"end": 1327,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1249,
"end": 1326,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1249,
"end": 1265,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1249,
"end": 1262,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1249,
"end": 1253,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1254,
"end": 1262,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1265,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1266,
"end": 1273,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1275,
"end": 1325,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1279,
"end": 1325,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1293,
"end": 1315,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1293,
"end": 1314,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1293,
"end": 1307,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1293,
"end": 1297,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1298,
"end": 1307,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1337,
"end": 1359,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 1337,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 1337,
"end": 1356,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1337,
"end": 1341,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1342,
"end": 1356,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 27
},
"identifierName": "_initQueryMode"
},
"name": "_initQueryMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1371,
"end": 2972,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 101,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1371,
"end": 1385,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 18
},
"identifierName": "_initQueryMode"
},
"name": "_initQueryMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1388,
"end": 2972,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 101,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1398,
"end": 1425,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1404,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1404,
"end": 1410,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1413,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1413,
"end": 1417,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1418,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 28
},
"end": {
"line": 55,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1434,
"end": 1477,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1440,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1440,
"end": 1453,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 27
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"init": {
"type": "MemberExpression",
"start": 1456,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1456,
"end": 1462,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1463,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 50
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1486,
"end": 1504,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1490,
"end": 1503,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1490,
"end": 1496,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1499,
"end": 1503,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1513,
"end": 1857,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 68,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1513,
"end": 1856,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 68,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1513,
"end": 1526,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1513,
"end": 1517,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1529,
"end": 1856,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 68,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1529,
"end": 1545,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 37
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1543,
"end": 1545,
"loc": {
"start": {
"line": 58,
"column": 38
},
"end": {
"line": 58,
"column": 40
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1546,
"end": 1553,
"loc": {
"start": {
"line": 58,
"column": 41
},
"end": {
"line": 58,
"column": 48
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1555,
"end": 1855,
"loc": {
"start": {
"line": 58,
"column": 50
},
"end": {
"line": 68,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 58,
"column": 51
},
"end": {
"line": 58,
"column": 52
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1562,
"end": 1855,
"loc": {
"start": {
"line": 58,
"column": 57
},
"end": {
"line": 68,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1576,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1580,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1580,
"end": 1597,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1581,
"end": 1597,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1581,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1581,
"end": 1585,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1586,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1601,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 37
},
"end": {
"line": 59,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1602,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1602,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1602,
"end": 1606,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1607,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 43
},
"end": {
"line": 59,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1621,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 61,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1639,
"end": 1646,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1673,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1677,
"end": 1683,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1685,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1703,
"end": 1730,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1703,
"end": 1729,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1703,
"end": 1721,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1703,
"end": 1709,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1710,
"end": 1721,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1724,
"end": 1729,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1747,
"end": 1761,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1747,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1756,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 25
},
"end": {
"line": 64,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1788,
"end": 1806,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1788,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1788,
"end": 1794,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1797,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1797,
"end": 1798,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1799,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1819,
"end": 1845,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1819,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1819,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1819,
"end": 1825,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1826,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1840,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1866,
"end": 2146,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 77,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1866,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 77,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1866,
"end": 1882,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1866,
"end": 1870,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1871,
"end": 1882,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1885,
"end": 2145,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 77,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1885,
"end": 1901,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1885,
"end": 1898,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 40
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1899,
"end": 1901,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 43
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1902,
"end": 1912,
"loc": {
"start": {
"line": 69,
"column": 44
},
"end": {
"line": 69,
"column": 54
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1914,
"end": 2144,
"loc": {
"start": {
"line": 69,
"column": 56
},
"end": {
"line": 77,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 69,
"column": 57
},
"end": {
"line": 69,
"column": 58
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1921,
"end": 2144,
"loc": {
"start": {
"line": 69,
"column": 63
},
"end": {
"line": 77,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1935,
"end": 2019,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1939,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1939,
"end": 1956,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1940,
"end": 1956,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1940,
"end": 1954,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1945,
"end": 1954,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 70,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1960,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1961,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1961,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1961,
"end": 1965,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1966,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1980,
"end": 2019,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 72,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1998,
"end": 2005,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2032,
"end": 2134,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 76,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2036,
"end": 2042,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2044,
"end": 2134,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 76,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2062,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2062,
"end": 2088,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2062,
"end": 2080,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2062,
"end": 2068,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2069,
"end": 2080,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2083,
"end": 2088,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2106,
"end": 2120,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2106,
"end": 2119,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2106,
"end": 2112,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2115,
"end": 2119,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2155,
"end": 2186,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2161,
"end": 2185,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2161,
"end": 2171,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2174,
"end": 2185,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2174,
"end": 2183,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2174,
"end": 2178,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2179,
"end": 2183,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2195,
"end": 2450,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 85,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2195,
"end": 2449,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 85,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2195,
"end": 2212,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2195,
"end": 2199,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2200,
"end": 2212,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2215,
"end": 2449,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 85,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2215,
"end": 2236,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2215,
"end": 2233,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2215,
"end": 2227,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2215,
"end": 2221,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2222,
"end": 2227,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2228,
"end": 2233,
"loc": {
"start": {
"line": 79,
"column": 41
},
"end": {
"line": 79,
"column": 46
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2234,
"end": 2236,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 49
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2237,
"end": 2248,
"loc": {
"start": {
"line": 79,
"column": 50
},
"end": {
"line": 79,
"column": 61
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2250,
"end": 2448,
"loc": {
"start": {
"line": 79,
"column": 63
},
"end": {
"line": 85,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2251,
"end": 2257,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 70
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2262,
"end": 2448,
"loc": {
"start": {
"line": 79,
"column": 75
},
"end": {
"line": 85,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2276,
"end": 2360,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 82,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2280,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2280,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2281,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2281,
"end": 2295,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2281,
"end": 2285,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2286,
"end": 2295,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2301,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2302,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2302,
"end": 2317,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2307,
"end": 2317,
"loc": {
"start": {
"line": 80,
"column": 43
},
"end": {
"line": 80,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2321,
"end": 2360,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 82,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2339,
"end": 2346,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2373,
"end": 2399,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2373,
"end": 2398,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2373,
"end": 2386,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2373,
"end": 2383,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 83,
"column": 23
},
"end": {
"line": 83,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2389,
"end": 2398,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2389,
"end": 2395,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2396,
"end": 2397,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2412,
"end": 2438,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2412,
"end": 2437,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2412,
"end": 2425,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2412,
"end": 2422,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2428,
"end": 2437,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2428,
"end": 2434,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2435,
"end": 2436,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2459,
"end": 2966,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 100,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2459,
"end": 2965,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 100,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2459,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2459,
"end": 2463,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2464,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 13
},
"end": {
"line": 86,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2477,
"end": 2965,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 100,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2477,
"end": 2498,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2477,
"end": 2495,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2477,
"end": 2489,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2477,
"end": 2483,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 32
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2484,
"end": 2489,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 38
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2490,
"end": 2495,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 44
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2496,
"end": 2498,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 47
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2499,
"end": 2508,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 57
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2510,
"end": 2964,
"loc": {
"start": {
"line": 86,
"column": 59
},
"end": {
"line": 100,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2511,
"end": 2517,
"loc": {
"start": {
"line": 86,
"column": 60
},
"end": {
"line": 86,
"column": 66
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2522,
"end": 2964,
"loc": {
"start": {
"line": 86,
"column": 71
},
"end": {
"line": 100,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2536,
"end": 2620,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2540,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2540,
"end": 2557,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2541,
"end": 2557,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2541,
"end": 2555,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2541,
"end": 2545,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2546,
"end": 2555,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2561,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2562,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2562,
"end": 2577,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2567,
"end": 2577,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2581,
"end": 2620,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 89,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2599,
"end": 2606,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2633,
"end": 2954,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 99,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2637,
"end": 2643,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2645,
"end": 2881,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 97,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2663,
"end": 2783,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2667,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2668,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2668,
"end": 2679,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2680,
"end": 2690,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2692,
"end": 2698,
"loc": {
"start": {
"line": 91,
"column": 45
},
"end": {
"line": 91,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2701,
"end": 2783,
"loc": {
"start": {
"line": 91,
"column": 54
},
"end": {
"line": 94,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2723,
"end": 2737,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2723,
"end": 2736,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2723,
"end": 2729,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2732,
"end": 2736,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2758,
"end": 2765,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2800,
"end": 2836,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 2800,
"end": 2835,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2800,
"end": 2809,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2800,
"end": 2804,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2805,
"end": 2809,
"loc": {
"start": {
"line": 95,
"column": 21
},
"end": {
"line": 95,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2810,
"end": 2823,
"loc": {
"start": {
"line": 95,
"column": 26
},
"end": {
"line": 95,
"column": 39
}
},
"extra": {
"rawValue": "queryPicked",
"raw": "\"queryPicked\""
},
"value": "queryPicked"
},
{
"type": "MemberExpression",
"start": 2825,
"end": 2834,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2825,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 47
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2832,
"end": 2834,
"loc": {
"start": {
"line": 95,
"column": 48
},
"end": {
"line": 95,
"column": 50
},
"identifierName": "id"
},
"name": "id"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2853,
"end": 2867,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2853,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2853,
"end": 2859,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2862,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2887,
"end": 2954,
"loc": {
"start": {
"line": 97,
"column": 19
},
"end": {
"line": 99,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2905,
"end": 2940,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 2905,
"end": 2939,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 2905,
"end": 2914,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2905,
"end": 2909,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2910,
"end": 2914,
"loc": {
"start": {
"line": 98,
"column": 21
},
"end": {
"line": 98,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2915,
"end": 2931,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 42
}
},
"extra": {
"rawValue": "queryNotPicked",
"raw": "\"queryNotPicked\""
},
"value": "queryNotPicked"
},
{
"type": "BooleanLiteral",
"start": 2933,
"end": 2938,
"loc": {
"start": {
"line": 98,
"column": 44
},
"end": {
"line": 98,
"column": 49
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
}
],
"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": "Controller",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 18,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Controller.js",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 43,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 44
}
}
},
{
"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": 45,
"end": 51,
"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": 52,
"end": 53,
"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": "math",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 59,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"start": 64,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 69
},
"end": {
"line": 2,
"column": 70
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 117,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 0
},
"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": "closeEnough",
"start": 126,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 137,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"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": 150,
"end": 155,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CLICK_DIST",
"start": 156,
"end": 166,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"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": 176,
"end": 182,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"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": 6,
"column": 11
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 184,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 188,
"end": 189,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 189,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 193,
"end": 194,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 198,
"end": 199,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 206,
"end": 207,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 6,
"column": 38
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 211,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 39
},
"end": {
"line": 6,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 6,
"column": 42
},
"end": {
"line": 6,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 215,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 219,
"end": 220,
"loc": {
"start": {
"line": 6,
"column": 47
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 220,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 6,
"column": 51
},
"end": {
"line": 6,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 53
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 54
},
"end": {
"line": 6,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 6,
"column": 55
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 57
},
"end": {
"line": 6,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 60
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 60
},
"end": {
"line": 6,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 6,
"column": 61
},
"end": {
"line": 6,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 62
},
"end": {
"line": 6,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 235,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 63
},
"end": {
"line": 6,
"column": 64
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CLICK_DIST",
"start": 239,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 67
},
"end": {
"line": 6,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 249,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 77
},
"end": {
"line": 6,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 78
},
"end": {
"line": 6,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"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": 271,
"end": 276,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "QueryMode",
"start": 277,
"end": 286,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 15
}
}
},
{
"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": 287,
"end": 294,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 295,
"end": 305,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 306,
"end": 307,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 10,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 313,
"end": 324,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 324,
"end": 325,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 325,
"end": 331,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 333,
"end": 336,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 336,
"end": 337,
"loc": {
"start": {
"line": 12,
"column": 27
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 338,
"end": 339,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 30
}
}
},
{
"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": 349,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 355,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 362,
"end": 363,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"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": 373,
"end": 375,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 376,
"end": 377,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"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": 377,
"end": 378,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 378,
"end": 381,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 381,
"end": 382,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 382,
"end": 395,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 395,
"end": 396,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"column": 33
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 411,
"end": 416,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Missing config: buttonElement",
"start": 417,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 458,
"end": 459,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"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": 469,
"end": 474,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 475,
"end": 488,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 489,
"end": 490,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 491,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 494,
"end": 495,
"loc": {
"start": {
"line": 20,
"column": 33
},
"end": {
"line": 20,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 495,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 508,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"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": 519,
"end": 523,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 524,
"end": 526,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "enabled",
"start": 527,
"end": 536,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 22,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 539,
"end": 546,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 546,
"end": 547,
"loc": {
"start": {
"line": 22,
"column": 35
},
"end": {
"line": 22,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 548,
"end": 550,
"loc": {
"start": {
"line": 22,
"column": 37
},
"end": {
"line": 22,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 551,
"end": 552,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"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": 565,
"end": 567,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 568,
"end": 569,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 570,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 577,
"end": 578,
"loc": {
"start": {
"line": 23,
"column": 24
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 23,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 597,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 611,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 24,
"column": 39
},
"end": {
"line": 24,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 621,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 24,
"column": 43
},
"end": {
"line": 24,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 625,
"end": 635,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 24,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 24,
"column": 55
},
"end": {
"line": 24,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"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": 652,
"end": 656,
"loc": {
"start": {
"line": 25,
"column": 14
},
"end": {
"line": 25,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 657,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 675,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 689,
"end": 698,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 698,
"end": 699,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 699,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 46
},
"end": {
"line": 26,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 706,
"end": 716,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 716,
"end": 717,
"loc": {
"start": {
"line": 26,
"column": 57
},
"end": {
"line": 26,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 717,
"end": 718,
"loc": {
"start": {
"line": 26,
"column": 58
},
"end": {
"line": 26,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 731,
"end": 732,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 741,
"end": 742,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 742,
"end": 743,
"loc": {
"start": {
"line": 28,
"column": 9
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 743,
"end": 744,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 754,
"end": 758,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 758,
"end": 759,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 759,
"end": 761,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 762,
"end": 770,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 773,
"end": 779,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 779,
"end": 780,
"loc": {
"start": {
"line": 30,
"column": 33
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 781,
"end": 783,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 784,
"end": 785,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 30,
"column": 39
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 798,
"end": 800,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 802,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 808,
"end": 809,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 828,
"end": 841,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 32,
"column": 29
},
"end": {
"line": 32,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 842,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 852,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 856,
"end": 864,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 32,
"column": 52
},
"end": {
"line": 32,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 865,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 32,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 879,
"end": 880,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"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": 881,
"end": 885,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 904,
"end": 917,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 917,
"end": 918,
"loc": {
"start": {
"line": 34,
"column": 29
},
"end": {
"line": 34,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 918,
"end": 927,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 34,
"column": 39
},
"end": {
"line": 34,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 928,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 34,
"column": 46
},
"end": {
"line": 34,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 935,
"end": 943,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 943,
"end": 944,
"loc": {
"start": {
"line": 34,
"column": 55
},
"end": {
"line": 34,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 944,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 56
},
"end": {
"line": 34,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 958,
"end": 959,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 981,
"end": 994,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 994,
"end": 995,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 995,
"end": 1011,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1011,
"end": 1012,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 38,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "click",
"start": 1012,
"end": 1019,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1019,
"end": 1020,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1021,
"end": 1022,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 38,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1022,
"end": 1027,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 38,
"column": 54
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1029,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 56
},
"end": {
"line": 38,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"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": 1046,
"end": 1048,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1049,
"end": 1050,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1050,
"end": 1051,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"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": 1051,
"end": 1055,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1055,
"end": 1056,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1056,
"end": 1066,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1067,
"end": 1068,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"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": 1088,
"end": 1094,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1122,
"end": 1127,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1128,
"end": 1134,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1135,
"end": 1136,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"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": 1137,
"end": 1141,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1142,
"end": 1151,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1151,
"end": 1152,
"loc": {
"start": {
"line": 42,
"column": 41
},
"end": {
"line": 42,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1152,
"end": 1153,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1153,
"end": 1154,
"loc": {
"start": {
"line": 42,
"column": 43
},
"end": {
"line": 42,
"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": 1167,
"end": 1171,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1172,
"end": 1181,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1181,
"end": 1182,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1182,
"end": 1183,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1183,
"end": 1189,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1189,
"end": 1190,
"loc": {
"start": {
"line": 43,
"column": 34
},
"end": {
"line": 43,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1204,
"end": 1209,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1209,
"end": 1210,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1210,
"end": 1224,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1224,
"end": 1225,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1236,
"end": 1237,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1249,
"end": 1253,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewerUI",
"start": 1254,
"end": 1262,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1263,
"end": 1265,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1265,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "reset",
"start": 1266,
"end": 1273,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1273,
"end": 1274,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1276,
"end": 1277,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1277,
"end": 1279,
"loc": {
"start": {
"line": 47,
"column": 36
},
"end": {
"line": 47,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"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": 1293,
"end": 1297,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1298,
"end": 1307,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 48,
"column": 26
},
"end": {
"line": 48,
"column": 27
}
}
},
{
"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": 1308,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1314,
"end": 1315,
"loc": {
"start": {
"line": 48,
"column": 33
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1324,
"end": 1325,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1325,
"end": 1326,
"loc": {
"start": {
"line": 49,
"column": 9
},
"end": {
"line": 49,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1326,
"end": 1327,
"loc": {
"start": {
"line": 49,
"column": 10
},
"end": {
"line": 49,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1337,
"end": 1341,
"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": 1341,
"end": 1342,
"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": "_initQueryMode",
"start": 1342,
"end": 1356,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 51,
"column": 27
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1357,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 28
},
"end": {
"line": 51,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1358,
"end": 1359,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1364,
"end": 1365,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_initQueryMode",
"start": 1371,
"end": 1385,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1385,
"end": 1386,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1386,
"end": 1387,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1388,
"end": 1389,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"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": 1398,
"end": 1403,
"loc": {
"start": {
"line": 55,
"column": 8
},
"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": "viewer",
"start": 1404,
"end": 1410,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1411,
"end": 1412,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"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": 1413,
"end": 1417,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 55,
"column": 27
},
"end": {
"line": 55,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1418,
"end": 1424,
"loc": {
"start": {
"line": 55,
"column": 28
},
"end": {
"line": 55,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1424,
"end": 1425,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 35
}
}
},
{
"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": 1434,
"end": 1439,
"loc": {
"start": {
"line": 56,
"column": 8
},
"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": "cameraControl",
"start": 1440,
"end": 1453,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1454,
"end": 1455,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1456,
"end": 1462,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1463,
"end": 1476,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1476,
"end": 1477,
"loc": {
"start": {
"line": 56,
"column": 50
},
"end": {
"line": 56,
"column": 51
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 1486,
"end": 1489,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1490,
"end": 1496,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 57,
"column": 19
},
"end": {
"line": 57,
"column": 20
}
}
},
{
"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": 1499,
"end": 1503,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1503,
"end": 1504,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"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": 1513,
"end": 1517,
"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": 1517,
"end": 1518,
"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": "_onHover",
"start": 1518,
"end": 1526,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 58,
"column": 37
},
"end": {
"line": 58,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1543,
"end": 1545,
"loc": {
"start": {
"line": 58,
"column": 38
},
"end": {
"line": 58,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1545,
"end": 1546,
"loc": {
"start": {
"line": 58,
"column": 40
},
"end": {
"line": 58,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hover",
"start": 1546,
"end": 1553,
"loc": {
"start": {
"line": 58,
"column": 41
},
"end": {
"line": 58,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1553,
"end": 1554,
"loc": {
"start": {
"line": 58,
"column": 48
},
"end": {
"line": 58,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1555,
"end": 1556,
"loc": {
"start": {
"line": 58,
"column": 50
},
"end": {
"line": 58,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 58,
"column": 51
},
"end": {
"line": 58,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 58,
"column": 52
},
"end": {
"line": 58,
"column": 53
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1559,
"end": 1561,
"loc": {
"start": {
"line": 58,
"column": 54
},
"end": {
"line": 58,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1562,
"end": 1563,
"loc": {
"start": {
"line": 58,
"column": 57
},
"end": {
"line": 58,
"column": 58
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1576,
"end": 1578,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1579,
"end": 1580,
"loc": {
"start": {
"line": 59,
"column": 15
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1580,
"end": 1581,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"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": 1581,
"end": 1585,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1585,
"end": 1586,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1586,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1595,
"end": 1596,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 59,
"column": 32
},
"end": {
"line": 59,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1598,
"end": 1600,
"loc": {
"start": {
"line": 59,
"column": 34
},
"end": {
"line": 59,
"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": 1601,
"end": 1602,
"loc": {
"start": {
"line": 59,
"column": 37
},
"end": {
"line": 59,
"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": 1602,
"end": 1606,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1606,
"end": 1607,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1607,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 43
},
"end": {
"line": 59,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1617,
"end": 1618,
"loc": {
"start": {
"line": 59,
"column": 53
},
"end": {
"line": 59,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1618,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1619,
"end": 1620,
"loc": {
"start": {
"line": 59,
"column": 55
},
"end": {
"line": 59,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1621,
"end": 1622,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 59,
"column": 58
}
}
},
{
"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": 1639,
"end": 1645,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1645,
"end": 1646,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1659,
"end": 1660,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"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": 1673,
"end": 1675,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1676,
"end": 1677,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1677,
"end": 1683,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1683,
"end": 1684,
"loc": {
"start": {
"line": 62,
"column": 22
},
"end": {
"line": 62,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1685,
"end": 1686,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1703,
"end": 1709,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 63,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1710,
"end": 1721,
"loc": {
"start": {
"line": 63,
"column": 23
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1722,
"end": 1723,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 63,
"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": 1724,
"end": 1729,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1729,
"end": 1730,
"loc": {
"start": {
"line": 63,
"column": 42
},
"end": {
"line": 63,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1754,
"end": 1755,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 24
}
}
},
{
"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": 1756,
"end": 1760,
"loc": {
"start": {
"line": 64,
"column": 25
},
"end": {
"line": 64,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1774,
"end": 1775,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1788,
"end": 1794,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1795,
"end": 1796,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1797,
"end": 1798,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1798,
"end": 1799,
"loc": {
"start": {
"line": 66,
"column": 22
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1799,
"end": 1805,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1819,
"end": 1825,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1825,
"end": 1826,
"loc": {
"start": {
"line": 67,
"column": 18
},
"end": {
"line": 67,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1826,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1838,
"end": 1839,
"loc": {
"start": {
"line": 67,
"column": 31
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"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": 1840,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1844,
"end": 1845,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1854,
"end": 1855,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 68,
"column": 9
},
"end": {
"line": 68,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1856,
"end": 1857,
"loc": {
"start": {
"line": 68,
"column": 10
},
"end": {
"line": 68,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1866,
"end": 1870,
"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": 1870,
"end": 1871,
"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": "_onHoverOff",
"start": 1871,
"end": 1882,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1883,
"end": 1884,
"loc": {
"start": {
"line": 69,
"column": 25
},
"end": {
"line": 69,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1885,
"end": 1898,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1898,
"end": 1899,
"loc": {
"start": {
"line": 69,
"column": 40
},
"end": {
"line": 69,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1899,
"end": 1901,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1901,
"end": 1902,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 69,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hoverOff",
"start": 1902,
"end": 1912,
"loc": {
"start": {
"line": 69,
"column": 44
},
"end": {
"line": 69,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 69,
"column": 54
},
"end": {
"line": 69,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1914,
"end": 1915,
"loc": {
"start": {
"line": 69,
"column": 56
},
"end": {
"line": 69,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 69,
"column": 57
},
"end": {
"line": 69,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 69,
"column": 58
},
"end": {
"line": 69,
"column": 59
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1918,
"end": 1920,
"loc": {
"start": {
"line": 69,
"column": 60
},
"end": {
"line": 69,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1921,
"end": 1922,
"loc": {
"start": {
"line": 69,
"column": 63
},
"end": {
"line": 69,
"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": 1935,
"end": 1937,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1938,
"end": 1939,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"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": 1940,
"end": 1944,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1945,
"end": 1954,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 70,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1954,
"end": 1955,
"loc": {
"start": {
"line": 70,
"column": 31
},
"end": {
"line": 70,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1955,
"end": 1956,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1957,
"end": 1959,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"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": 1960,
"end": 1961,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"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": 1961,
"end": 1965,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1965,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1966,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 70,
"column": 53
},
"end": {
"line": 70,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1977,
"end": 1978,
"loc": {
"start": {
"line": 70,
"column": 54
},
"end": {
"line": 70,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1978,
"end": 1979,
"loc": {
"start": {
"line": 70,
"column": 55
},
"end": {
"line": 70,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1980,
"end": 1981,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 58
}
}
},
{
"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": 1998,
"end": 2004,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2004,
"end": 2005,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2018,
"end": 2019,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2032,
"end": 2034,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2035,
"end": 2036,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2036,
"end": 2042,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2042,
"end": 2043,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2044,
"end": 2045,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2062,
"end": 2068,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2068,
"end": 2069,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 2069,
"end": 2080,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2081,
"end": 2082,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"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": 2083,
"end": 2088,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2088,
"end": 2089,
"loc": {
"start": {
"line": 74,
"column": 42
},
"end": {
"line": 74,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2106,
"end": 2112,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2113,
"end": 2114,
"loc": {
"start": {
"line": 75,
"column": 23
},
"end": {
"line": 75,
"column": 24
}
}
},
{
"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": 2115,
"end": 2119,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2119,
"end": 2120,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2143,
"end": 2144,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2144,
"end": 2145,
"loc": {
"start": {
"line": 77,
"column": 9
},
"end": {
"line": 77,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 77,
"column": 10
},
"end": {
"line": 77,
"column": 11
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2155,
"end": 2160,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2161,
"end": 2171,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2172,
"end": 2173,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 2174,
"end": 2178,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vec2",
"start": 2179,
"end": 2183,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2183,
"end": 2184,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2184,
"end": 2185,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2185,
"end": 2186,
"loc": {
"start": {
"line": 78,
"column": 38
},
"end": {
"line": 78,
"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": 2195,
"end": 2199,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2199,
"end": 2200,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMousedown",
"start": 2200,
"end": 2212,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2213,
"end": 2214,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2215,
"end": 2221,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2221,
"end": 2222,
"loc": {
"start": {
"line": 79,
"column": 34
},
"end": {
"line": 79,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2222,
"end": 2227,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2227,
"end": 2228,
"loc": {
"start": {
"line": 79,
"column": 40
},
"end": {
"line": 79,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2228,
"end": 2233,
"loc": {
"start": {
"line": 79,
"column": 41
},
"end": {
"line": 79,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2234,
"end": 2236,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 79,
"column": 49
},
"end": {
"line": 79,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mousedown",
"start": 2237,
"end": 2248,
"loc": {
"start": {
"line": 79,
"column": 50
},
"end": {
"line": 79,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 79,
"column": 61
},
"end": {
"line": 79,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2250,
"end": 2251,
"loc": {
"start": {
"line": 79,
"column": 63
},
"end": {
"line": 79,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2251,
"end": 2257,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2257,
"end": 2258,
"loc": {
"start": {
"line": 79,
"column": 70
},
"end": {
"line": 79,
"column": 71
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2259,
"end": 2261,
"loc": {
"start": {
"line": 79,
"column": 72
},
"end": {
"line": 79,
"column": 74
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2262,
"end": 2263,
"loc": {
"start": {
"line": 79,
"column": 75
},
"end": {
"line": 79,
"column": 76
}
}
},
{
"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": 2276,
"end": 2278,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2279,
"end": 2280,
"loc": {
"start": {
"line": 80,
"column": 15
},
"end": {
"line": 80,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2280,
"end": 2281,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"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": 2281,
"end": 2285,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2285,
"end": 2286,
"loc": {
"start": {
"line": 80,
"column": 21
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 2286,
"end": 2295,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2295,
"end": 2296,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2296,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2298,
"end": 2300,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"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": 2301,
"end": 2302,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"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": 2302,
"end": 2306,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2306,
"end": 2307,
"loc": {
"start": {
"line": 80,
"column": 42
},
"end": {
"line": 80,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2307,
"end": 2317,
"loc": {
"start": {
"line": 80,
"column": 43
},
"end": {
"line": 80,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2317,
"end": 2318,
"loc": {
"start": {
"line": 80,
"column": 53
},
"end": {
"line": 80,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2318,
"end": 2319,
"loc": {
"start": {
"line": 80,
"column": 54
},
"end": {
"line": 80,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2319,
"end": 2320,
"loc": {
"start": {
"line": 80,
"column": 55
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2321,
"end": 2322,
"loc": {
"start": {
"line": 80,
"column": 57
},
"end": {
"line": 80,
"column": 58
}
}
},
{
"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": 2339,
"end": 2345,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2345,
"end": 2346,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2359,
"end": 2360,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2373,
"end": 2383,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2383,
"end": 2384,
"loc": {
"start": {
"line": 83,
"column": 22
},
"end": {
"line": 83,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 83,
"column": 23
},
"end": {
"line": 83,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2385,
"end": 2386,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2387,
"end": 2388,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2389,
"end": 2395,
"loc": {
"start": {
"line": 83,
"column": 28
},
"end": {
"line": 83,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2395,
"end": 2396,
"loc": {
"start": {
"line": 83,
"column": 34
},
"end": {
"line": 83,
"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": 2396,
"end": 2397,
"loc": {
"start": {
"line": 83,
"column": 35
},
"end": {
"line": 83,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2397,
"end": 2398,
"loc": {
"start": {
"line": 83,
"column": 36
},
"end": {
"line": 83,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2398,
"end": 2399,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2412,
"end": 2422,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2422,
"end": 2423,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2424,
"end": 2425,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2426,
"end": 2427,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2428,
"end": 2434,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2434,
"end": 2435,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"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": 2435,
"end": 2436,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2436,
"end": 2437,
"loc": {
"start": {
"line": 84,
"column": 36
},
"end": {
"line": 84,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2437,
"end": 2438,
"loc": {
"start": {
"line": 84,
"column": 37
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2447,
"end": 2448,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 85,
"column": 9
},
"end": {
"line": 85,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 85,
"column": 10
},
"end": {
"line": 85,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2459,
"end": 2463,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMouseup",
"start": 2464,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 13
},
"end": {
"line": 86,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2475,
"end": 2476,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2477,
"end": 2483,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2483,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2484,
"end": 2489,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2489,
"end": 2490,
"loc": {
"start": {
"line": 86,
"column": 38
},
"end": {
"line": 86,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2490,
"end": 2495,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2495,
"end": 2496,
"loc": {
"start": {
"line": 86,
"column": 44
},
"end": {
"line": 86,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2496,
"end": 2498,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 86,
"column": 47
},
"end": {
"line": 86,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mouseup",
"start": 2499,
"end": 2508,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 86,
"column": 57
},
"end": {
"line": 86,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2510,
"end": 2511,
"loc": {
"start": {
"line": 86,
"column": 59
},
"end": {
"line": 86,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2511,
"end": 2517,
"loc": {
"start": {
"line": 86,
"column": 60
},
"end": {
"line": 86,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2517,
"end": 2518,
"loc": {
"start": {
"line": 86,
"column": 66
},
"end": {
"line": 86,
"column": 67
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2519,
"end": 2521,
"loc": {
"start": {
"line": 86,
"column": 68
},
"end": {
"line": 86,
"column": 70
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 86,
"column": 71
},
"end": {
"line": 86,
"column": 72
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2536,
"end": 2538,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2539,
"end": 2540,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2540,
"end": 2541,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"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": 2541,
"end": 2545,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2545,
"end": 2546,
"loc": {
"start": {
"line": 87,
"column": 21
},
"end": {
"line": 87,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 2546,
"end": 2555,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2555,
"end": 2556,
"loc": {
"start": {
"line": 87,
"column": 31
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2556,
"end": 2557,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2558,
"end": 2560,
"loc": {
"start": {
"line": 87,
"column": 34
},
"end": {
"line": 87,
"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": 2561,
"end": 2562,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"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": 2562,
"end": 2566,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2566,
"end": 2567,
"loc": {
"start": {
"line": 87,
"column": 42
},
"end": {
"line": 87,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2567,
"end": 2577,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2577,
"end": 2578,
"loc": {
"start": {
"line": 87,
"column": 53
},
"end": {
"line": 87,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2578,
"end": 2579,
"loc": {
"start": {
"line": 87,
"column": 54
},
"end": {
"line": 87,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2579,
"end": 2580,
"loc": {
"start": {
"line": 87,
"column": 55
},
"end": {
"line": 87,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2581,
"end": 2582,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 87,
"column": 58
}
}
},
{
"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": 2599,
"end": 2605,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2605,
"end": 2606,
"loc": {
"start": {
"line": 88,
"column": 22
},
"end": {
"line": 88,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2619,
"end": 2620,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"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": 2633,
"end": 2635,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2636,
"end": 2637,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2637,
"end": 2643,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2643,
"end": 2644,
"loc": {
"start": {
"line": 90,
"column": 22
},
"end": {
"line": 90,
"column": 23
}
}
},
{
"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": 90,
"column": 24
},
"end": {
"line": 90,
"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": 2663,
"end": 2665,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2666,
"end": 2667,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2667,
"end": 2668,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "closeEnough",
"start": 2668,
"end": 2679,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2680,
"end": 2690,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 91,
"column": 43
},
"end": {
"line": 91,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2692,
"end": 2698,
"loc": {
"start": {
"line": 91,
"column": 45
},
"end": {
"line": 91,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 51
},
"end": {
"line": 91,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 91,
"column": 52
},
"end": {
"line": 91,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2701,
"end": 2702,
"loc": {
"start": {
"line": 91,
"column": 54
},
"end": {
"line": 91,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2723,
"end": 2729,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2730,
"end": 2731,
"loc": {
"start": {
"line": 92,
"column": 27
},
"end": {
"line": 92,
"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": 2732,
"end": 2736,
"loc": {
"start": {
"line": 92,
"column": 29
},
"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": 2736,
"end": 2737,
"loc": {
"start": {
"line": 92,
"column": 33
},
"end": {
"line": 92,
"column": 34
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2758,
"end": 2764,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2764,
"end": 2765,
"loc": {
"start": {
"line": 93,
"column": 26
},
"end": {
"line": 93,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2782,
"end": 2783,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"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": 2800,
"end": 2804,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 95,
"column": 20
},
"end": {
"line": 95,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 2805,
"end": 2809,
"loc": {
"start": {
"line": 95,
"column": 21
},
"end": {
"line": 95,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2809,
"end": 2810,
"loc": {
"start": {
"line": 95,
"column": 25
},
"end": {
"line": 95,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "queryPicked",
"start": 2810,
"end": 2823,
"loc": {
"start": {
"line": 95,
"column": 26
},
"end": {
"line": 95,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2823,
"end": 2824,
"loc": {
"start": {
"line": 95,
"column": 39
},
"end": {
"line": 95,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2825,
"end": 2831,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2831,
"end": 2832,
"loc": {
"start": {
"line": 95,
"column": 47
},
"end": {
"line": 95,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2832,
"end": 2834,
"loc": {
"start": {
"line": 95,
"column": 48
},
"end": {
"line": 95,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2834,
"end": 2835,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 95,
"column": 51
},
"end": {
"line": 95,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2853,
"end": 2859,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2860,
"end": 2861,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 24
}
}
},
{
"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": 2862,
"end": 2866,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2866,
"end": 2867,
"loc": {
"start": {
"line": 96,
"column": 29
},
"end": {
"line": 96,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2880,
"end": 2881,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"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": 2882,
"end": 2886,
"loc": {
"start": {
"line": 97,
"column": 14
},
"end": {
"line": 97,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2887,
"end": 2888,
"loc": {
"start": {
"line": 97,
"column": 19
},
"end": {
"line": 97,
"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": 2905,
"end": 2909,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2909,
"end": 2910,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 2910,
"end": 2914,
"loc": {
"start": {
"line": 98,
"column": 21
},
"end": {
"line": 98,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2914,
"end": 2915,
"loc": {
"start": {
"line": 98,
"column": 25
},
"end": {
"line": 98,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "queryNotPicked",
"start": 2915,
"end": 2931,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2931,
"end": 2932,
"loc": {
"start": {
"line": 98,
"column": 42
},
"end": {
"line": 98,
"column": 43
}
}
},
{
"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": 2933,
"end": 2938,
"loc": {
"start": {
"line": 98,
"column": 44
},
"end": {
"line": 98,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2938,
"end": 2939,
"loc": {
"start": {
"line": 98,
"column": 49
},
"end": {
"line": 98,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2939,
"end": 2940,
"loc": {
"start": {
"line": 98,
"column": 50
},
"end": {
"line": 98,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2953,
"end": 2954,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2963,
"end": 2964,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2964,
"end": 2965,
"loc": {
"start": {
"line": 100,
"column": 9
},
"end": {
"line": 100,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2965,
"end": 2966,
"loc": {
"start": {
"line": 100,
"column": 10
},
"end": {
"line": 100,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2971,
"end": 2972,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 101,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2973,
"end": 2974,
"loc": {
"start": {
"line": 102,
"column": 0
},
"end": {
"line": 102,
"column": 1
}
}
},
{
"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": 2976,
"end": 2982,
"loc": {
"start": {
"line": 104,
"column": 0
},
"end": {
"line": 104,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2983,
"end": 2984,
"loc": {
"start": {
"line": 104,
"column": 7
},
"end": {
"line": 104,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "QueryMode",
"start": 2984,
"end": 2993,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2993,
"end": 2994,
"loc": {
"start": {
"line": 104,
"column": 17
},
"end": {
"line": 104,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2994,
"end": 2995,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 19
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2995,
"end": 2995,
"loc": {
"start": {
"line": 104,
"column": 19
},
"end": {
"line": 104,
"column": 19
}
}
}
]
}