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

15680 lines
532 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1771,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 59,
"column": 18
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1771,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 59,
"column": 18
}
},
"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"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 62,
"end": 1751,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 57,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 76,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "HideTool"
},
"name": "HideTool",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 85,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 33
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 96,
"end": 1751,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 57,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 103,
"end": 1749,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 103,
"end": 114,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 115,
"end": 121,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 123,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 128,
"end": 1749,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 56,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 139,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 139,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 139,
"end": 144,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 145,
"end": 151,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 153,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 168,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 172,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 173,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 192,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 206,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 264,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 270,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 286,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 314,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 314,
"end": 538,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 314,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 333,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 346,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 360,
"end": 527,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 364,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 374,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 392,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 392,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 392,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 392,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 452,
"end": 527,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 470,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 470,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 470,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 470,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 549,
"end": 1342,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 42,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 549,
"end": 1341,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 549,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 567,
"end": 1340,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 42,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 579,
"end": 1340,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 593,
"end": 1330,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 605,
"end": 1005,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 34,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 623,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 623,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 623,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 623,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 623,
"end": 636,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 637,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 678,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 66
}
},
"expression": {
"type": "AssignmentExpression",
"start": 678,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 65
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 678,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 678,
"end": 703,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 678,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 683,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 27
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 690,
"end": 703,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 41
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 704,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 57
},
"identifierName": "doublePickFlyTo"
},
"name": "doublePickFlyTo"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 722,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 65
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 745,
"end": 991,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 33,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 745,
"end": 990,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 33,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 745,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 745,
"end": 749,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 750,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 28
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 760,
"end": 990,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 33,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 760,
"end": 788,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 760,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 760,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 760,
"end": 764,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 765,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 772,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 43
},
"end": {
"line": 28,
"column": 56
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 786,
"end": 788,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 28,
"column": 59
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 789,
"end": 797,
"loc": {
"start": {
"line": 28,
"column": 60
},
"end": {
"line": 28,
"column": 68
}
},
"extra": {
"rawValue": "picked",
"raw": "\"picked\""
},
"value": "picked"
},
{
"type": "ArrowFunctionExpression",
"start": 799,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 33,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 800,
"end": 810,
"loc": {
"start": {
"line": 28,
"column": 71
},
"end": {
"line": 28,
"column": 81
},
"identifierName": "pickResult"
},
"name": "pickResult"
}
],
"body": {
"type": "BlockStatement",
"start": 815,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 86
},
"end": {
"line": 33,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 837,
"end": 916,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 31,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 841,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 842,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 842,
"end": 852,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 35
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 853,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 861,
"end": 916,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 31,
"column": 21
}
},
"body": [
{
"type": "ReturnStatement",
"start": 887,
"end": 894,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 31
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 937,
"end": 971,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 937,
"end": 970,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 937,
"end": 962,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 937,
"end": 954,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 937,
"end": 947,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 30
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 948,
"end": 954,
"loc": {
"start": {
"line": 32,
"column": 31
},
"end": {
"line": 32,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 955,
"end": 962,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 45
},
"identifierName": "visible"
},
"name": "visible"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 965,
"end": 970,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 53
}
},
"value": false
}
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1011,
"end": 1330,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1029,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1029,
"end": 1069,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1029,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1029,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1029,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1043,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1060,
"end": 1068,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1087,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 66
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1087,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 65
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1087,
"end": 1128,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1087,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1087,
"end": 1098,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1087,
"end": 1091,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1092,
"end": 1098,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1099,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 41
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1113,
"end": 1128,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 57
},
"identifierName": "doublePickFlyTo"
},
"name": "doublePickFlyTo"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1131,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 60
},
"end": {
"line": 36,
"column": 65
}
},
"value": false
}
}
},
{
"type": "IfStatement",
"start": 1154,
"end": 1316,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 1158,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 1158,
"end": 1170,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 46
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1186,
"end": 1316,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 40,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1208,
"end": 1252,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 1208,
"end": 1251,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 1208,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1208,
"end": 1233,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1208,
"end": 1219,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1213,
"end": 1219,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 31
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1220,
"end": 1233,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 45
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1234,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 49
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1238,
"end": 1250,
"loc": {
"start": {
"line": 38,
"column": 50
},
"end": {
"line": 38,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 38,
"column": 50
},
"end": {
"line": 38,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 1243,
"end": 1250,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 62
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1273,
"end": 1298,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1273,
"end": 1297,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1273,
"end": 1285,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1273,
"end": 1277,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1278,
"end": 1285,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1288,
"end": 1297,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 44
},
"identifierName": "undefined"
},
"name": "undefined"
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1352,
"end": 1652,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 51,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1352,
"end": 1651,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 51,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1352,
"end": 1382,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1352,
"end": 1365,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1366,
"end": 1382,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1383,
"end": 1390,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1392,
"end": 1650,
"loc": {
"start": {
"line": 44,
"column": 48
},
"end": {
"line": 51,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1393,
"end": 1398,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1403,
"end": 1650,
"loc": {
"start": {
"line": 44,
"column": 59
},
"end": {
"line": 51,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1417,
"end": 1604,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1421,
"end": 1438,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1421,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1421,
"end": 1425,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1426,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1440,
"end": 1604,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1458,
"end": 1500,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1458,
"end": 1499,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1458,
"end": 1497,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1458,
"end": 1485,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1458,
"end": 1472,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1463,
"end": 1472,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1473,
"end": 1485,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 43
},
"identifierName": "_sectionTool"
},
"name": "_sectionTool"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1486,
"end": 1497,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 55
},
"identifierName": "hideControl"
},
"name": "hideControl"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 1517,
"end": 1549,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1523,
"end": 1548,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1523,
"end": 1529,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 28
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1532,
"end": 1548,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1532,
"end": 1546,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1537,
"end": 1546,
"loc": {
"start": {
"line": 47,
"column": 36
},
"end": {
"line": 47,
"column": 45
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1566,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1566,
"end": 1589,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1566,
"end": 1580,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1566,
"end": 1570,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1571,
"end": 1580,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1581,
"end": 1588,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 38
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1582,
"end": 1588,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 38
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1617,
"end": 1640,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1617,
"end": 1639,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1617,
"end": 1637,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1617,
"end": 1622,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1623,
"end": 1637,
"loc": {
"start": {
"line": 50,
"column": 18
},
"end": {
"line": 50,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1662,
"end": 1743,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 55,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1662,
"end": 1742,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 55,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1662,
"end": 1679,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1676,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1667,
"end": 1676,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1677,
"end": 1679,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1680,
"end": 1687,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1689,
"end": 1741,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 55,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1695,
"end": 1741,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 55,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1709,
"end": 1731,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1709,
"end": 1730,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1709,
"end": 1723,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1714,
"end": 1723,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1724,
"end": 1729,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 1753,
"end": 1771,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
"line": 59,
"column": 18
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 1761,
"end": 1769,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 1761,
"end": 1769,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 16
},
"identifierName": "HideTool"
},
"name": "HideTool"
},
"exported": {
"type": "Identifier",
"start": 1761,
"end": 1769,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 16
},
"identifierName": "HideTool"
},
"name": "HideTool"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 1753,
"end": 1771,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
"line": 59,
"column": 18
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 62,
"end": 1751,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 57,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 76,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "HideTool"
},
"name": "HideTool",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 85,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 33
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 96,
"end": 1751,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 57,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 103,
"end": 1749,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 103,
"end": 114,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 115,
"end": 121,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 123,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 128,
"end": 1749,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 56,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 139,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 139,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 139,
"end": 144,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 145,
"end": 151,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 153,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 168,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 172,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 173,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 192,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 206,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 264,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 270,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 286,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 314,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 314,
"end": 538,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 314,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 333,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 346,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 360,
"end": 527,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 364,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 374,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 392,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 392,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 392,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 392,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 452,
"end": 527,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 470,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 470,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 470,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 470,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 549,
"end": 1342,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 42,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 549,
"end": 1341,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 549,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 567,
"end": 1340,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 42,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 579,
"end": 1340,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 593,
"end": 1330,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 605,
"end": 1005,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 34,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 623,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 623,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 623,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 623,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 623,
"end": 636,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 637,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 678,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 66
}
},
"expression": {
"type": "AssignmentExpression",
"start": 678,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 65
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 678,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 678,
"end": 703,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 678,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 683,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 27
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 690,
"end": 703,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 41
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 704,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 57
},
"identifierName": "doublePickFlyTo"
},
"name": "doublePickFlyTo"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 722,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 65
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 745,
"end": 991,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 33,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 745,
"end": 990,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 33,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 745,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 745,
"end": 749,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 750,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 28
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 760,
"end": 990,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 33,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 760,
"end": 788,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 760,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 760,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 760,
"end": 764,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 765,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 772,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 43
},
"end": {
"line": 28,
"column": 56
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 786,
"end": 788,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 28,
"column": 59
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 789,
"end": 797,
"loc": {
"start": {
"line": 28,
"column": 60
},
"end": {
"line": 28,
"column": 68
}
},
"extra": {
"rawValue": "picked",
"raw": "\"picked\""
},
"value": "picked"
},
{
"type": "ArrowFunctionExpression",
"start": 799,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 33,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 800,
"end": 810,
"loc": {
"start": {
"line": 28,
"column": 71
},
"end": {
"line": 28,
"column": 81
},
"identifierName": "pickResult"
},
"name": "pickResult"
}
],
"body": {
"type": "BlockStatement",
"start": 815,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 86
},
"end": {
"line": 33,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 837,
"end": 916,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 31,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 841,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 842,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 842,
"end": 852,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 35
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 853,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 42
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 861,
"end": 916,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 31,
"column": 21
}
},
"body": [
{
"type": "ReturnStatement",
"start": 887,
"end": 894,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 31
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 937,
"end": 971,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 937,
"end": 970,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 937,
"end": 962,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 937,
"end": 954,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 937,
"end": 947,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 30
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 948,
"end": 954,
"loc": {
"start": {
"line": 32,
"column": 31
},
"end": {
"line": 32,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 955,
"end": 962,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 45
},
"identifierName": "visible"
},
"name": "visible"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 965,
"end": 970,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 53
}
},
"value": false
}
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1011,
"end": 1330,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1029,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 1029,
"end": 1069,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1029,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1029,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1029,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1043,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1060,
"end": 1068,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1087,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 66
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1087,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 65
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1087,
"end": 1128,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1087,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1087,
"end": 1098,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1087,
"end": 1091,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1092,
"end": 1098,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1099,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 41
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1113,
"end": 1128,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 57
},
"identifierName": "doublePickFlyTo"
},
"name": "doublePickFlyTo"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1131,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 60
},
"end": {
"line": 36,
"column": 65
}
},
"value": false
}
}
},
{
"type": "IfStatement",
"start": 1154,
"end": 1316,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 1158,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 1158,
"end": 1170,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 46
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1186,
"end": 1316,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 40,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1208,
"end": 1252,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 1208,
"end": 1251,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 1208,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1208,
"end": 1233,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1208,
"end": 1219,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1213,
"end": 1219,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 31
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1220,
"end": 1233,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 45
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1234,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 49
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1238,
"end": 1250,
"loc": {
"start": {
"line": 38,
"column": 50
},
"end": {
"line": 38,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 38,
"column": 50
},
"end": {
"line": 38,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 1243,
"end": 1250,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 62
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1273,
"end": 1298,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1273,
"end": 1297,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1273,
"end": 1285,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1273,
"end": 1277,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1278,
"end": 1285,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1288,
"end": 1297,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 44
},
"identifierName": "undefined"
},
"name": "undefined"
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1352,
"end": 1652,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 51,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1352,
"end": 1651,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 51,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1352,
"end": 1382,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1352,
"end": 1365,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1366,
"end": 1382,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1383,
"end": 1390,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1392,
"end": 1650,
"loc": {
"start": {
"line": 44,
"column": 48
},
"end": {
"line": 51,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1393,
"end": 1398,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1403,
"end": 1650,
"loc": {
"start": {
"line": 44,
"column": 59
},
"end": {
"line": 51,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1417,
"end": 1604,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1421,
"end": 1438,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1421,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1421,
"end": 1425,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1426,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1440,
"end": 1604,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1458,
"end": 1500,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1458,
"end": 1499,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1458,
"end": 1497,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1458,
"end": 1485,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1458,
"end": 1472,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1463,
"end": 1472,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1473,
"end": 1485,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 43
},
"identifierName": "_sectionTool"
},
"name": "_sectionTool"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1486,
"end": 1497,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 55
},
"identifierName": "hideControl"
},
"name": "hideControl"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 1517,
"end": 1549,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1523,
"end": 1548,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1523,
"end": 1529,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 28
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1532,
"end": 1548,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1532,
"end": 1546,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1537,
"end": 1546,
"loc": {
"start": {
"line": 47,
"column": 36
},
"end": {
"line": 47,
"column": 45
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1566,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1566,
"end": 1589,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1566,
"end": 1580,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1566,
"end": 1570,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1571,
"end": 1580,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1581,
"end": 1588,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 38
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1582,
"end": 1588,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 38
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1617,
"end": 1640,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1617,
"end": 1639,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1617,
"end": 1637,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1617,
"end": 1622,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1623,
"end": 1637,
"loc": {
"start": {
"line": 50,
"column": 18
},
"end": {
"line": 50,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1662,
"end": 1743,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 55,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1662,
"end": 1742,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 55,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1662,
"end": 1679,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1662,
"end": 1676,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1667,
"end": 1676,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1677,
"end": 1679,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1680,
"end": 1687,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1689,
"end": 1741,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 55,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1695,
"end": 1741,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 55,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1709,
"end": 1731,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1709,
"end": 1730,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1709,
"end": 1723,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1714,
"end": 1723,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1724,
"end": 1729,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"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": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"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": 62,
"end": 67,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HideTool",
"start": 68,
"end": 76,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"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": 77,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 85,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 96,
"end": 97,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 4,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 103,
"end": 114,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 115,
"end": 121,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 121,
"end": 122,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 123,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 126,
"end": 127,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 128,
"end": 129,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"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": 139,
"end": 144,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"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": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 145,
"end": 151,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 151,
"end": 152,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 153,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 156,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 168,
"end": 170,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 171,
"end": 172,
"loc": {
"start": {
"line": 10,
"column": 11
},
"end": {
"line": 10,
"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": 172,
"end": 173,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 190,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 31
}
}
},
{
"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": 10,
"column": 32
},
"end": {
"line": 10,
"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": 206,
"end": 211,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"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": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 49
},
"end": {
"line": 11,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 253,
"end": 254,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"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": 264,
"end": 269,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 14,
"column": 28
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 289,
"end": 290,
"loc": {
"start": {
"line": 14,
"column": 33
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 303,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 14,
"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": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 318,
"end": 319,
"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": "on",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"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": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
}
},
{
"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": 16,
"column": 25
},
"end": {
"line": 16,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 16,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 343,
"end": 345,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"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": 360,
"end": 362,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 363,
"end": 364,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"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": 364,
"end": 365,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 374,
"end": 375,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 405,
"end": 406,
"loc": {
"start": {
"line": 18,
"column": 29
},
"end": {
"line": 18,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"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": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 54
},
"end": {
"line": 18,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 55
},
"end": {
"line": 18,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"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": 447,
"end": 451,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 483,
"end": 484,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 20,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"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": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 511,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 57
},
"end": {
"line": 20,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 512,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 58
},
"end": {
"line": 20,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 22,
"column": 10
},
"end": {
"line": 22,
"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": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 553,
"end": 554,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 556,
"end": 557,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"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": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 565,
"end": 566,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 574,
"end": 575,
"loc": {
"start": {
"line": 24,
"column": 33
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 576,
"end": 578,
"loc": {
"start": {
"line": 24,
"column": 35
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"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": 24,
"column": 38
},
"end": {
"line": 24,
"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": 593,
"end": 595,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 596,
"end": 597,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 603,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 623,
"end": 636,
"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": 636,
"end": 637,
"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": 637,
"end": 646,
"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": 646,
"end": 647,
"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": "add",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 26,
"column": 43
},
"end": {
"line": 26,
"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": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 52
},
"end": {
"line": 26,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 53
},
"end": {
"line": 26,
"column": 54
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 682,
"end": 683,
"loc": {
"start": {
"line": 27,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 683,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 690,
"end": 703,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doublePickFlyTo",
"start": 704,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 57
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 58
},
"end": {
"line": 27,
"column": 59
}
}
},
{
"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": 722,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 27,
"column": 65
},
"end": {
"line": 27,
"column": 66
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 745,
"end": 749,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 750,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 758,
"end": 759,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 760,
"end": 764,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 764,
"end": 765,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 765,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 772,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 43
},
"end": {
"line": 28,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 785,
"end": 786,
"loc": {
"start": {
"line": 28,
"column": 56
},
"end": {
"line": 28,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 786,
"end": 788,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 28,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 28,
"column": 59
},
"end": {
"line": 28,
"column": 60
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "picked",
"start": 789,
"end": 797,
"loc": {
"start": {
"line": 28,
"column": 60
},
"end": {
"line": 28,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 797,
"end": 798,
"loc": {
"start": {
"line": 28,
"column": 68
},
"end": {
"line": 28,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 799,
"end": 800,
"loc": {
"start": {
"line": 28,
"column": 70
},
"end": {
"line": 28,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 800,
"end": 810,
"loc": {
"start": {
"line": 28,
"column": 71
},
"end": {
"line": 28,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 28,
"column": 81
},
"end": {
"line": 28,
"column": 82
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 812,
"end": 814,
"loc": {
"start": {
"line": 28,
"column": 83
},
"end": {
"line": 28,
"column": 85
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 815,
"end": 816,
"loc": {
"start": {
"line": 28,
"column": 86
},
"end": {
"line": 28,
"column": 87
}
}
},
{
"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": 837,
"end": 839,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 29,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 29,
"column": 23
},
"end": {
"line": 29,
"column": 24
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 842,
"end": 852,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 852,
"end": 853,
"loc": {
"start": {
"line": 29,
"column": 35
},
"end": {
"line": 29,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 853,
"end": 859,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 29,
"column": 42
},
"end": {
"line": 29,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 887,
"end": 893,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 893,
"end": 894,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 915,
"end": 916,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 937,
"end": 947,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 948,
"end": 954,
"loc": {
"start": {
"line": 32,
"column": 31
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 954,
"end": 955,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 955,
"end": 962,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 45
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 963,
"end": 964,
"loc": {
"start": {
"line": 32,
"column": 46
},
"end": {
"line": 32,
"column": 47
}
}
},
{
"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": 965,
"end": 970,
"loc": {
"start": {
"line": 32,
"column": 48
},
"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": 970,
"end": 971,
"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": 988,
"end": 989,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 990,
"end": 991,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1004,
"end": 1005,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"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": 1006,
"end": 1010,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"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": 34,
"column": 19
},
"end": {
"line": 34,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1029,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1042,
"end": 1043,
"loc": {
"start": {
"line": 35,
"column": 29
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1043,
"end": 1052,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1052,
"end": 1053,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1059,
"end": 1060,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"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": 1060,
"end": 1068,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
}
},
{
"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": 35,
"column": 55
},
"end": {
"line": 35,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 56
},
"end": {
"line": 35,
"column": 57
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1087,
"end": 1091,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1091,
"end": 1092,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1092,
"end": 1098,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1099,
"end": 1112,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doublePickFlyTo",
"start": 1113,
"end": 1128,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 57
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 36,
"column": 58
},
"end": {
"line": 36,
"column": 59
}
}
},
{
"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": 1131,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 60
},
"end": {
"line": 36,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1136,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 65
},
"end": {
"line": 36,
"column": 66
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1154,
"end": 1156,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 37,
"column": 19
},
"end": {
"line": 37,
"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": 1158,
"end": 1162,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1171,
"end": 1174,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 37,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1184,
"end": 1185,
"loc": {
"start": {
"line": 37,
"column": 46
},
"end": {
"line": 37,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1213,
"end": 1219,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1219,
"end": 1220,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1220,
"end": 1233,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1233,
"end": 1234,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 1234,
"end": 1237,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 50
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 38,
"column": 50
},
"end": {
"line": 38,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1242,
"end": 1243,
"loc": {
"start": {
"line": 38,
"column": 54
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1243,
"end": 1250,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 38,
"column": 62
},
"end": {
"line": 38,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 38,
"column": 63
},
"end": {
"line": 38,
"column": 64
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1273,
"end": 1277,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1278,
"end": 1285,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 1288,
"end": 1297,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 39,
"column": 44
},
"end": {
"line": 39,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1315,
"end": 1316,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1340,
"end": 1341,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1341,
"end": 1342,
"loc": {
"start": {
"line": 42,
"column": 10
},
"end": {
"line": 42,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1352,
"end": 1365,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1365,
"end": 1366,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 1366,
"end": 1382,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1382,
"end": 1383,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 44,
"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": 1383,
"end": 1390,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 44,
"column": 46
},
"end": {
"line": 44,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1392,
"end": 1393,
"loc": {
"start": {
"line": 44,
"column": 48
},
"end": {
"line": 44,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1393,
"end": 1398,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1398,
"end": 1399,
"loc": {
"start": {
"line": 44,
"column": 54
},
"end": {
"line": 44,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1400,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 56
},
"end": {
"line": 44,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1403,
"end": 1404,
"loc": {
"start": {
"line": 44,
"column": 59
},
"end": {
"line": 44,
"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": 1417,
"end": 1419,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1420,
"end": 1421,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1421,
"end": 1425,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1425,
"end": 1426,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1426,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1436,
"end": 1437,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1437,
"end": 1438,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1438,
"end": 1439,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"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": 46,
"column": 20
},
"end": {
"line": 46,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 1463,
"end": 1472,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1472,
"end": 1473,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_sectionTool",
"start": 1473,
"end": 1485,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1485,
"end": 1486,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hideControl",
"start": 1486,
"end": 1497,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 46,
"column": 55
},
"end": {
"line": 46,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 46,
"column": 56
},
"end": {
"line": 46,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1499,
"end": 1500,
"loc": {
"start": {
"line": 46,
"column": 57
},
"end": {
"line": 46,
"column": 58
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1517,
"end": 1522,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1523,
"end": 1529,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1536,
"end": 1537,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1537,
"end": 1546,
"loc": {
"start": {
"line": 47,
"column": 36
},
"end": {
"line": 47,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1546,
"end": 1547,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1547,
"end": 1548,
"loc": {
"start": {
"line": 47,
"column": 46
},
"end": {
"line": 47,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1548,
"end": 1549,
"loc": {
"start": {
"line": 47,
"column": 47
},
"end": {
"line": 47,
"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": 1566,
"end": 1570,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1571,
"end": 1580,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1580,
"end": 1581,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 31
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1582,
"end": 1588,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 48,
"column": 38
},
"end": {
"line": 48,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 48,
"column": 39
},
"end": {
"line": 48,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1603,
"end": 1604,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1617,
"end": 1622,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1622,
"end": 1623,
"loc": {
"start": {
"line": 50,
"column": 17
},
"end": {
"line": 50,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1623,
"end": 1637,
"loc": {
"start": {
"line": 50,
"column": 18
},
"end": {
"line": 50,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1637,
"end": 1638,
"loc": {
"start": {
"line": 50,
"column": 32
},
"end": {
"line": 50,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1638,
"end": 1639,
"loc": {
"start": {
"line": 50,
"column": 33
},
"end": {
"line": 50,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1639,
"end": 1640,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1649,
"end": 1650,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 51,
"column": 9
},
"end": {
"line": 51,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1651,
"end": 1652,
"loc": {
"start": {
"line": 51,
"column": 10
},
"end": {
"line": 51,
"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": 1662,
"end": 1666,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 1667,
"end": 1676,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1676,
"end": 1677,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1677,
"end": 1679,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1679,
"end": 1680,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "reset",
"start": 1680,
"end": 1687,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1687,
"end": 1688,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1689,
"end": 1690,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1690,
"end": 1691,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 37
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1692,
"end": 1694,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1695,
"end": 1696,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1713,
"end": 1714,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1714,
"end": 1723,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1723,
"end": 1724,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"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": 1724,
"end": 1729,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1729,
"end": 1730,
"loc": {
"start": {
"line": 54,
"column": 32
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1740,
"end": 1741,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1741,
"end": 1742,
"loc": {
"start": {
"line": 55,
"column": 9
},
"end": {
"line": 55,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 55,
"column": 10
},
"end": {
"line": 55,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1748,
"end": 1749,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1750,
"end": 1751,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"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": 1753,
"end": 1759,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
"line": 59,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 59,
"column": 7
},
"end": {
"line": 59,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HideTool",
"start": 1761,
"end": 1769,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1769,
"end": 1770,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1770,
"end": 1771,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1771,
"end": 1771,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 18
}
}
}
]
}